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/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
6 import("//build/config/chrome_build.gni") | 6 import("//build/config/chrome_build.gni") |
7 import("//build/config/compiler/compiler.gni") | 7 import("//build/config/compiler/compiler.gni") |
8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
9 import("//build/config/locales.gni") | 9 import("//build/config/locales.gni") |
10 import("//build/config/sanitizers/sanitizers.gni") | 10 import("//build/config/sanitizers/sanitizers.gni") |
(...skipping 1269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1280 # GYP version: chrome/chrome_resources.gyp:chrome_resources | 1280 # GYP version: chrome/chrome_resources.gyp:chrome_resources |
1281 group("resources") { | 1281 group("resources") { |
1282 public_deps = [ | 1282 public_deps = [ |
1283 # Note: GYP lists some dependencies in addition to these actions. However, | 1283 # Note: GYP lists some dependencies in addition to these actions. However, |
1284 # these are just dependencies for the actions themselves, which our actions | 1284 # these are just dependencies for the actions themselves, which our actions |
1285 # list individually when needed. | 1285 # list individually when needed. |
1286 "//chrome/browser:resources", | 1286 "//chrome/browser:resources", |
1287 "//chrome/common:resources", | 1287 "//chrome/common:resources", |
1288 "//chrome/renderer:resources", | 1288 "//chrome/renderer:resources", |
1289 ] | 1289 ] |
1290 | |
1291 if (enable_extensions) { | |
1292 public_deps += [ "//chrome/common:extensions_api_resources" ] | |
1293 } | |
1294 } | 1290 } |
1295 | 1291 |
1296 # GYP version: chrome/chrome_resources.gyp:chrome_extra_resources | 1292 # GYP version: chrome/chrome_resources.gyp:chrome_extra_resources |
1297 group("extra_resources") { | 1293 group("extra_resources") { |
1298 public_deps = [ | 1294 public_deps = [ |
1299 "//chrome/browser/resources:invalidations_resources", | 1295 "//chrome/browser/resources:invalidations_resources", |
1300 "//chrome/browser/resources:net_internals_resources", | 1296 "//chrome/browser/resources:net_internals_resources", |
1301 "//chrome/browser/resources:password_manager_internals_resources", | 1297 "//chrome/browser/resources:password_manager_internals_resources", |
1302 "//chrome/browser/resources:policy_resources", | 1298 "//chrome/browser/resources:policy_resources", |
1303 "//chrome/browser/resources:translate_internals_resources", | 1299 "//chrome/browser/resources:translate_internals_resources", |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1440 "//content/browser/tracing:resources", | 1436 "//content/browser/tracing:resources", |
1441 "//third_party/WebKit/public:resources", | 1437 "//third_party/WebKit/public:resources", |
1442 ] | 1438 ] |
1443 } | 1439 } |
1444 if (is_chromeos) { | 1440 if (is_chromeos) { |
1445 sources += [ "$root_gen_dir/ui/file_manager/file_manager_resources.pak" ] | 1441 sources += [ "$root_gen_dir/ui/file_manager/file_manager_resources.pak" ] |
1446 deps += [ "//ui/file_manager:resources" ] | 1442 deps += [ "//ui/file_manager:resources" ] |
1447 } | 1443 } |
1448 if (enable_extensions) { | 1444 if (enable_extensions) { |
1449 sources += [ | 1445 sources += [ |
1450 "$root_gen_dir/chrome/extensions_api_resources.pak", | |
1451 "$root_gen_dir/extensions/extensions_renderer_resources.pak", | 1446 "$root_gen_dir/extensions/extensions_renderer_resources.pak", |
1452 "$root_gen_dir/extensions/extensions_resources.pak", | 1447 "$root_gen_dir/extensions/extensions_resources.pak", |
1453 ] | 1448 ] |
1454 deps += [ | 1449 deps += [ "//extensions:extensions_resources" ] |
1455 "//chrome/common:extensions_api_resources", | |
1456 "//extensions:extensions_resources", | |
1457 ] | |
1458 } | 1450 } |
1459 | 1451 |
1460 # GYP outputs the file in the gen/repack directory. On non-Mac/iOS platforms | 1452 # GYP outputs the file in the gen/repack directory. On non-Mac/iOS platforms |
1461 # it them copies it. This skipes the copy step and writes it to the final | 1453 # it them copies it. This skipes the copy step and writes it to the final |
1462 # location. | 1454 # location. |
1463 if (is_mac || is_ios) { | 1455 if (is_mac || is_ios) { |
1464 output = "$root_gen_dir/repack/resources.pak" | 1456 output = "$root_gen_dir/repack/resources.pak" |
1465 } else { | 1457 } else { |
1466 output = "$root_out_dir/resources.pak" | 1458 output = "$root_out_dir/resources.pak" |
1467 } | 1459 } |
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1768 "//chrome/app/theme/$branding_path_component/product_logo_48.png", | 1760 "//chrome/app/theme/$branding_path_component/product_logo_48.png", |
1769 "//chrome/tools/build/linux/chrome-wrapper", | 1761 "//chrome/tools/build/linux/chrome-wrapper", |
1770 "//third_party/xdg-utils/scripts/xdg-mime", | 1762 "//third_party/xdg-utils/scripts/xdg-mime", |
1771 "//third_party/xdg-utils/scripts/xdg-settings", | 1763 "//third_party/xdg-utils/scripts/xdg-settings", |
1772 ] | 1764 ] |
1773 outputs = [ | 1765 outputs = [ |
1774 "$root_out_dir/{{source_file_part}}", | 1766 "$root_out_dir/{{source_file_part}}", |
1775 ] | 1767 ] |
1776 } | 1768 } |
1777 } | 1769 } |
OLD | NEW |