Merge pull request #1612 from dgquintas/qps_type_tool_to_benchmark

Made qps_* targets "benchmark" builds.
pull/1613/merge
Nicolas Noble 10 years ago
commit 7f1e61fb8d
  1. 16
      Makefile
  2. 10
      build.json
  3. 2
      templates/Makefile.template

File diff suppressed because one or more lines are too long

@ -2130,7 +2130,7 @@
}, },
{ {
"name": "qps_driver", "name": "qps_driver",
"build": "tool", "build": "benchmark",
"language": "c++", "language": "c++",
"src": [ "src": [
"test/cpp/qps/qps_driver.cc" "test/cpp/qps/qps_driver.cc"
@ -2148,8 +2148,7 @@
}, },
{ {
"name": "qps_test", "name": "qps_test",
"build": "test", "build": "benchmark",
"run": false,
"language": "c++", "language": "c++",
"src": [ "src": [
"test/cpp/qps/qps_test.cc" "test/cpp/qps/qps_test.cc"
@ -2161,12 +2160,13 @@
"grpc++", "grpc++",
"grpc", "grpc",
"gpr_test_util", "gpr_test_util",
"gpr" "gpr",
"grpc++_test_config"
] ]
}, },
{ {
"name": "qps_worker", "name": "qps_worker",
"build": "tool", "build": "benchmark",
"language": "c++", "language": "c++",
"headers": [ "headers": [
"test/cpp/qps/client.h", "test/cpp/qps/client.h",

@ -1369,6 +1369,8 @@ $(${tgt.name.upper()}_OBJS)\
% endif % endif
% if tgt.language == 'c++' and tgt.build == 'test': % if tgt.language == 'c++' and tgt.build == 'test':
$(GTEST_LIB)\ $(GTEST_LIB)\
% elif tgt.language == 'c++' and tgt.build == 'benchmark':
$(GTEST_LIB)\
% endif % endif
-o $(BINDIR)/$(CONFIG)/${tgt.name} -o $(BINDIR)/$(CONFIG)/${tgt.name}
% if tgt.build == 'protoc' or tgt.language == 'c++': % if tgt.build == 'protoc' or tgt.language == 'c++':

Loading…
Cancel
Save