| 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("//tools/grit/grit_rule.gni") | 5 import("//tools/grit/grit_rule.gni") |
| 6 | 6 |
| 7 gypi_values = exec_script( | 7 gypi_values = exec_script( |
| 8 "//build/gypi_to_gn.py", | 8 "//build/gypi_to_gn.py", |
| 9 [ rebase_path("../chrome_common.gypi") ], | 9 [ rebase_path("../chrome_common.gypi") ], |
| 10 "scope", | 10 "scope", |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 "//components/visitedlink/common", | 87 "//components/visitedlink/common", |
| 88 "//components/autofill/content/common", | 88 "//components/autofill/content/common", |
| 89 "//components/autofill/core/common", | 89 "//components/autofill/core/common", |
| 90 "//components/password_manager/content/common", | 90 "//components/password_manager/content/common", |
| 91 "//components/password_manager/core/common", | 91 "//components/password_manager/core/common", |
| 92 "//components/signin/core/common", | 92 "//components/signin/core/common", |
| 93 "//components/translate/content/common", | 93 "//components/translate/content/common", |
| 94 "//extensions/common", | 94 "//extensions/common", |
| 95 "//extensions/common/api", | 95 "//extensions/common/api", |
| 96 "//ipc", | 96 "//ipc", |
| 97 "//third_party/adobe/flash:flapper_version_h", | |
| 98 "//third_party/re2", | 97 "//third_party/re2", |
| 99 "//third_party/widevine/cdm:version_h", | 98 "//third_party/widevine/cdm:version_h", |
| 100 ] | 99 ] |
| 101 } | 100 } |
| 102 | 101 |
| 103 if (enable_extensions) { | 102 if (enable_extensions) { |
| 104 sources += rebase_path( | 103 sources += rebase_path( |
| 105 gypi_values.chrome_common_extensions_sources, | 104 gypi_values.chrome_common_extensions_sources, |
| 106 ".", "//chrome") | 105 ".", "//chrome") |
| 107 deps += [ | 106 deps += [ |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 ] | 203 ] |
| 205 deps += [ | 204 deps += [ |
| 206 "//third_party/mach_override", | 205 "//third_party/mach_override", |
| 207 "//third_party/google_toolbox_for_mac", | 206 "//third_party/google_toolbox_for_mac", |
| 208 ] | 207 ] |
| 209 } | 208 } |
| 210 | 209 |
| 211 if (enable_remoting) { | 210 if (enable_remoting) { |
| 212 #deps += [ '../remoting/remoting.gyp:remoting_client_plugin' ] TODO(GYP) | 211 #deps += [ '../remoting/remoting.gyp:remoting_client_plugin' ] TODO(GYP) |
| 213 } | 212 } |
| 214 if (!enable_plugins) { | 213 if (enable_plugins) { |
| 214 deps += [ |
| 215 "//third_party/adobe/flash:flapper_version_h", |
| 216 ] |
| 217 } else { |
| 215 sources -= [ "pepper_permission_util.cc" ] | 218 sources -= [ "pepper_permission_util.cc" ] |
| 216 } | 219 } |
| 217 if (!enable_webrtc) { | 220 if (!enable_webrtc) { |
| 218 sources -= [ "media/webrtc_logging_messages.h" ] | 221 sources -= [ "media/webrtc_logging_messages.h" ] |
| 219 } | 222 } |
| 220 if (enable_configuration_policy) { | 223 if (enable_configuration_policy) { |
| 221 deps += [ "//components/policy" ] | 224 deps += [ "//components/policy" ] |
| 222 } | 225 } |
| 223 | 226 |
| 224 if (safe_browsing_mode == 1) { | 227 if (safe_browsing_mode == 1) { |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 "//components/bookmarks/common", | 284 "//components/bookmarks/common", |
| 282 "//third_party/widevine/cdm:version_h", | 285 "//third_party/widevine/cdm:version_h", |
| 283 ] | 286 ] |
| 284 | 287 |
| 285 if (enable_nacl) { | 288 if (enable_nacl) { |
| 286 deps += [ | 289 deps += [ |
| 287 #'../components/nacl.gyp:nacl_switches', TODO(GYP) | 290 #'../components/nacl.gyp:nacl_switches', TODO(GYP) |
| 288 ] | 291 ] |
| 289 } | 292 } |
| 290 } | 293 } |
| OLD | NEW |