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

Side by Side Diff: chrome_elf/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 | « chrome/version.gni ('k') | chromecast/base/BUILD.gn » ('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 # Chrome elf targets (excepting tests) should only link in kernel32. 5 # Chrome elf targets (excepting tests) should only link in kernel32.
6 # Please don't add dependencies on any other system libraries. 6 # Please don't add dependencies on any other system libraries.
7 7
8 import("//build/config/win/manifest.gni") 8 import("//build/config/win/manifest.gni")
9 import("//chrome/version.gni") 9 import("//chrome/process_version_rc_template.gni")
10 import("//testing/test.gni") 10 import("//testing/test.gni")
11 11
12 ##------------------------------------------------------------------------------ 12 ##------------------------------------------------------------------------------
13 ## chrome_elf 13 ## chrome_elf
14 ##------------------------------------------------------------------------------ 14 ##------------------------------------------------------------------------------
15 15
16 process_version("chrome_elf_resources") { 16 process_version_rc_template("chrome_elf_resources") {
17 template_file = chrome_version_rc_template
18 sources = [ 17 sources = [
19 "chrome_elf.ver", 18 "chrome_elf.ver",
20 ] 19 ]
21 output = "$target_gen_dir/chrome_elf_version.rc" 20 output = "$target_gen_dir/chrome_elf_version.rc"
22 } 21 }
23 22
24 # This manifest matches what GYP produces. It may not even be necessary. 23 # This manifest matches what GYP produces. It may not even be necessary.
25 windows_manifest("chrome_elf_manifest") { 24 windows_manifest("chrome_elf_manifest") {
26 sources = [ 25 sources = [
27 as_invoker_manifest, 26 as_invoker_manifest,
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 271
273 shared_library("hook_util_test_dll") { 272 shared_library("hook_util_test_dll") {
274 sources = [ 273 sources = [
275 "hook_util/test/hook_util_test_dll.cc", 274 "hook_util/test/hook_util_test_dll.cc",
276 "hook_util/test/hook_util_test_dll.h", 275 "hook_util/test/hook_util_test_dll.h",
277 ] 276 ]
278 deps = [ 277 deps = [
279 "//build/config/sanitizers:deps", 278 "//build/config/sanitizers:deps",
280 ] 279 ]
281 } 280 }
OLDNEW
« no previous file with comments | « chrome/version.gni ('k') | chromecast/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698