Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(837)

Side by Side Diff: Makefile

Issue 131943002: Handle protocol buffer messages with no package (Closed) Base URL: https://github.com/dart-lang/dart-protoc-plugin.git@master
Patch Set: Fix bug and updte version Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | lib/file_generator.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 PLUGIN_SRC = \ 1 PLUGIN_SRC = \
2 prepend.dart \ 2 prepend.dart \
3 bin/protoc_plugin.dart \ 3 bin/protoc_plugin.dart \
4 lib/code_generator.dart \ 4 lib/code_generator.dart \
5 lib/enum_generator.dart \ 5 lib/enum_generator.dart \
6 lib/exceptions.dart \ 6 lib/exceptions.dart \
7 lib/extension_generator.dart \ 7 lib/extension_generator.dart \
8 lib/file_generator.dart \ 8 lib/file_generator.dart \
9 lib/indenting_writer.dart \ 9 lib/indenting_writer.dart \
10 lib/message_generator.dart \ 10 lib/message_generator.dart \
(...skipping 11 matching lines...) Expand all
22 google/protobuf/unittest_import \ 22 google/protobuf/unittest_import \
23 google/protobuf/unittest_optimi ze_for \ 23 google/protobuf/unittest_optimi ze_for \
24 google/protobuf/unittest \ 24 google/protobuf/unittest \
25 multiple_files_test \ 25 multiple_files_test \
26 nested_extension \ 26 nested_extension \
27 non_nested_extension \ 27 non_nested_extension \
28 reserved_names \ 28 reserved_names \
29 duplicate_names_import \ 29 duplicate_names_import \
30 package1 \ 30 package1 \
31 package2 \ 31 package2 \
32 » » » » » » package3 32 » » » » » » package3 \
33 » » » » » » toplevel_import \
34 » » » » » » toplevel
33 TEST_PROTO_DIR=$(OUTPUT_DIR)/protos 35 TEST_PROTO_DIR=$(OUTPUT_DIR)/protos
34 TEST_PROTO_LIBS=$(foreach proto, $(TEST_PROTO_LIST), $(TEST_PROTO_DIR)/$(proto). pb.dart) 36 TEST_PROTO_LIBS=$(foreach proto, $(TEST_PROTO_LIST), $(TEST_PROTO_DIR)/$(proto). pb.dart)
35 TEST_PROTO_SRC_DIR=test/protos 37 TEST_PROTO_SRC_DIR=test/protos
36 TEST_PROTO_SRCS=$(foreach proto, $(TEST_PROTO_LIST), $(TEST_PROTO_SRC_DIR)/$(pro to).proto) 38 TEST_PROTO_SRCS=$(foreach proto, $(TEST_PROTO_LIST), $(TEST_PROTO_SRC_DIR)/$(pro to).proto)
37 39
38 PREGENERATED_SRCS=lib/descriptor.proto lib/plugin.proto 40 PREGENERATED_SRCS=lib/descriptor.proto lib/plugin.proto
39 41
40 42
41 $(PLUGIN_PATH): $(PLUGIN_SRC) 43 $(PLUGIN_PATH): $(PLUGIN_SRC)
42 [ -d $(OUTPUT_DIR) ] || mkdir $(OUTPUT_DIR) 44 [ -d $(OUTPUT_DIR) ] || mkdir $(OUTPUT_DIR)
(...skipping 17 matching lines...) Expand all
60 update-pregenerated: $(PLUGIN_PATH) $(PREGENERATED_SRCS) 62 update-pregenerated: $(PLUGIN_PATH) $(PREGENERATED_SRCS)
61 protoc --dart_out=lib/src -Ilib --plugin=protoc-gen-dart=$(realpath $(PL UGIN_PATH)) $(PREGENERATED_SRCS) 63 protoc --dart_out=lib/src -Ilib --plugin=protoc-gen-dart=$(realpath $(PL UGIN_PATH)) $(PREGENERATED_SRCS)
62 64
63 build-test-protos: $(TEST_PROTO_LIBS) 65 build-test-protos: $(TEST_PROTO_LIBS)
64 66
65 run-tests: build-test-protos 67 run-tests: build-test-protos
66 dart --checked --package-root=packages/ test/all_tests.dart 68 dart --checked --package-root=packages/ test/all_tests.dart
67 69
68 clean: 70 clean:
69 rm -rf $(OUTPUT_DIR) 71 rm -rf $(OUTPUT_DIR)
OLDNEW
« no previous file with comments | « no previous file | lib/file_generator.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698