| 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("//build/gypi_to_gn.py", | 7 gypi_values = exec_script("//build/gypi_to_gn.py", |
| 8 [ rebase_path("../chrome_common.gypi") ], | 8 [ rebase_path("../chrome_common.gypi") ], |
| 9 "scope", | 9 "scope", |
| 10 [ "../chrome_common.gypi" ]) | 10 [ "../chrome_common.gypi" ]) |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 "//extensions/common", | 106 "//extensions/common", |
| 107 "//extensions/common/api", | 107 "//extensions/common/api", |
| 108 "//extensions:extensions_resources", | 108 "//extensions:extensions_resources", |
| 109 "//extensions/strings", | 109 "//extensions/strings", |
| 110 ] | 110 ] |
| 111 } | 111 } |
| 112 | 112 |
| 113 if (is_win || is_mac) { | 113 if (is_win || is_mac) { |
| 114 sources += | 114 sources += |
| 115 rebase_path(gypi_values.chrome_common_win_mac_sources, ".", "//chrome") | 115 rebase_path(gypi_values.chrome_common_win_mac_sources, ".", "//chrome") |
| 116 deps += [ "//breakpad:client" ] |
| 117 } |
| 118 if (is_win || is_mac || is_chromeos) { |
| 116 if (use_openssl) { | 119 if (use_openssl) { |
| 117 sources -= [ "extensions/api/networking_private/networking_private_crypto_
nss.cc" ] | 120 sources += rebase_path( |
| 121 gypi_values.chrome_common_networking_private_sources_openssl, |
| 122 ".", |
| 123 "//chrome") |
| 118 | 124 |
| 119 # networking_private_crypto_openssl.cc depends on boringssl. | 125 # networking_private_crypto_openssl.cc depends on boringssl. |
| 120 deps += [ "//third_party/boringssl" ] | 126 deps += [ "//third_party/boringssl" ] |
| 121 } else { | 127 } else { |
| 122 sources -= [ "extensions/api/networking_private/networking_private_crypto_
openssl.cc" ] | 128 sources += |
| 129 rebase_path(gypi_values.chrome_common_networking_private_sources_nss, |
| 130 ".", |
| 131 "//chrome") |
| 123 } | 132 } |
| 124 deps += [ "//breakpad:client" ] | |
| 125 } | 133 } |
| 126 if (is_mac) { | 134 if (is_mac) { |
| 127 sources += | 135 sources += |
| 128 rebase_path(gypi_values.chrome_common_mac_sources, ".", "//chrome") | 136 rebase_path(gypi_values.chrome_common_mac_sources, ".", "//chrome") |
| 129 } | 137 } |
| 130 | 138 |
| 131 if (enable_nacl) { | 139 if (enable_nacl) { |
| 132 deps += [ | 140 deps += [ |
| 133 #'<(DEPTH)/components/nacl.gyp:nacl_common', TODO(GYP) | 141 #'<(DEPTH)/components/nacl.gyp:nacl_common', TODO(GYP) |
| 134 ] | 142 ] |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 ] | 305 ] |
| 298 } | 306 } |
| 299 | 307 |
| 300 if (enable_extensions) { | 308 if (enable_extensions) { |
| 301 sources += [ | 309 sources += [ |
| 302 "extensions/extension_test_util.cc", | 310 "extensions/extension_test_util.cc", |
| 303 "extensions/extension_test_util.h", | 311 "extensions/extension_test_util.h", |
| 304 ] | 312 ] |
| 305 } | 313 } |
| 306 } | 314 } |
| OLD | NEW |