Index: blimp/common/BUILD.gn |
diff --git a/blimp/common/BUILD.gn b/blimp/common/BUILD.gn |
index e0ca99834e26e927be86b108dc9a82920760ba5a..4a11b7d21479641396dfeb61f88c9778911df7c7 100644 |
--- a/blimp/common/BUILD.gn |
+++ b/blimp/common/BUILD.gn |
@@ -2,6 +2,7 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+import("//chrome/version.gni") |
import("//testing/test.gni") |
component("common") { |
@@ -21,7 +22,6 @@ component("common") { |
"get_client_token.h", |
"logging.cc", |
"logging.h", |
- "protocol_version.h", |
"switches.cc", |
"switches.h", |
] |
@@ -34,6 +34,10 @@ component("common") { |
"//cc", |
"//crypto", |
] |
+ |
+ public_deps = [ |
+ ":protocol_version", |
+ ] |
} |
source_set("test_support") { |
@@ -75,3 +79,8 @@ source_set("unit_tests") { |
"//testing/gtest", |
] |
} |
+ |
+process_version("protocol_version") { |
+ template_file = "protocol_version.h.version" |
+ output = "$target_gen_dir/protocol_version.h" |
+} |