Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(586)

Side by Side Diff: chrome/BUILD.gn

Issue 2696763003: Don't build chrome://settings on Android (Closed)
Patch Set: rebase Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/compiler/pgo/pgo.gni") 8 import("//build/config/compiler/pgo/pgo.gni")
9 import("//build/config/features.gni") 9 import("//build/config/features.gni")
10 import("//build/config/locales.gni") 10 import("//build/config/locales.gni")
(...skipping 1326 matching lines...) Expand 10 before | Expand all | Expand 10 after
1337 1337
1338 group("resources") { 1338 group("resources") {
1339 public_deps = [ 1339 public_deps = [
1340 "//chrome/browser:resources", 1340 "//chrome/browser:resources",
1341 "//chrome/common:resources", 1341 "//chrome/common:resources",
1342 "//chrome/renderer:resources", 1342 "//chrome/renderer:resources",
1343 ] 1343 ]
1344 } 1344 }
1345 1345
1346 group("extra_resources") { 1346 group("extra_resources") {
1347 # Deps should be same as those in chrome_extra_paks() within chrome_paks.gni.
1347 public_deps = [ 1348 public_deps = [
1348 "//chrome/browser/resources:component_extension_resources",
1349 "//chrome/browser/resources:invalidations_resources", 1349 "//chrome/browser/resources:invalidations_resources",
1350 "//chrome/browser/resources:net_internals_resources", 1350 "//chrome/browser/resources:net_internals_resources",
1351 "//chrome/browser/resources:options_resources",
1352 "//chrome/browser/resources:password_manager_internals_resources", 1351 "//chrome/browser/resources:password_manager_internals_resources",
1353 "//chrome/browser/resources:policy_resources", 1352 "//chrome/browser/resources:policy_resources",
1354 "//chrome/browser/resources:quota_internals_resources", 1353 "//chrome/browser/resources:quota_internals_resources",
1355 "//chrome/browser/resources:settings_resources",
1356 "//chrome/browser/resources:task_scheduler_internals_resources", 1354 "//chrome/browser/resources:task_scheduler_internals_resources",
1357 "//chrome/browser/resources:translate_internals_resources", 1355 "//chrome/browser/resources:translate_internals_resources",
1358 "//chrome/browser/resources:webapks_ui_resources", 1356 "//chrome/browser/resources:webapks_ui_resources",
1359 ] 1357 ]
1360 1358
1359 if (!is_android && !is_ios) {
1360 public_deps += [
1361 "//chrome/browser/resources:component_extension_resources",
1362 "//chrome/browser/resources:options_resources",
1363 "//chrome/browser/resources:settings_resources",
1364 ]
1365 }
1366
1361 if (is_chromeos) { 1367 if (is_chromeos) {
1362 public_deps += [ "//chrome/browser/resources/chromeos/chromevox" ] 1368 public_deps += [ "//chrome/browser/resources/chromeos/chromevox" ]
1363 public_deps += [ "//chrome/browser/resources/chromeos/select_to_speak" ] 1369 public_deps += [ "//chrome/browser/resources/chromeos/select_to_speak" ]
1364 } 1370 }
1365 1371
1366 if (enable_extensions) { 1372 if (enable_extensions) {
1367 public_deps += 1373 public_deps +=
1368 [ "//chrome/browser/resources:sync_file_system_internals_resources" ] 1374 [ "//chrome/browser/resources:sync_file_system_internals_resources" ]
1369 } 1375 }
1370 } 1376 }
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
1425 1431
1426 if (is_chrome_branded && !is_mac && !is_android) { 1432 if (is_chrome_branded && !is_mac && !is_android) {
1427 public_deps = [ 1433 public_deps = [
1428 ":default_apps", 1434 ":default_apps",
1429 ] 1435 ]
1430 } 1436 }
1431 } 1437 }
1432 1438
1433 repack("browser_tests_pak") { 1439 repack("browser_tests_pak") {
1434 sources = [ 1440 sources = [
1435 "$root_gen_dir/chrome/options_test_resources.pak",
1436 "$root_gen_dir/chrome/webui_test_resources.pak", 1441 "$root_gen_dir/chrome/webui_test_resources.pak",
1437 ] 1442 ]
1438 output = "$root_out_dir/browser_tests.pak" 1443 output = "$root_out_dir/browser_tests.pak"
1439 deps = [ 1444 deps = [
1440 "//chrome/browser/resources:options_test_resources",
1441 "//chrome/test/data:webui_test_resources", 1445 "//chrome/test/data:webui_test_resources",
1442 ] 1446 ]
1447 if (!is_android && !is_ios) {
1448 sources += [ "$root_gen_dir/chrome/options_test_resources.pak" ]
1449 deps += [ "//chrome/browser/resources:options_test_resources" ]
1450 }
1443 } 1451 }
1444 1452
1445 group("strings") { 1453 group("strings") {
1446 public_deps = [ 1454 public_deps = [
1447 "//chrome/app:chromium_strings", 1455 "//chrome/app:chromium_strings",
1448 "//chrome/app:generated_resources", 1456 "//chrome/app:generated_resources",
1449 "//chrome/app:google_chrome_strings", 1457 "//chrome/app:google_chrome_strings",
1450 "//chrome/app/resources:locale_settings", 1458 "//chrome/app/resources:locale_settings",
1451 ] 1459 ]
1452 } 1460 }
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
1613 "//chrome/app/theme/$branding_path_component/product_logo_48.png", 1621 "//chrome/app/theme/$branding_path_component/product_logo_48.png",
1614 "//chrome/tools/build/linux/chrome-wrapper", 1622 "//chrome/tools/build/linux/chrome-wrapper",
1615 "//third_party/xdg-utils/scripts/xdg-mime", 1623 "//third_party/xdg-utils/scripts/xdg-mime",
1616 "//third_party/xdg-utils/scripts/xdg-settings", 1624 "//third_party/xdg-utils/scripts/xdg-settings",
1617 ] 1625 ]
1618 outputs = [ 1626 outputs = [
1619 "$root_out_dir/{{source_file_part}}", 1627 "$root_out_dir/{{source_file_part}}",
1620 ] 1628 ]
1621 } 1629 }
1622 } 1630 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698