| 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") |
| 11 import("//build/config/ui.gni") | 11 import("//build/config/ui.gni") |
| 12 import("//build/config/win/console_app.gni") | 12 import("//build/config/win/console_app.gni") |
| 13 import("//build/config/win/manifest.gni") | 13 import("//build/config/win/manifest.gni") |
| 14 import("//chrome/chrome_paks.gni") | 14 import("//chrome/chrome_paks.gni") |
| 15 import("//chrome/common/features.gni") | 15 import("//chrome/common/features.gni") |
| 16 import("//chrome/process_version_rc_template.gni") | 16 import("//chrome/process_version_rc_template.gni") |
| 17 import("//third_party/widevine/cdm/widevine.gni") | 17 import("//third_party/widevine/cdm/widevine.gni") |
| 18 import("//tools/resources/generate_resource_whitelist.gni") |
| 18 import("//ui/base/ui_features.gni") | 19 import("//ui/base/ui_features.gni") |
| 19 import("//v8/gni/v8.gni") | 20 import("//v8/gni/v8.gni") |
| 20 | 21 |
| 21 if (is_android) { | 22 if (is_android) { |
| 22 import("//build/config/android/rules.gni") | 23 import("//build/config/android/rules.gni") |
| 23 } else if (is_mac) { | 24 } else if (is_mac) { |
| 24 import("//build/compiled_action.gni") | 25 import("//build/compiled_action.gni") |
| 25 import("//build/config/mac/rules.gni") | 26 import("//build/config/mac/rules.gni") |
| 26 import("//build/config/mac/symbols.gni") | 27 import("//build/config/mac/symbols.gni") |
| 27 import("//build/mac/tweak_info_plist.gni") | 28 import("//build/mac/tweak_info_plist.gni") |
| (...skipping 1441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1469 "//chrome/gpu", | 1470 "//chrome/gpu", |
| 1470 "//chrome/renderer", | 1471 "//chrome/renderer", |
| 1471 "//chrome/utility", | 1472 "//chrome/utility", |
| 1472 "//components/safe_browsing_db:safe_browsing_db_mobile", | 1473 "//components/safe_browsing_db:safe_browsing_db_mobile", |
| 1473 "//content/public/app:both", | 1474 "//content/public/app:both", |
| 1474 ] | 1475 ] |
| 1475 } | 1476 } |
| 1476 } | 1477 } |
| 1477 | 1478 |
| 1478 if (enable_resource_whitelist_generation) { | 1479 if (enable_resource_whitelist_generation) { |
| 1479 action("resource_whitelist") { | 1480 generate_resource_whitelist("resource_whitelist") { |
| 1480 assert(is_android, | |
| 1481 "Resource whitelist currently implemented only on Android") | |
| 1482 | |
| 1483 deps = [ | 1481 deps = [ |
| 1484 "//chrome/android:chrome", | 1482 "//chrome/android:chrome", |
| 1485 ] | 1483 ] |
| 1486 script = "//tools/resources/generate_resource_whitelist.py" | 1484 input = "$root_out_dir/libchrome$shlib_extension.whitelist" |
| 1487 | 1485 output = chrome_resource_whitelist |
| 1488 _infile = "$root_out_dir/libchrome$shlib_extension.whitelist" | |
| 1489 inputs = [ | |
| 1490 _infile, | |
| 1491 ] | |
| 1492 | |
| 1493 _outfile = chrome_resource_whitelist | |
| 1494 outputs = [ | |
| 1495 _outfile, | |
| 1496 ] | |
| 1497 | |
| 1498 args = [ | |
| 1499 "-i", | |
| 1500 rebase_path(_infile, root_build_dir), | |
| 1501 "-o", | |
| 1502 rebase_path(_outfile, root_build_dir), | |
| 1503 "--out-dir=.", | |
| 1504 "--use-existing-resource-ids", | |
| 1505 ] | |
| 1506 } | 1486 } |
| 1507 } | 1487 } |
| 1508 | 1488 |
| 1509 if (is_linux) { | 1489 if (is_linux) { |
| 1510 action("manpage") { | 1490 action("manpage") { |
| 1511 if (is_chrome_branded) { | 1491 if (is_chrome_branded) { |
| 1512 name = "Google Chrome" | 1492 name = "Google Chrome" |
| 1513 filename = "google-chrome" | 1493 filename = "google-chrome" |
| 1514 confdir = "google-chrome" | 1494 confdir = "google-chrome" |
| 1515 } else { | 1495 } else { |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1582 "//chrome/app/theme/$branding_path_component/product_logo_48.png", | 1562 "//chrome/app/theme/$branding_path_component/product_logo_48.png", |
| 1583 "//chrome/tools/build/linux/chrome-wrapper", | 1563 "//chrome/tools/build/linux/chrome-wrapper", |
| 1584 "//third_party/xdg-utils/scripts/xdg-mime", | 1564 "//third_party/xdg-utils/scripts/xdg-mime", |
| 1585 "//third_party/xdg-utils/scripts/xdg-settings", | 1565 "//third_party/xdg-utils/scripts/xdg-settings", |
| 1586 ] | 1566 ] |
| 1587 outputs = [ | 1567 outputs = [ |
| 1588 "$root_out_dir/{{source_file_part}}", | 1568 "$root_out_dir/{{source_file_part}}", |
| 1589 ] | 1569 ] |
| 1590 } | 1570 } |
| 1591 } | 1571 } |
| OLD | NEW |