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