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 import("//tools/grit/grit_rule.gni") | 5 import("//tools/grit/grit_rule.gni") |
6 | 6 |
7 if (is_android) { | 7 if (is_android) { |
8 import("//build/config/android/rules.gni") | 8 import("//build/config/android/rules.gni") |
9 android_generated_java_resources = [ | 9 android_generated_java_resources = [ |
10 "java/res/values-am/generated_resources.xml", | 10 "java/res/values-am/generated_resources.xml", |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 deps = [ | 151 deps = [ |
152 ":generated_resources", | 152 ":generated_resources", |
153 ] | 153 ] |
154 } | 154 } |
155 | 155 |
156 # Collect the generated .cc file from make_generated_resources_map and put it | 156 # Collect the generated .cc file from make_generated_resources_map and put it |
157 # in a source set so targets that depend on it will link the source rather than | 157 # in a source set so targets that depend on it will link the source rather than |
158 # specifying it manually. This doesn't happen in the GYP build. | 158 # specifying it manually. This doesn't happen in the GYP build. |
159 source_set("generated_resources_map") { | 159 source_set("generated_resources_map") { |
160 sources = get_target_outputs(":make_generated_resources_map") | 160 sources = get_target_outputs(":make_generated_resources_map") |
161 deps = [ | |
162 ":make_generated_resources_map", | |
163 ] | |
164 } | 161 } |
165 | 162 |
166 # GYP version: chrome/chrome_resources.gyp:chrome_strings | 163 # GYP version: chrome/chrome_resources.gyp:chrome_strings |
167 # (generate_google_chrome_strings action) | 164 # (generate_google_chrome_strings action) |
168 grit("google_chrome_strings") { | 165 grit("google_chrome_strings") { |
169 source = "google_chrome_strings.grd" | 166 source = "google_chrome_strings.grd" |
170 output_dir = "$root_gen_dir/chrome" | 167 output_dir = "$root_gen_dir/chrome" |
171 use_qualified_include = true | 168 use_qualified_include = true |
172 outputs = [ | 169 outputs = [ |
173 "grit/google_chrome_strings.h", | 170 "grit/google_chrome_strings.h", |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 } | 319 } |
323 | 320 |
324 if (enable_plugins && enable_nacl) { | 321 if (enable_plugins && enable_nacl) { |
325 deps += [ "//components/nacl/renderer/plugin:nacl_trusted_plugin" ] | 322 deps += [ "//components/nacl/renderer/plugin:nacl_trusted_plugin" ] |
326 } | 323 } |
327 | 324 |
328 if (enable_remoting) { | 325 if (enable_remoting) { |
329 deps += [ "//remoting/client/plugin" ] | 326 deps += [ "//remoting/client/plugin" ] |
330 } | 327 } |
331 } | 328 } |
OLD | NEW |