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

Side by Side Diff: third_party/protobuf/benchmarks/Makefile.am

Issue 2495533002: third_party/protobuf: Update to HEAD (83d681ee2c) (Closed)
Patch Set: Created 4 years, 1 month 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
OLDNEW
1 1
2 benchmarks_protoc_inputs = \ 2 benchmarks_protoc_inputs = \
3 benchmarks.proto \ 3 benchmarks.proto \
4 benchmark_messages_proto3.proto 4 benchmark_messages_proto3.proto
5 5
6 benchmarks_protoc_inputs_proto2 = \ 6 benchmarks_protoc_inputs_proto2 = \
7 benchmark_messages_proto2.proto 7 benchmark_messages_proto2.proto
8 8
9 benchmarks_protoc_outputs = \ 9 benchmarks_protoc_outputs = \
10 benchmarks.pb.cc \ 10 benchmarks.pb.cc \
11 benchmarks.pb.h \ 11 benchmarks.pb.h \
12 benchmark_messages_proto3.pb.cc \ 12 benchmark_messages_proto3.pb.cc \
13 benchmark_messages_proto3.pb.h 13 benchmark_messages_proto3.pb.h
14 14
15 benchmarks_protoc_outputs_proto2 = \ 15 benchmarks_protoc_outputs_proto2 = \
16 benchmark_messages_proto2.pb.cc \ 16 benchmark_messages_proto2.pb.cc \
17 benchmark_messages_proto2.pb.h 17 benchmark_messages_proto2.pb.h
18 18
19 bin_PROGRAMS = generate-datasets 19 AM_CXXFLAGS = $(NO_OPT_CXXFLAGS) $(PROTOBUF_OPT_FLAG) -Wall -Wwrite-strings -Wov erloaded-virtual -Wno-sign-compare
20
21 bin_PROGRAMS = generate-datasets cpp-benchmark
20 22
21 generate_datasets_LDADD = $(top_srcdir)/src/libprotobuf.la 23 generate_datasets_LDADD = $(top_srcdir)/src/libprotobuf.la
22 generate_datasets_SOURCES = generate_datasets.cc 24 generate_datasets_SOURCES = generate_datasets.cc
23 generate_datasets_CPPFLAGS = -I$(top_srcdir)/src -I$(srcdir) 25 generate_datasets_CPPFLAGS = -I$(top_srcdir)/src -I$(srcdir)
24 nodist_generate_datasets_SOURCES = \ 26 nodist_generate_datasets_SOURCES = \
25 $(benchmarks_protoc_outputs) \ 27 $(benchmarks_protoc_outputs) \
26 $(benchmarks_protoc_outputs_proto2) 28 $(benchmarks_protoc_outputs_proto2)
27 29
28 # Explicit deps because BUILT_SOURCES are only done before a "make all/check" 30 # Explicit deps because BUILT_SOURCES are only done before a "make all/check"
29 # so a direct "make test_cpp" could fail if parallel enough. 31 # so a direct "make test_cpp" could fail if parallel enough.
30 # See: https://www.gnu.org/software/automake/manual/html_node/Built-Sources-Exam ple.html#Recording-Dependencies-manually 32 # See: https://www.gnu.org/software/automake/manual/html_node/Built-Sources-Exam ple.html#Recording-Dependencies-manually
31 generate_datasets-generate_datasets.$(OBJEXT): benchmarks.pb.h 33 generate_datasets-generate_datasets.$(OBJEXT): benchmarks.pb.h
32 34
35 cpp_benchmark_LDADD = $(top_srcdir)/src/libprotobuf.la $(top_srcdir)/third_party /benchmark/src/libbenchmark.a
36 cpp_benchmark_SOURCES = cpp_benchmark.cc
37 cpp_benchmark_CPPFLAGS = -I$(top_srcdir)/src -I$(srcdir) -I$(top_srcdir)/third_p arty/benchmark/include
38 nodist_cpp_benchmark_SOURCES = \
39 $(benchmarks_protoc_outputs) \
40 $(benchmarks_protoc_outputs_proto2)
41
33 $(benchmarks_protoc_outputs): protoc_middleman 42 $(benchmarks_protoc_outputs): protoc_middleman
34 $(benchmarks_protoc_outputs_proto2): protoc_middleman2 43 $(benchmarks_protoc_outputs_proto2): protoc_middleman2
35 44
36 CLEANFILES = \ 45 CLEANFILES = \
37 $(benchmarks_protoc_outputs) \ 46 $(benchmarks_protoc_outputs) \
38 $(benchmarks_protoc_outputs_proto2) \ 47 $(benchmarks_protoc_outputs_proto2) \
39 protoc_middleman \ 48 protoc_middleman \
40 protoc_middleman2 \ 49 protoc_middleman2 \
41 dataset.* 50 dataset.*
42 51
(...skipping 17 matching lines...) Expand all
60 # building out-of-tree. 69 # building out-of-tree.
61 protoc_middleman: $(top_srcdir)/src/protoc$(EXEEXT) $(benchmarks_protoc_inputs) $(well_known_type_protoc_inputs) 70 protoc_middleman: $(top_srcdir)/src/protoc$(EXEEXT) $(benchmarks_protoc_inputs) $(well_known_type_protoc_inputs)
62 oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I $(top_srcdir)/src --cpp_out=$$oldpwd $(benchmarks_protoc_inputs) ) 71 oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I $(top_srcdir)/src --cpp_out=$$oldpwd $(benchmarks_protoc_inputs) )
63 touch protoc_middleman 72 touch protoc_middleman
64 73
65 protoc_middleman2: $(top_srcdir)/src/protoc$(EXEEXT) $(benchmarks_protoc_inputs_ proto2) $(well_known_type_protoc_inputs) 74 protoc_middleman2: $(top_srcdir)/src/protoc$(EXEEXT) $(benchmarks_protoc_inputs_ proto2) $(well_known_type_protoc_inputs)
66 oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I $(top_srcdir)/src --cpp_out=$$oldpwd $(benchmarks_protoc_inputs_proto2) ) 75 oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I $(top_srcdir)/src --cpp_out=$$oldpwd $(benchmarks_protoc_inputs_proto2) )
67 touch protoc_middleman 76 touch protoc_middleman
68 77
69 endif 78 endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698