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

Side by Side Diff: chrome/BUILD.gn

Issue 2769483002: Don't check is_ios in chrome/, it's always false there. (Closed)
Patch Set: Created 3 years, 9 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/app/resources/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 18 matching lines...) Expand all
29 import("//build/compiled_action.gni") 29 import("//build/compiled_action.gni")
30 import("//build/config/mac/rules.gni") 30 import("//build/config/mac/rules.gni")
31 import("//build/config/mac/symbols.gni") 31 import("//build/config/mac/symbols.gni")
32 import("//build/mac/tweak_info_plist.gni") 32 import("//build/mac/tweak_info_plist.gni")
33 import("//build/util/branding.gni") 33 import("//build/util/branding.gni")
34 import("//build/util/version.gni") 34 import("//build/util/version.gni")
35 import("//media/cdm/ppapi/cdm_paths.gni") 35 import("//media/cdm/ppapi/cdm_paths.gni")
36 import("//third_party/icu/config.gni") 36 import("//third_party/icu/config.gni")
37 } 37 }
38 38
39 assert(!is_ios, "Chromium/iOS shouldn't use anything in //chrome")
40
39 if (enable_resource_whitelist_generation) { 41 if (enable_resource_whitelist_generation) {
40 chrome_resource_whitelist = "$target_gen_dir/chrome_resource_whitelist.txt" 42 chrome_resource_whitelist = "$target_gen_dir/chrome_resource_whitelist.txt"
41 } 43 }
42 44
43 if (is_win) { 45 if (is_win) {
44 action("reorder_imports") { 46 action("reorder_imports") {
45 script = "//build/win/reorder-imports.py" 47 script = "//build/win/reorder-imports.py"
46 48
47 # See comment in chrome_dll.gypi in the hardlink_to_output 49 # See comment in chrome_dll.gypi in the hardlink_to_output
48 # target for why this cannot be 'initial' like the DLL. 50 # target for why this cannot be 'initial' like the DLL.
(...skipping 1359 matching lines...) Expand 10 before | Expand all | Expand 10 after
1408 "//chrome/browser/resources:invalidations_resources", 1410 "//chrome/browser/resources:invalidations_resources",
1409 "//chrome/browser/resources:net_internals_resources", 1411 "//chrome/browser/resources:net_internals_resources",
1410 "//chrome/browser/resources:password_manager_internals_resources", 1412 "//chrome/browser/resources:password_manager_internals_resources",
1411 "//chrome/browser/resources:policy_resources", 1413 "//chrome/browser/resources:policy_resources",
1412 "//chrome/browser/resources:quota_internals_resources", 1414 "//chrome/browser/resources:quota_internals_resources",
1413 "//chrome/browser/resources:task_scheduler_internals_resources", 1415 "//chrome/browser/resources:task_scheduler_internals_resources",
1414 "//chrome/browser/resources:translate_internals_resources", 1416 "//chrome/browser/resources:translate_internals_resources",
1415 "//chrome/browser/resources:webapks_ui_resources", 1417 "//chrome/browser/resources:webapks_ui_resources",
1416 ] 1418 ]
1417 1419
1418 if (!is_android && !is_ios) { 1420 if (!is_android) {
1419 public_deps += [ 1421 public_deps += [
1420 "//chrome/browser/resources:component_extension_resources", 1422 "//chrome/browser/resources:component_extension_resources",
1421 "//chrome/browser/resources:options_resources", 1423 "//chrome/browser/resources:options_resources",
1422 "//chrome/browser/resources:settings_resources", 1424 "//chrome/browser/resources:settings_resources",
1423 ] 1425 ]
1424 } 1426 }
1425 1427
1426 if (is_chromeos) { 1428 if (is_chromeos) {
1427 public_deps += [ "//chrome/browser/resources/chromeos/chromevox" ] 1429 public_deps += [ "//chrome/browser/resources/chromeos/chromevox" ]
1428 public_deps += [ "//chrome/browser/resources/chromeos/select_to_speak" ] 1430 public_deps += [ "//chrome/browser/resources/chromeos/select_to_speak" ]
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
1681 "//chrome/app/theme/$branding_path_component/product_logo_48.png", 1683 "//chrome/app/theme/$branding_path_component/product_logo_48.png",
1682 "//chrome/tools/build/linux/chrome-wrapper", 1684 "//chrome/tools/build/linux/chrome-wrapper",
1683 "//third_party/xdg-utils/scripts/xdg-mime", 1685 "//third_party/xdg-utils/scripts/xdg-mime",
1684 "//third_party/xdg-utils/scripts/xdg-settings", 1686 "//third_party/xdg-utils/scripts/xdg-settings",
1685 ] 1687 ]
1686 outputs = [ 1688 outputs = [
1687 "$root_out_dir/{{source_file_part}}", 1689 "$root_out_dir/{{source_file_part}}",
1688 ] 1690 ]
1689 } 1691 }
1690 } 1692 }
OLDNEW
« no previous file with comments | « no previous file | chrome/app/resources/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698