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

Unified Diff: components/data_reduction_proxy/common/BUILD.gn

Issue 533003002: Use chromium version for data reduction proxy version (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: components/data_reduction_proxy/common/BUILD.gn
diff --git a/components/data_reduction_proxy/common/BUILD.gn b/components/data_reduction_proxy/common/BUILD.gn
index 71ff791659c07c0254218728d49cca502d6aeebc..24eb383981327a51b60235fd7b3748ca7065b820 100644
--- a/components/data_reduction_proxy/common/BUILD.gn
+++ b/components/data_reduction_proxy/common/BUILD.gn
@@ -2,6 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//components/data_reduction_proxy/common/version.gni")
+
static_library("common") {
sources = [
"data_reduction_proxy_headers.cc",
@@ -13,6 +15,7 @@ static_library("common") {
]
deps = [
+ ":version_header",
"//base",
]
}
@@ -28,3 +31,9 @@ source_set("unit_tests") {
"//testing/gtest",
]
}
+
+process_version("version_header") {
+ source = "version.h.in"
+ output = "$target_gen_dir/version.h"
+}
+

Powered by Google App Engine
This is Rietveld 408576698