Made qps_* targets "benchmark" builds.

pull/1612/head
David Garcia Quintas 10 years ago
parent b5b4d16866
commit aa52d0a11f
  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",
"build": "tool",
"build": "benchmark",
"language": "c++",
"src": [
"test/cpp/qps/qps_driver.cc"
@ -2148,8 +2148,7 @@
},
{
"name": "qps_test",
"build": "test",
"run": false,
"build": "benchmark",
"language": "c++",
"src": [
"test/cpp/qps/qps_test.cc"
@ -2161,12 +2160,13 @@
"grpc++",
"grpc",
"gpr_test_util",
"gpr"
"gpr",
"grpc++_test_config"
]
},
{
"name": "qps_worker",
"build": "tool",
"build": "benchmark",
"language": "c++",
"headers": [
"test/cpp/qps/client.h",

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

Loading…
Cancel
Save