Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2121)

Unified Diff: blimp/common/BUILD.gn

Issue 1876983002: Use Chromium BUILD to approximate Blimp protocol version, and check it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Android to use GetVersionNumber() Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « blimp/client/session/assignment_source_unittest.cc ('k') | blimp/common/create_blimp_message.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
+}
« no previous file with comments | « blimp/client/session/assignment_source_unittest.cc ('k') | blimp/common/create_blimp_message.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698