OLD | NEW |
---|---|
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("//chrome/version.gni") |
6 | 6 |
7 source_set("client") { | 7 source_set("client") { |
8 sources = [ | 8 sources = [ |
9 "chrome_watcher_main_api.cc", | 9 "chrome_watcher_main_api.cc", |
10 "chrome_watcher_main_api.h", | 10 "chrome_watcher_main_api.h", |
11 ] | 11 ] |
12 deps = [ | 12 deps = [ |
13 "//base", | 13 "//base", |
14 ] | 14 ] |
15 } | 15 } |
16 | 16 |
17 process_version("chrome_watcher_resources") { | 17 process_version("chrome_watcher_resources") { |
18 source = "//chrome/app/chrome_version.rc.version" | 18 sources = [ |
Dirk Pranke
2015/02/25 00:23:19
Is this formatted correctly? I'd expect this to be
brettw
2015/02/25 00:51:32
sources and deps are always multi-line.
| |
19 "chrome_watcher.ver", | |
20 ] | |
19 output = "$target_gen_dir/chrome_watcher_version.rc" | 21 output = "$target_gen_dir/chrome_watcher_version.rc" |
20 extra_args = [ | |
21 "-f", | |
22 rebase_path("chrome_watcher.ver", root_build_dir), | |
23 ] | |
24 } | 22 } |
25 | 23 |
26 shared_library("chrome_watcher") { | 24 shared_library("chrome_watcher") { |
27 sources = [ | 25 sources = [ |
28 "$target_gen_dir/chrome_watcher_version.rc", | 26 "$target_gen_dir/chrome_watcher_version.rc", |
29 "chrome_watcher_main.cc", | 27 "chrome_watcher_main.cc", |
30 ] | 28 ] |
31 inputs = [ | 29 inputs = [ |
32 "chrome_watcher.def", | 30 "chrome_watcher.def", |
33 ] | 31 ] |
34 deps = [ | 32 deps = [ |
35 ":chrome_watcher_resources", | 33 ":chrome_watcher_resources", |
36 ":client", | 34 ":client", |
37 "//base", | 35 "//base", |
38 "//components/browser_watcher", | 36 "//components/browser_watcher", |
39 ] | 37 ] |
40 ldflags = [ "/DEF:" + rebase_path("chrome_watcher.def", root_build_dir) ] | 38 ldflags = [ "/DEF:" + rebase_path("chrome_watcher.def", root_build_dir) ] |
41 configs -= [ "//build/config/win:console" ] | 39 configs -= [ "//build/config/win:console" ] |
42 configs += [ "//build/config/win:windowed" ] | 40 configs += [ "//build/config/win:windowed" ] |
43 } | 41 } |
OLD | NEW |