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

Side by Side Diff: chrome/chrome_watcher/BUILD.gn

Issue 2338093003: Revert of gn: Generalize process_version() and move it to build/util (Closed)
Patch Set: 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/app/version_assembly/BUILD.gn ('k') | chrome/common/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 import("//chrome/process_version_rc_template.gni") 5 import("//chrome/version.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 source_set("client") { 8 source_set("client") {
9 sources = [ 9 sources = [
10 "chrome_watcher_main_api.cc", 10 "chrome_watcher_main_api.cc",
11 "chrome_watcher_main_api.h", 11 "chrome_watcher_main_api.h",
12 ] 12 ]
13 deps = [ 13 deps = [
14 "//base", 14 "//base",
15 ] 15 ]
(...skipping 24 matching lines...) Expand all
40 "//testing/gtest", 40 "//testing/gtest",
41 ] 41 ]
42 } 42 }
43 43
44 group("kasko_util") { 44 group("kasko_util") {
45 public_deps = [ 45 public_deps = [
46 "//third_party/kasko:kasko_features", 46 "//third_party/kasko:kasko_features",
47 ] 47 ]
48 } 48 }
49 49
50 process_version_rc_template("chrome_watcher_resources") { 50 process_version("chrome_watcher_resources") {
51 template_file = chrome_version_rc_template
51 sources = [ 52 sources = [
52 "chrome_watcher.ver", 53 "chrome_watcher.ver",
53 ] 54 ]
54 output = "$target_gen_dir/chrome_watcher_version.rc" 55 output = "$target_gen_dir/chrome_watcher_version.rc"
55 } 56 }
56 57
57 shared_library("chrome_watcher") { 58 shared_library("chrome_watcher") {
58 sources = [ 59 sources = [
59 "chrome_watcher_main.cc", 60 "chrome_watcher_main.cc",
60 ] 61 ]
61 inputs = [ 62 inputs = [
62 "chrome_watcher.def", 63 "chrome_watcher.def",
63 ] 64 ]
64 deps = [ 65 deps = [
65 ":chrome_watcher_resources", 66 ":chrome_watcher_resources",
66 ":client", 67 ":client",
67 ":kasko_util", 68 ":kasko_util",
68 "//base", 69 "//base",
69 "//base:base_static", 70 "//base:base_static",
70 "//build/config/sanitizers:deps", 71 "//build/config/sanitizers:deps",
71 "//chrome/common:metrics_constants_util_win", 72 "//chrome/common:metrics_constants_util_win",
72 "//chrome/installer/util:with_no_strings", 73 "//chrome/installer/util:with_no_strings",
73 "//components/browser_watcher", 74 "//components/browser_watcher",
74 ] 75 ]
75 ldflags = [ "/DEF:" + rebase_path("chrome_watcher.def", root_build_dir) ] 76 ldflags = [ "/DEF:" + rebase_path("chrome_watcher.def", root_build_dir) ]
76 configs -= [ "//build/config/win:console" ] 77 configs -= [ "//build/config/win:console" ]
77 configs += [ "//build/config/win:windowed" ] 78 configs += [ "//build/config/win:windowed" ]
78 } 79 }
OLDNEW
« no previous file with comments | « chrome/app/version_assembly/BUILD.gn ('k') | chrome/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698