| 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("//chrome/common/features.gni") | 6 import("//chrome/common/features.gni") |
| 7 import("//chrome/version.gni") | 7 import("//chrome/version.gni") |
| 8 import("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") |
| 9 import("//tools/grit/grit_rule.gni") | 9 import("//tools/grit/grit_rule.gni") |
| 10 | 10 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 sources = rebase_path(gypi_values.chrome_common_sources, ".", "//chrome") | 46 sources = rebase_path(gypi_values.chrome_common_sources, ".", "//chrome") |
| 47 defines = [] | 47 defines = [] |
| 48 | 48 |
| 49 configs += [ | 49 configs += [ |
| 50 "//build/config:precompiled_headers", | 50 "//build/config:precompiled_headers", |
| 51 "//build/config/compiler:wexit_time_destructors", | 51 "//build/config/compiler:wexit_time_destructors", |
| 52 ] | 52 ] |
| 53 | 53 |
| 54 public_deps = [ | 54 public_deps = [ |
| 55 ":features", | 55 ":features", |
| 56 ":mojo_bindings", |
| 56 "//base:base", | 57 "//base:base", |
| 57 "//base:base_static", | 58 "//base:base_static", |
| 58 "//base:i18n", | 59 "//base:i18n", |
| 59 "//chrome:resources", | 60 "//chrome:resources", |
| 60 "//chrome:strings", | 61 "//chrome:strings", |
| 61 "//chrome/app/theme:theme_resources", | 62 "//chrome/app/theme:theme_resources", |
| 62 "//chrome/common:constants", | 63 "//chrome/common:constants", |
| 64 "//chrome/common/net", |
| 63 "//chrome/common/safe_browsing:proto", | 65 "//chrome/common/safe_browsing:proto", |
| 64 "//chrome/common/variations:fieldtrial_testing_config", | 66 "//chrome/common/variations:fieldtrial_testing_config", |
| 65 "//chrome/installer/util:with_no_strings", | 67 "//chrome/installer/util:with_no_strings", |
| 68 "//components/autofill/content/common", |
| 69 "//components/autofill/core/common", |
| 66 "//components/cast_certificate", | 70 "//components/cast_certificate", |
| 67 "//components/cdm/common", | 71 "//components/cdm/common", |
| 68 "//components/cloud_devices/common", | 72 "//components/cloud_devices/common", |
| 69 "//components/component_updater", | 73 "//components/component_updater", |
| 70 "//components/content_settings/core/common", | 74 "//components/content_settings/core/common", |
| 71 "//components/crash/core/common", | 75 "//components/crash/core/common", |
| 72 "//components/data_reduction_proxy/content/common", | 76 "//components/data_reduction_proxy/content/common", |
| 73 "//components/dom_distiller/core", | 77 "//components/dom_distiller/core", |
| 74 "//components/error_page/common", | 78 "//components/error_page/common", |
| 75 "//components/favicon_base", | 79 "//components/favicon_base", |
| 76 "//components/flags_ui:switches", | 80 "//components/flags_ui:switches", |
| 77 "//components/gcm_driver/common", | 81 "//components/gcm_driver/common", |
| 78 "//components/json_schema", | 82 "//components/json_schema", |
| 79 "//components/metrics", | 83 "//components/metrics", |
| 80 "//components/metrics:net", | 84 "//components/metrics:net", |
| 81 "//components/nacl/common:process_type", | 85 "//components/nacl/common:process_type", |
| 82 "//components/nacl/common:switches", | 86 "//components/nacl/common:switches", |
| 83 "//components/offline_pages:switches", | 87 "//components/offline_pages:switches", |
| 84 "//components/omnibox/common", | 88 "//components/omnibox/common", |
| 89 "//components/password_manager/content/public/interfaces", |
| 90 "//components/password_manager/core/common", |
| 85 "//components/policy:generated", | 91 "//components/policy:generated", |
| 86 "//components/policy/core/common", | 92 "//components/policy/core/common", |
| 87 "//components/prefs", | 93 "//components/prefs", |
| 94 "//components/signin/core/common", |
| 88 "//components/strings", | 95 "//components/strings", |
| 96 "//components/translate/content/common", |
| 89 "//components/translate/core/common", | 97 "//components/translate/core/common", |
| 90 "//components/url_formatter", | 98 "//components/url_formatter", |
| 91 "//components/variations", | 99 "//components/variations", |
| 92 "//components/version_info", | 100 "//components/version_info", |
| 101 "//components/visitedlink/common", |
| 93 "//content/public/common", | 102 "//content/public/common", |
| 94 "//crypto", | 103 "//crypto", |
| 95 "//extensions/common:common_constants", | 104 "//extensions/common:common_constants", |
| 96 "//gin", | 105 "//gin", |
| 97 "//google_apis", | 106 "//google_apis", |
| 98 "//gpu/command_buffer/service", | 107 "//gpu/command_buffer/service", |
| 99 "//gpu/config", | 108 "//gpu/config", |
| 109 "//ipc", |
| 110 "//media", |
| 111 "//mojo/public/cpp/bindings", |
| 100 "//net", | 112 "//net", |
| 101 "//skia", | 113 "//skia", |
| 102 "//third_party/icu", | 114 "//third_party/icu", |
| 103 "//third_party/kasko:kasko_features", | 115 "//third_party/kasko:kasko_features", |
| 116 "//third_party/re2", |
| 117 "//third_party/widevine/cdm:version_h", |
| 104 "//third_party/zlib:zip", | 118 "//third_party/zlib:zip", |
| 105 "//ui/accessibility", | 119 "//ui/accessibility", |
| 106 "//ui/base", | 120 "//ui/base", |
| 107 "//ui/gfx/ipc", | 121 "//ui/gfx/ipc", |
| 108 "//ui/gfx/ipc/geometry", | 122 "//ui/gfx/ipc/geometry", |
| 109 "//ui/gfx/ipc/skia", | 123 "//ui/gfx/ipc/skia", |
| 110 "//ui/gl", | 124 "//ui/gl", |
| 111 "//ui/message_center", | 125 "//ui/message_center", |
| 112 "//ui/resources:resources", | 126 "//ui/resources:resources", |
| 113 "//url", | 127 "//url", |
| 114 ] | 128 ] |
| 115 | 129 |
| 116 if (enable_plugins) { | 130 if (enable_plugins) { |
| 117 public_deps += [ "//ppapi/shared_impl" ] | 131 public_deps += [ "//ppapi/shared_impl" ] |
| 118 } | 132 } |
| 119 | 133 |
| 120 if (is_ios) { | |
| 121 sources += [ | |
| 122 # Use this Mac file that was filtered out. | |
| 123 "channel_info_mac.mm", | |
| 124 ] | |
| 125 sources -= [ | |
| 126 "resource_usage_reporter_type_converters.cc", | |
| 127 "resource_usage_reporter_type_converters.h", | |
| 128 ] | |
| 129 } else { | |
| 130 # Non-iOS. | |
| 131 public_deps += [ | |
| 132 ":mojo_bindings", | |
| 133 "//chrome/common/net", | |
| 134 "//components/autofill/content/common", | |
| 135 "//components/autofill/core/common", | |
| 136 "//components/password_manager/content/public/interfaces", | |
| 137 "//components/password_manager/core/common", | |
| 138 "//components/signin/core/common", | |
| 139 "//components/translate/content/common", | |
| 140 "//components/visitedlink/common", | |
| 141 "//ipc", | |
| 142 "//media", | |
| 143 "//mojo/public/cpp/bindings", | |
| 144 "//third_party/re2", | |
| 145 "//third_party/widevine/cdm:version_h", | |
| 146 ] | |
| 147 } | |
| 148 | |
| 149 if (enable_extensions) { | 134 if (enable_extensions) { |
| 150 sources += rebase_path(gypi_values.chrome_common_extensions_sources, | 135 sources += rebase_path(gypi_values.chrome_common_extensions_sources, |
| 151 ".", | 136 ".", |
| 152 "//chrome") | 137 "//chrome") |
| 153 public_deps += [ | 138 public_deps += [ |
| 154 "//chrome/common/extensions/api", | 139 "//chrome/common/extensions/api", |
| 155 "//chrome/common/extensions/api:extensions_features", | 140 "//chrome/common/extensions/api:extensions_features", |
| 156 "//device/usb", | 141 "//device/usb", |
| 157 "//extensions:extensions_resources", | 142 "//extensions:extensions_resources", |
| 158 "//extensions/common", | 143 "//extensions/common", |
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 419 "resource_usage_reporter.mojom", | 404 "resource_usage_reporter.mojom", |
| 420 "shell_handler_win.mojom", | 405 "shell_handler_win.mojom", |
| 421 ] | 406 ] |
| 422 | 407 |
| 423 public_deps = [ | 408 public_deps = [ |
| 424 "//skia/public/interfaces", | 409 "//skia/public/interfaces", |
| 425 ] | 410 ] |
| 426 | 411 |
| 427 use_new_wrapper_types = false | 412 use_new_wrapper_types = false |
| 428 } | 413 } |
| OLD | NEW |