Chromium Code Reviews| Index: blimp/common/BUILD.gn |
| diff --git a/blimp/common/BUILD.gn b/blimp/common/BUILD.gn |
| index 57dc9ca7cfa0e161f4cb1d16074d54fcfdc7a966..f47329da19eca9da3fc63d7a6edb167faa4230da 100644 |
| --- a/blimp/common/BUILD.gn |
| +++ b/blimp/common/BUILD.gn |
| @@ -3,6 +3,7 @@ |
| # found in the LICENSE file. |
| import("//testing/test.gni") |
| +import("//chrome/version.gni") |
|
Kevin M
2016/05/25 21:19:19
alphabetic sort
Wez
2016/05/25 23:11:36
Done.
|
| component("common") { |
| output_name = "blimp_common" |
| @@ -21,14 +22,15 @@ component("common") { |
| "get_client_token.h", |
| "logging.cc", |
| "logging.h", |
| - "protocol_version.h", |
| "switches.cc", |
| "switches.h", |
| + "version_info.h", |
| ] |
| defines = [ "BLIMP_COMMON_IMPLEMENTATION=1" ] |
| deps = [ |
| + ":generate_version_info", |
| "//base", |
| "//blimp/common/proto", |
| "//cc", |
| @@ -74,3 +76,8 @@ source_set("unit_tests") { |
| "//testing/gtest", |
| ] |
| } |
| + |
| +process_version("generate_version_info") { |
| + template_file = "version_info.cc.version" |
| + output = "$target_gen_dir/version_info.cc" |
| +} |