OLD | NEW |
1 ## Process this file with automake to produce Makefile.in | 1 ## Process this file with automake to produce Makefile.in |
2 | 2 |
3 conformance_protoc_inputs = \ | 3 conformance_protoc_inputs = \ |
4 conformance.proto | 4 conformance.proto |
5 | 5 |
6 well_known_type_protoc_inputs = \ | 6 well_known_type_protoc_inputs = \ |
7 $(top_srcdir)/src/google/protobuf/any.proto \ | 7 $(top_srcdir)/src/google/protobuf/any.proto \ |
8 $(top_srcdir)/src/google/protobuf/duration.proto \ | 8 $(top_srcdir)/src/google/protobuf/duration.proto \ |
9 $(top_srcdir)/src/google/protobuf/field_mask.proto \ | 9 $(top_srcdir)/src/google/protobuf/field_mask.proto \ |
10 $(top_srcdir)/src/google/protobuf/struct.proto \ | 10 $(top_srcdir)/src/google/protobuf/struct.proto \ |
11 $(top_srcdir)/src/google/protobuf/timestamp.proto \ | 11 $(top_srcdir)/src/google/protobuf/timestamp.proto \ |
12 $(top_srcdir)/src/google/protobuf/wrappers.proto | 12 $(top_srcdir)/src/google/protobuf/wrappers.proto |
13 | 13 |
14 | 14 |
15 protoc_outputs = \ | 15 protoc_outputs = \ |
16 conformance.pb.cc \ | 16 conformance.pb.cc \ |
17 conformance.pb.h | 17 conformance.pb.h |
18 | 18 |
19 other_language_protoc_outputs = \ | 19 other_language_protoc_outputs = \ |
20 conformance_pb2.py \ | 20 conformance_pb2.py \ |
21 Conformance.pbobjc.h \ | 21 Conformance.pbobjc.h \ |
22 Conformance.pbobjc.m \ | 22 Conformance.pbobjc.m \ |
23 conformance.rb \ | 23 conformance_pb.rb \ |
24 com/google/protobuf/Any.java \ | 24 com/google/protobuf/Any.java \ |
25 com/google/protobuf/AnyOrBuilder.java \ | 25 com/google/protobuf/AnyOrBuilder.java \ |
26 com/google/protobuf/AnyProto.java \ | 26 com/google/protobuf/AnyProto.java \ |
27 com/google/protobuf/BoolValue.java \ | 27 com/google/protobuf/BoolValue.java \ |
28 com/google/protobuf/BoolValueOrBuilder.java \ | 28 com/google/protobuf/BoolValueOrBuilder.java \ |
29 com/google/protobuf/BytesValue.java \ | 29 com/google/protobuf/BytesValue.java \ |
30 com/google/protobuf/BytesValueOrBuilder.java \ | 30 com/google/protobuf/BytesValueOrBuilder.java \ |
31 com/google/protobuf/conformance/Conformance.java \ | 31 com/google/protobuf/conformance/Conformance.java \ |
32 com/google/protobuf/DoubleValue.java \ | 32 com/google/protobuf/DoubleValue.java \ |
33 com/google/protobuf/DoubleValueOrBuilder.java \ | 33 com/google/protobuf/DoubleValueOrBuilder.java \ |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 google/protobuf/struct.pb.h \ | 77 google/protobuf/struct.pb.h \ |
78 google/protobuf/struct.rb \ | 78 google/protobuf/struct.rb \ |
79 google/protobuf/struct_pb2.py \ | 79 google/protobuf/struct_pb2.py \ |
80 google/protobuf/timestamp.pb.cc \ | 80 google/protobuf/timestamp.pb.cc \ |
81 google/protobuf/timestamp.pb.h \ | 81 google/protobuf/timestamp.pb.h \ |
82 google/protobuf/timestamp.rb \ | 82 google/protobuf/timestamp.rb \ |
83 google/protobuf/timestamp_pb2.py \ | 83 google/protobuf/timestamp_pb2.py \ |
84 google/protobuf/wrappers.pb.cc \ | 84 google/protobuf/wrappers.pb.cc \ |
85 google/protobuf/wrappers.pb.h \ | 85 google/protobuf/wrappers.pb.h \ |
86 google/protobuf/wrappers.rb \ | 86 google/protobuf/wrappers.rb \ |
87 google/protobuf/wrappers_pb2.py \ | 87 google/protobuf/wrappers_pb2.py |
88 lite/com/google/protobuf/Any.java \ | 88 # lite/com/google/protobuf/Any.java \ |
89 lite/com/google/protobuf/AnyOrBuilder.java \ | 89 # lite/com/google/protobuf/AnyOrBuilder.java \ |
90 lite/com/google/protobuf/AnyProto.java \ | 90 # lite/com/google/protobuf/AnyProto.java \ |
91 lite/com/google/protobuf/BoolValue.java \ | 91 # lite/com/google/protobuf/BoolValue.java \ |
92 lite/com/google/protobuf/BoolValueOrBuilder.java \ | 92 # lite/com/google/protobuf/BoolValueOrBuilder.java \ |
93 lite/com/google/protobuf/BytesValue.java \ | 93 # lite/com/google/protobuf/BytesValue.java \ |
94 lite/com/google/protobuf/BytesValueOrBuilder.java \ | 94 # lite/com/google/protobuf/BytesValueOrBuilder.java \ |
95 lite/com/google/protobuf/conformance/Conformance.java \ | 95 # lite/com/google/protobuf/conformance/Conformance.java \ |
96 lite/com/google/protobuf/DoubleValue.java \ | 96 # lite/com/google/protobuf/DoubleValue.java \ |
97 lite/com/google/protobuf/DoubleValueOrBuilder.java \ | 97 # lite/com/google/protobuf/DoubleValueOrBuilder.java \ |
98 lite/com/google/protobuf/Duration.java \ | 98 # lite/com/google/protobuf/Duration.java \ |
99 lite/com/google/protobuf/DurationOrBuilder.java \ | 99 # lite/com/google/protobuf/DurationOrBuilder.java \ |
100 lite/com/google/protobuf/DurationProto.java \ | 100 # lite/com/google/protobuf/DurationProto.java \ |
101 lite/com/google/protobuf/FieldMask.java \ | 101 # lite/com/google/protobuf/FieldMask.java \ |
102 lite/com/google/protobuf/FieldMaskOrBuilder.java \ | 102 # lite/com/google/protobuf/FieldMaskOrBuilder.java \ |
103 lite/com/google/protobuf/FieldMaskProto.java \ | 103 # lite/com/google/protobuf/FieldMaskProto.java \ |
104 lite/com/google/protobuf/FloatValue.java \ | 104 # lite/com/google/protobuf/FloatValue.java \ |
105 lite/com/google/protobuf/FloatValueOrBuilder.java \ | 105 # lite/com/google/protobuf/FloatValueOrBuilder.java \ |
106 lite/com/google/protobuf/Int32Value.java \ | 106 # lite/com/google/protobuf/Int32Value.java \ |
107 lite/com/google/protobuf/Int32ValueOrBuilder.java \ | 107 # lite/com/google/protobuf/Int32ValueOrBuilder.java \ |
108 lite/com/google/protobuf/Int64Value.java \ | 108 # lite/com/google/protobuf/Int64Value.java \ |
109 lite/com/google/protobuf/Int64ValueOrBuilder.java \ | 109 # lite/com/google/protobuf/Int64ValueOrBuilder.java \ |
110 lite/com/google/protobuf/ListValue.java \ | 110 # lite/com/google/protobuf/ListValue.java \ |
111 lite/com/google/protobuf/ListValueOrBuilder.java \ | 111 # lite/com/google/protobuf/ListValueOrBuilder.java \ |
112 lite/com/google/protobuf/NullValue.java \ | 112 # lite/com/google/protobuf/NullValue.java \ |
113 lite/com/google/protobuf/StringValue.java \ | 113 # lite/com/google/protobuf/StringValue.java \ |
114 lite/com/google/protobuf/StringValueOrBuilder.java \ | 114 # lite/com/google/protobuf/StringValueOrBuilder.java \ |
115 lite/com/google/protobuf/Struct.java \ | 115 # lite/com/google/protobuf/Struct.java \ |
116 lite/com/google/protobuf/StructOrBuilder.java \ | 116 # lite/com/google/protobuf/StructOrBuilder.java \ |
117 lite/com/google/protobuf/StructProto.java \ | 117 # lite/com/google/protobuf/StructProto.java \ |
118 lite/com/google/protobuf/Timestamp.java \ | 118 # lite/com/google/protobuf/Timestamp.java \ |
119 lite/com/google/protobuf/TimestampOrBuilder.java \ | 119 # lite/com/google/protobuf/TimestampOrBuilder.java \ |
120 lite/com/google/protobuf/TimestampProto.java \ | 120 # lite/com/google/protobuf/TimestampProto.java \ |
121 lite/com/google/protobuf/UInt32Value.java \ | 121 # lite/com/google/protobuf/UInt32Value.java \ |
122 lite/com/google/protobuf/UInt32ValueOrBuilder.java \ | 122 # lite/com/google/protobuf/UInt32ValueOrBuilder.java \ |
123 lite/com/google/protobuf/UInt64Value.java \ | 123 # lite/com/google/protobuf/UInt64Value.java \ |
124 lite/com/google/protobuf/UInt64ValueOrBuilder.java \ | 124 # lite/com/google/protobuf/UInt64ValueOrBuilder.java \ |
125 lite/com/google/protobuf/Value.java \ | 125 # lite/com/google/protobuf/Value.java \ |
126 lite/com/google/protobuf/ValueOrBuilder.java \ | 126 # lite/com/google/protobuf/ValueOrBuilder.java \ |
127 lite/com/google/protobuf/WrappersProto.java | 127 # lite/com/google/protobuf/WrappersProto.java |
128 | 128 |
129 bin_PROGRAMS = conformance-test-runner conformance-cpp | 129 bin_PROGRAMS = conformance-test-runner conformance-cpp |
130 | 130 |
131 # All source files excepet C++/Objective-C ones should be explicitly listed | 131 # All source files excepet C++/Objective-C ones should be explicitly listed |
132 # here because the autoconf tools don't include files of other languages | 132 # here because the autoconf tools don't include files of other languages |
133 # automatically. | 133 # automatically. |
134 EXTRA_DIST = \ | 134 EXTRA_DIST = \ |
135 ConformanceJava.java \ | 135 ConformanceJava.java \ |
136 ConformanceJavaLite.java \ | 136 ConformanceJavaLite.java \ |
137 README.md \ | 137 README.md \ |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 conformance_objc-conformance_objc.$(OBJEXT): Conformance.pbobjc.h | 185 conformance_objc-conformance_objc.$(OBJEXT): Conformance.pbobjc.h |
186 | 186 |
187 endif | 187 endif |
188 | 188 |
189 if USE_EXTERNAL_PROTOC | 189 if USE_EXTERNAL_PROTOC |
190 | 190 |
191 # Some implementations include pre-generated versions of well-known types. | 191 # Some implementations include pre-generated versions of well-known types. |
192 protoc_middleman: $(conformance_protoc_inputs) $(well_known_type_protoc_inputs) | 192 protoc_middleman: $(conformance_protoc_inputs) $(well_known_type_protoc_inputs) |
193 $(PROTOC) -I$(srcdir) -I$(top_srcdir) --cpp_out=. --java_out=. --ruby_ou
t=. --objc_out=. --python_out=. $(conformance_protoc_inputs) | 193 $(PROTOC) -I$(srcdir) -I$(top_srcdir) --cpp_out=. --java_out=. --ruby_ou
t=. --objc_out=. --python_out=. $(conformance_protoc_inputs) |
194 $(PROTOC) -I$(srcdir) -I$(top_srcdir) --cpp_out=. --java_out=. --ruby_ou
t=. --python_out=. $(well_known_type_protoc_inputs) | 194 $(PROTOC) -I$(srcdir) -I$(top_srcdir) --cpp_out=. --java_out=. --ruby_ou
t=. --python_out=. $(well_known_type_protoc_inputs) |
195 » $(PROTOC) -I$(srcdir) -I$(top_srcdir) --java_out=lite:lite $(conformance
_protoc_inputs) $(well_known_type_protoc_inputs) | 195 » ## $(PROTOC) -I$(srcdir) -I$(top_srcdir) --java_out=lite:lite $(conforma
nce_protoc_inputs) $(well_known_type_protoc_inputs) |
196 touch protoc_middleman | 196 touch protoc_middleman |
197 | 197 |
198 else | 198 else |
199 | 199 |
200 # We have to cd to $(srcdir) before executing protoc because $(protoc_inputs) is | 200 # We have to cd to $(srcdir) before executing protoc because $(protoc_inputs) is |
201 # relative to srcdir, which may not be the same as the current directory when | 201 # relative to srcdir, which may not be the same as the current directory when |
202 # building out-of-tree. | 202 # building out-of-tree. |
203 protoc_middleman: $(top_srcdir)/src/protoc$(EXEEXT) $(conformance_protoc_inputs)
$(well_known_type_protoc_inputs) | 203 protoc_middleman: $(top_srcdir)/src/protoc$(EXEEXT) $(conformance_protoc_inputs)
$(well_known_type_protoc_inputs) |
204 oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I
$(top_srcdir)/src --cpp_out=$$oldpwd --java_out=$$oldpwd --ruby_out=$$oldpwd --o
bjc_out=$$oldpwd --python_out=$$oldpwd $(conformance_protoc_inputs) ) | 204 oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I
$(top_srcdir)/src --cpp_out=$$oldpwd --java_out=$$oldpwd --ruby_out=$$oldpwd --o
bjc_out=$$oldpwd --python_out=$$oldpwd $(conformance_protoc_inputs) ) |
205 oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I
$(top_srcdir)/src --cpp_out=$$oldpwd --java_out=$$oldpwd --ruby_out=$$oldpwd --p
ython_out=$$oldpwd $(well_known_type_protoc_inputs) ) | 205 oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I
$(top_srcdir)/src --cpp_out=$$oldpwd --java_out=$$oldpwd --ruby_out=$$oldpwd --p
ython_out=$$oldpwd $(well_known_type_protoc_inputs) ) |
206 » @mkdir -p lite | 206 » ## @mkdir -p lite |
207 » oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I
$(top_srcdir)/src --java_out=lite:$$oldpwd/lite $(conformance_protoc_inputs) $(w
ell_known_type_protoc_inputs) ) | 207 » ## oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I.
-I$(top_srcdir)/src --java_out=lite:$$oldpwd/lite $(conformance_protoc_inputs)
$(well_known_type_protoc_inputs) ) |
208 touch protoc_middleman | 208 touch protoc_middleman |
209 | 209 |
210 endif | 210 endif |
211 | 211 |
212 $(protoc_outputs): protoc_middleman | 212 $(protoc_outputs): protoc_middleman |
213 | 213 |
214 $(other_language_protoc_outputs): protoc_middleman | 214 $(other_language_protoc_outputs): protoc_middleman |
215 | 215 |
216 BUILT_SOURCES = $(protoc_outputs) $(other_language_protoc_outputs) | 216 BUILT_SOURCES = $(protoc_outputs) $(other_language_protoc_outputs) |
217 | 217 |
(...skipping 21 matching lines...) Expand all Loading... |
239 @echo '#! /bin/sh' > conformance-java-lite | 239 @echo '#! /bin/sh' > conformance-java-lite |
240 @echo java -classpath .:../java/lite/target/classes:lite ConformanceJava
Lite '$$@' >> conformance-java-lite | 240 @echo java -classpath .:../java/lite/target/classes:lite ConformanceJava
Lite '$$@' >> conformance-java-lite |
241 @chmod +x conformance-java-lite | 241 @chmod +x conformance-java-lite |
242 | 242 |
243 # Currently the conformance code is alongside the rest of the C# | 243 # Currently the conformance code is alongside the rest of the C# |
244 # source, as it's easier to maintain there. We assume we've already | 244 # source, as it's easier to maintain there. We assume we've already |
245 # built that, so we just need a script to run it. | 245 # built that, so we just need a script to run it. |
246 conformance-csharp: $(other_language_protoc_outputs) | 246 conformance-csharp: $(other_language_protoc_outputs) |
247 @echo "Writing shortcut script conformance-csharp..." | 247 @echo "Writing shortcut script conformance-csharp..." |
248 @echo '#! /bin/sh' > conformance-csharp | 248 @echo '#! /bin/sh' > conformance-csharp |
249 » @echo 'mono ../csharp/src/Google.Protobuf.Conformance/bin/Release/Google
.Protobuf.Conformance.exe "$$@"' >> conformance-csharp | 249 » @echo 'dotnet ../csharp/src/Google.Protobuf.Conformance/bin/Release/netc
oreapp1.0/Google.Protobuf.Conformance.dll "$$@"' >> conformance-csharp |
250 @chmod +x conformance-csharp | 250 @chmod +x conformance-csharp |
251 | 251 |
252 # Targets for actually running tests. | 252 # Targets for actually running tests. |
253 test_cpp: protoc_middleman conformance-test-runner conformance-cpp | 253 test_cpp: protoc_middleman conformance-test-runner conformance-cpp |
254 » ./conformance-test-runner --failure_list failure_list_cpp.txt ./conforma
nce-cpp | 254 » ./conformance-test-runner --enforce_recommended --failure_list failure_l
ist_cpp.txt ./conformance-cpp |
255 | 255 |
256 test_java: protoc_middleman conformance-test-runner conformance-java | 256 test_java: protoc_middleman conformance-test-runner conformance-java |
257 » ./conformance-test-runner --failure_list failure_list_java.txt ./conform
ance-java | 257 » ./conformance-test-runner --enforce_recommended --failure_list failure_l
ist_java.txt ./conformance-java |
258 | 258 |
259 test_java_lite: protoc_middleman conformance-test-runner conformance-java-lite | 259 test_java_lite: protoc_middleman conformance-test-runner conformance-java-lite |
260 » ./conformance-test-runner ./conformance-java-lite | 260 » ./conformance-test-runner --enforce_recommended ./conformance-java-lite |
261 | 261 |
262 test_csharp: protoc_middleman conformance-test-runner conformance-csharp | 262 test_csharp: protoc_middleman conformance-test-runner conformance-csharp |
263 » ./conformance-test-runner --failure_list failure_list_csharp.txt ./confo
rmance-csharp | 263 » ./conformance-test-runner --enforce_recommended --failure_list failure_l
ist_csharp.txt ./conformance-csharp |
264 | 264 |
265 test_ruby: protoc_middleman conformance-test-runner $(other_language_protoc_outp
uts) | 265 test_ruby: protoc_middleman conformance-test-runner $(other_language_protoc_outp
uts) |
266 » RUBYLIB=../ruby/lib:. ./conformance-test-runner --failure_list failure_l
ist_ruby.txt ./conformance_ruby.rb | 266 » RUBYLIB=../ruby/lib:. ./conformance-test-runner --enforce_recommended --
failure_list failure_list_ruby.txt ./conformance_ruby.rb |
267 | 267 |
268 # These depend on library paths being properly set up. The easiest way to | 268 # These depend on library paths being properly set up. The easiest way to |
269 # run them is to just use "tox" from the python dir. | 269 # run them is to just use "tox" from the python dir. |
270 test_python: protoc_middleman conformance-test-runner | 270 test_python: protoc_middleman conformance-test-runner |
271 » ./conformance-test-runner --failure_list failure_list_python.txt $(CONFO
RMANCE_PYTHON_EXTRA_FAILURES) ./conformance_python.py | 271 » ./conformance-test-runner --enforce_recommended --failure_list failure_l
ist_python.txt ./conformance_python.py |
272 | 272 |
273 test_python_cpp: protoc_middleman conformance-test-runner | 273 test_python_cpp: protoc_middleman conformance-test-runner |
274 » ./conformance-test-runner --failure_list failure_list_python_cpp.txt $(C
ONFORMANCE_PYTHON_EXTRA_FAILURES) ./conformance_python.py | 274 » ./conformance-test-runner --enforce_recommended --failure_list failure_l
ist_python_cpp.txt ./conformance_python.py |
275 | 275 |
276 if OBJC_CONFORMANCE_TEST | 276 if OBJC_CONFORMANCE_TEST |
277 | 277 |
278 test_objc: protoc_middleman conformance-test-runner conformance-objc | 278 test_objc: protoc_middleman conformance-test-runner conformance-objc |
279 » ./conformance-test-runner --failure_list failure_list_objc.txt ./conform
ance-objc | 279 » ./conformance-test-runner --enforce_recommended --failure_list failure_l
ist_objc.txt ./conformance-objc |
280 | 280 |
281 endif | 281 endif |
OLD | NEW |