OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 static_library("util") { | 5 static_library("util") { |
6 deps = [ | 6 deps = [ |
7 "//base", | 7 "//base", |
8 "//chrome:resources", | 8 "//chrome:resources", |
9 "//chrome:strings", | 9 "//chrome:strings", |
10 ] | 10 ] |
(...skipping 18 matching lines...) Expand all Loading... |
29 | 29 |
30 action("strings") { | 30 action("strings") { |
31 script = "prebuild/create_string_rc.py" | 31 script = "prebuild/create_string_rc.py" |
32 | 32 |
33 if (is_chrome_branded) { | 33 if (is_chrome_branded) { |
34 grdfile = "//chrome/app/google_chrome_strings.grd" | 34 grdfile = "//chrome/app/google_chrome_strings.grd" |
35 } else { | 35 } else { |
36 grdfile = "//chrome/app/chromium_strings.grd" | 36 grdfile = "//chrome/app/chromium_strings.grd" |
37 } | 37 } |
38 | 38 |
39 inputs = [ grdfile ] | 39 inputs = [ |
| 40 grdfile, |
| 41 ] |
40 | 42 |
41 # TODO(brettw) move to target_gen_dir | 43 # TODO(brettw) move to target_gen_dir |
42 outdir = "$root_gen_dir/installer_util_strings" | 44 outdir = "$root_gen_dir/installer_util_strings" |
43 outputs = [ | 45 outputs = [ |
44 "$outdir/installer_util_strings.h", | 46 "$outdir/installer_util_strings.h", |
45 "$outdir/installer_util_strings.rc", | 47 "$outdir/installer_util_strings.rc", |
46 ] | 48 ] |
47 | 49 |
48 args = [ | 50 args = [ |
49 "-i", rebase_path(grdfile, root_build_dir) + ":resources", | 51 "-i", |
50 "-n", "installer_util_strings", | 52 rebase_path(grdfile, root_build_dir) + ":resources", |
51 "-o", rebase_path(outdir, root_build_dir), | 53 "-n", |
| 54 "installer_util_strings", |
| 55 "-o", |
| 56 rebase_path(outdir, root_build_dir), |
52 ] | 57 ] |
53 } | 58 } |
OLD | NEW |