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

Side by Side Diff: blimp/common/BUILD.gn

Issue 2308313003: gn: Generalize process_version() and move it to build/util (Closed)
Patch Set: Move branding_file_path to chrome/process_version_rc_template.gni Created 4 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 unified diff | Download patch
« no previous file with comments | « android_webview/common/BUILD.gn ('k') | build/util/process_version.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//chrome/version.gni") 5 import("//build/util/process_version.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 component("common") { 8 component("common") {
9 output_name = "blimp_common" 9 output_name = "blimp_common"
10 sources = [ 10 sources = [
11 "blimp_common_export.h", 11 "blimp_common_export.h",
12 "blob_cache/blob_cache.h", 12 "blob_cache/blob_cache.h",
13 "blob_cache/id_util.cc", 13 "blob_cache/id_util.cc",
14 "blob_cache/id_util.h", 14 "blob_cache/id_util.h",
15 "blob_cache/in_memory_blob_cache.cc", 15 "blob_cache/in_memory_blob_cache.cc",
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 "//base", 75 "//base",
76 "//blimp/common/proto", 76 "//blimp/common/proto",
77 "//blimp/net:test_support", 77 "//blimp/net:test_support",
78 "//crypto", 78 "//crypto",
79 "//testing/gmock", 79 "//testing/gmock",
80 "//testing/gtest", 80 "//testing/gtest",
81 ] 81 ]
82 } 82 }
83 83
84 process_version("protocol_version") { 84 process_version("protocol_version") {
85 sources = [
86 "//chrome/VERSION",
87 ]
85 template_file = "protocol_version.h.version" 88 template_file = "protocol_version.h.version"
86 output = "$target_gen_dir/protocol_version.h" 89 output = "$target_gen_dir/protocol_version.h"
87 } 90 }
OLDNEW
« no previous file with comments | « android_webview/common/BUILD.gn ('k') | build/util/process_version.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698