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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 } | 106 } |
107 | 107 |
108 if (is_win || is_mac) { | 108 if (is_win || is_mac) { |
109 sources += rebase_path( | 109 sources += rebase_path( |
110 gypi_values.chrome_common_win_mac_sources, | 110 gypi_values.chrome_common_win_mac_sources, |
111 ".", "//chrome") | 111 ".", "//chrome") |
112 if (use_openssl) { | 112 if (use_openssl) { |
113 sources -= [ | 113 sources -= [ |
114 "extensions/api/networking_private/networking_private_crypto_nss.cc", | 114 "extensions/api/networking_private/networking_private_crypto_nss.cc", |
115 ] | 115 ] |
| 116 # networking_private_crypto_openssl.cc depends on boringssl. |
| 117 deps += [ |
| 118 "//third_party/boringssl", |
| 119 ] |
116 } else { | 120 } else { |
117 sources -= [ | 121 sources -= [ |
118 "extensions/api/networking_private/networking_private_crypto_openssl.cc"
, | 122 "extensions/api/networking_private/networking_private_crypto_openssl.cc"
, |
119 ] | 123 ] |
120 } | 124 } |
121 } | 125 } |
122 if (is_mac) { | 126 if (is_mac) { |
123 sources += rebase_path( | 127 sources += rebase_path( |
124 gypi_values.chrome_common_mac_sources, | 128 gypi_values.chrome_common_mac_sources, |
125 ".", "//chrome") | 129 ".", "//chrome") |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 "//components/bookmarks/common", | 302 "//components/bookmarks/common", |
299 "//third_party/widevine/cdm:version_h", | 303 "//third_party/widevine/cdm:version_h", |
300 ] | 304 ] |
301 | 305 |
302 if (enable_nacl) { | 306 if (enable_nacl) { |
303 deps += [ | 307 deps += [ |
304 #'../components/nacl.gyp:nacl_switches', TODO(GYP) | 308 #'../components/nacl.gyp:nacl_switches', TODO(GYP) |
305 ] | 309 ] |
306 } | 310 } |
307 } | 311 } |
OLD | NEW |