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

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: Route EndConnection to OnConnectionError notifications 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
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"
+}

Powered by Google App Engine
This is Rietveld 408576698