| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 ] | 116 ] |
| 117 # networking_private_crypto_openssl.cc depends on boringssl. | 117 # networking_private_crypto_openssl.cc depends on boringssl. |
| 118 deps += [ | 118 deps += [ |
| 119 "//third_party/boringssl", | 119 "//third_party/boringssl", |
| 120 ] | 120 ] |
| 121 } else { | 121 } else { |
| 122 sources -= [ | 122 sources -= [ |
| 123 "extensions/api/networking_private/networking_private_crypto_openssl.cc"
, | 123 "extensions/api/networking_private/networking_private_crypto_openssl.cc"
, |
| 124 ] | 124 ] |
| 125 } | 125 } |
| 126 deps += [ "//breakpad:client" ] |
| 126 } | 127 } |
| 127 if (is_mac) { | 128 if (is_mac) { |
| 128 sources += rebase_path( | 129 sources += rebase_path( |
| 129 gypi_values.chrome_common_mac_sources, | 130 gypi_values.chrome_common_mac_sources, |
| 130 ".", "//chrome") | 131 ".", "//chrome") |
| 131 } | 132 } |
| 132 | 133 |
| 133 if (enable_nacl) { | 134 if (enable_nacl) { |
| 134 deps += [ | 135 deps += [ |
| 135 #'<(DEPTH)/components/nacl.gyp:nacl_common', TODO(GYP) | 136 #'<(DEPTH)/components/nacl.gyp:nacl_common', TODO(GYP) |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 if (is_chromeos) { | 197 if (is_chromeos) { |
| 197 sources -= [ "chrome_version_info_linux.cc" ] | 198 sources -= [ "chrome_version_info_linux.cc" ] |
| 198 } | 199 } |
| 199 | 200 |
| 200 if (is_mac) { | 201 if (is_mac) { |
| 201 sources -= [ | 202 sources -= [ |
| 202 "chrome_version_info_posix.cc", | 203 "chrome_version_info_posix.cc", |
| 203 ] | 204 ] |
| 204 deps += [ | 205 deps += [ |
| 205 "//third_party/mach_override", | 206 "//third_party/mach_override", |
| 206 #'../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_
toolbox_for_mac', TODO(GYP) | 207 "//third_party/google_toolbox_for_mac", |
| 207 ] | 208 ] |
| 208 } | 209 } |
| 209 | 210 |
| 210 if (enable_remoting) { | 211 if (enable_remoting) { |
| 211 #deps += [ '../remoting/remoting.gyp:remoting_client_plugin' ] TODO(GYP) | 212 #deps += [ '../remoting/remoting.gyp:remoting_client_plugin' ] TODO(GYP) |
| 212 } | 213 } |
| 213 if (!enable_plugins) { | 214 if (!enable_plugins) { |
| 214 sources -= [ "pepper_permission_util.cc" ] | 215 sources -= [ "pepper_permission_util.cc" ] |
| 215 } | 216 } |
| 216 if (!enable_webrtc) { | 217 if (!enable_webrtc) { |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 "//components/bookmarks/common", | 304 "//components/bookmarks/common", |
| 304 "//third_party/widevine/cdm:version_h", | 305 "//third_party/widevine/cdm:version_h", |
| 305 ] | 306 ] |
| 306 | 307 |
| 307 if (enable_nacl) { | 308 if (enable_nacl) { |
| 308 deps += [ | 309 deps += [ |
| 309 #'../components/nacl.gyp:nacl_switches', TODO(GYP) | 310 #'../components/nacl.gyp:nacl_switches', TODO(GYP) |
| 310 ] | 311 ] |
| 311 } | 312 } |
| 312 } | 313 } |
| OLD | NEW |