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("//build/config/crypto.gni") | 5 import("//build/config/crypto.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//tools/grit/grit_rule.gni") | 7 import("//tools/grit/grit_rule.gni") |
8 | 8 |
9 executable("chrome") { | 9 executable("chrome") { |
10 sources = [ | 10 sources = [ |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 | 192 |
193 action("about_credits") { | 193 action("about_credits") { |
194 script = "//tools/licenses.py" | 194 script = "//tools/licenses.py" |
195 outputs = [ about_credits_file ] | 195 outputs = [ about_credits_file ] |
196 | 196 |
197 # This script is impossible to write proper input dependencies for because it | 197 # This script is impossible to write proper input dependencies for because it |
198 # basically greps the source tree for third_party directories. If a directory | 198 # basically greps the source tree for third_party directories. If a directory |
199 # is added or removed, it will change the result, but there is no way to | 199 # is added or removed, it will change the result, but there is no way to |
200 # express this as a build dependency. We approximate this by depending on | 200 # express this as a build dependency. We approximate this by depending on |
201 # the last change file to force an update whenever the code is updated. | 201 # the last change file to force an update whenever the code is updated. |
202 source_prereqs = [ "//build/util/LASTCHANGE" ] | 202 inputs = [ "//build/util/LASTCHANGE" ] |
203 | 203 |
204 args = [ "credits", build_relative_about_credits_file ] | 204 args = [ "credits", build_relative_about_credits_file ] |
205 } | 205 } |
206 | 206 |
207 # Resources -------------------------------------------------------------------- | 207 # Resources -------------------------------------------------------------------- |
208 | 208 |
209 #group("chrome_resources") { | 209 #group("chrome_resources") { |
210 # deps = [ | 210 # deps = [ |
211 # ":browser_resources", | 211 # ":browser_resources", |
212 # ":common_resources", | 212 # ":common_resources", |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 #} | 290 #} |
291 #grit("translate_internals_resources") { | 291 #grit("translate_internals_resources") { |
292 # source = "browser/resources/translate_internals_resources.grd" | 292 # source = "browser/resources/translate_internals_resources.grd" |
293 #} | 293 #} |
294 # | 294 # |
295 ## TODO(brettw) rename "app_theme_resources" or something when we don't support | 295 ## TODO(brettw) rename "app_theme_resources" or something when we don't support |
296 ## GYP any more. This name is required to match the GYP build. | 296 ## GYP any more. This name is required to match the GYP build. |
297 #grit("theme_resources") { | 297 #grit("theme_resources") { |
298 # source = "app/theme/theme_resources.grd" | 298 # source = "app/theme/theme_resources.grd" |
299 #} | 299 #} |
OLD | NEW |