Chromium Code Reviews| Index: blimp/common/BUILD.gn |
| diff --git a/blimp/common/BUILD.gn b/blimp/common/BUILD.gn |
| index 6548853d326066e0c8770e17d68e2f201996de1f..66263ac4280cf1aff8b6d1714657aeb57686ceac 100644 |
| --- a/blimp/common/BUILD.gn |
| +++ b/blimp/common/BUILD.gn |
| @@ -3,6 +3,7 @@ |
| # found in the LICENSE file. |
| import("//testing/test.gni") |
|
Kevin M
2016/04/22 21:12:54
Alphabetic order for imports?
|
| +import("//chrome/version.gni") |
| component("blimp_common") { |
| sources = [ |
| @@ -22,12 +23,13 @@ component("blimp_common") { |
| "create_blimp_message.h", |
| "logging.cc", |
| "logging.h", |
| - "protocol_version.h", |
| + "version_info.h", |
|
Kevin M
2016/04/22 21:12:54
Are we missing version_info.cc?
|
| ] |
| defines = [ "BLIMP_COMMON_IMPLEMENTATION=1" ] |
| deps = [ |
| + ":generate_version_info", |
| "//base", |
| "//blimp/common/proto", |
| "//cc", |
| @@ -54,3 +56,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" |
| +} |