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

Side by Side Diff: crypto/BUILD.gn

Issue 291343002: Enable more targets in the Android GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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("//build/config/crypto.gni") 5 import("//build/config/crypto.gni")
6 6
7 component("crypto") { 7 component("crypto") {
8 output_name = "crcrypto" # Avoid colliding with OpenSSL's libcrypto. 8 output_name = "crcrypto" # Avoid colliding with OpenSSL's libcrypto.
9 sources = [ 9 sources = [
10 "apple_keychain.h", 10 "apple_keychain.h",
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 "mac_security_services_lock.h", 111 "mac_security_services_lock.h",
112 ] 112 ]
113 } 113 }
114 if (!is_win) { 114 if (!is_win) {
115 sources -= [ 115 sources -= [
116 "capi_util.cc", 116 "capi_util.cc",
117 "capi_util.h", 117 "capi_util.h",
118 ] 118 ]
119 } 119 }
120 120
121 if (is_android) {
122 deps += [ "//third_party/android_tools:cpu_features" ]
123 }
124
121 if (use_openssl) { 125 if (use_openssl) {
122 # Remove NSS files when using OpenSSL 126 # Remove NSS files when using OpenSSL
123 sources -= [ 127 sources -= [
124 "ec_private_key_nss.cc", 128 "ec_private_key_nss.cc",
125 "ec_signature_creator_nss.cc", 129 "ec_signature_creator_nss.cc",
126 "encryptor_nss.cc", 130 "encryptor_nss.cc",
127 "hmac_nss.cc", 131 "hmac_nss.cc",
128 "nss_util.cc", 132 "nss_util.cc",
129 "nss_util.h", 133 "nss_util.h",
130 "rsa_private_key_nss.cc", 134 "rsa_private_key_nss.cc",
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 ] 261 ]
258 } else { 262 } else {
259 # Non-Linux platforms use the hermetic NSS from the tree. 263 # Non-Linux platforms use the hermetic NSS from the tree.
260 deps += [ 264 deps += [
261 "//third_party/nss:nspr", 265 "//third_party/nss:nspr",
262 "//third_party/nss:nss", 266 "//third_party/nss:nss",
263 ] 267 ]
264 } 268 }
265 } 269 }
266 } 270 }
OLDNEW
« BUILD.gn ('K') | « BUILD.gn ('k') | tools/gn/secondary/third_party/android_tools/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698