From f3c560122a8ef25f3391207205c7e55c897fd27f Mon Sep 17 00:00:00 2001 From: Josh Haberman Date: Sat, 13 Apr 2019 14:05:57 -0700 Subject: upb_proto_library() works for local project! Doesn't work for remote projects yet though. --- tests/json/enum_from_separate_file.proto | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/json/enum_from_separate_file.proto (limited to 'tests/json/enum_from_separate_file.proto') diff --git a/tests/json/enum_from_separate_file.proto b/tests/json/enum_from_separate_file.proto new file mode 100644 index 0000000..ceb9b42 --- /dev/null +++ b/tests/json/enum_from_separate_file.proto @@ -0,0 +1,9 @@ +syntax = "proto2"; + +import "tests/json/test.proto"; + +package upb.test.json; + +message ImportEnum { + optional MyEnum e = 1; +} -- cgit v1.2.3