Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(337)

Side by Side Diff: chrome/common/BUILD.gn

Issue 396463004: Implement NetworkingPrivateCrypto for OpenSSL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase across gyp/gn changes. Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/common/extensions/api/networking_private/networking_private_crypto.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698