| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 "//components/favicon_base", | 82 "//components/favicon_base", |
| 83 "//components/flags_ui:switches", | 83 "//components/flags_ui:switches", |
| 84 "//components/gcm_driver/common", | 84 "//components/gcm_driver/common", |
| 85 "//components/json_schema", | 85 "//components/json_schema", |
| 86 "//components/metrics", | 86 "//components/metrics", |
| 87 "//components/metrics:net", | 87 "//components/metrics:net", |
| 88 "//components/nacl/common:process_type", | 88 "//components/nacl/common:process_type", |
| 89 "//components/nacl/common:switches", | 89 "//components/nacl/common:switches", |
| 90 "//components/offline_pages:switches", | 90 "//components/offline_pages:switches", |
| 91 "//components/omnibox/common", | 91 "//components/omnibox/common", |
| 92 "//components/policy", |
| 92 "//components/policy:policy_component_common", | 93 "//components/policy:policy_component_common", |
| 93 "//components/prefs", | 94 "//components/prefs", |
| 94 "//components/strings", | 95 "//components/strings", |
| 95 "//components/translate/core/common", | 96 "//components/translate/core/common", |
| 96 "//components/url_formatter", | 97 "//components/url_formatter", |
| 97 "//components/variations", | 98 "//components/variations", |
| 98 "//components/version_info", | 99 "//components/version_info", |
| 99 "//content/public/common", | 100 "//content/public/common", |
| 100 "//crypto", | 101 "//crypto", |
| 101 "//extensions/common:common_constants", | 102 "//extensions/common:common_constants", |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 } | 265 } |
| 265 if (enable_plugins && enable_extensions) { | 266 if (enable_plugins && enable_extensions) { |
| 266 sources += [ | 267 sources += [ |
| 267 "pepper_permission_util.cc", | 268 "pepper_permission_util.cc", |
| 268 "pepper_permission_util.h", | 269 "pepper_permission_util.h", |
| 269 ] | 270 ] |
| 270 } | 271 } |
| 271 if (!enable_webrtc) { | 272 if (!enable_webrtc) { |
| 272 sources -= [ "media/webrtc_logging_messages.h" ] | 273 sources -= [ "media/webrtc_logging_messages.h" ] |
| 273 } | 274 } |
| 274 if (enable_configuration_policy) { | |
| 275 public_deps += [ "//components/policy" ] | |
| 276 } | |
| 277 | 275 |
| 278 if (safe_browsing_mode == 1) { | 276 if (safe_browsing_mode == 1) { |
| 279 sources += rebase_path(gypi_values.chrome_common_full_safe_browsing_sources, | 277 sources += rebase_path(gypi_values.chrome_common_full_safe_browsing_sources, |
| 280 ".", | 278 ".", |
| 281 "//chrome") | 279 "//chrome") |
| 282 } | 280 } |
| 283 } | 281 } |
| 284 | 282 |
| 285 # GYP version: chrome/common_constants.gyp:version_header | 283 # GYP version: chrome/common_constants.gyp:version_header |
| 286 process_version("version_header") { | 284 process_version("version_header") { |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 394 ":constants", | 392 ":constants", |
| 395 "//base", | 393 "//base", |
| 396 ] | 394 ] |
| 397 } | 395 } |
| 398 | 396 |
| 399 mojom("mojo_bindings") { | 397 mojom("mojo_bindings") { |
| 400 sources = [ | 398 sources = [ |
| 401 "resource_usage_reporter.mojom", | 399 "resource_usage_reporter.mojom", |
| 402 ] | 400 ] |
| 403 } | 401 } |
| OLD | NEW |