OLD | NEW |
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 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 import("//tools/grit/grit_rule.gni") | 8 import("//tools/grit/grit_rule.gni") |
9 | 9 |
10 if (is_android) { | 10 if (is_android) { |
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 "cert/test_root_certs_openssl.cc", | 283 "cert/test_root_certs_openssl.cc", |
284 "cert/x509_certificate_openssl.cc", | 284 "cert/x509_certificate_openssl.cc", |
285 "ssl/openssl_client_key_store.cc", | 285 "ssl/openssl_client_key_store.cc", |
286 "ssl/openssl_client_key_store.h", | 286 "ssl/openssl_client_key_store.h", |
287 ] | 287 ] |
288 if (is_android) { | 288 if (is_android) { |
289 sources -= [ | 289 sources -= [ |
290 "base/openssl_private_key_store_android.cc", | 290 "base/openssl_private_key_store_android.cc", |
291 ] | 291 ] |
292 } | 292 } |
| 293 } else if (is_android) { |
| 294 # Android doesn't use these even when using OpenSSL. |
| 295 sources -= [ |
| 296 "base/openssl_private_key_store_memory.cc", |
| 297 "cert/cert_database_openssl.cc", |
| 298 "cert/cert_verify_proc_openssl.cc", |
| 299 "cert/test_root_certs_openssl.cc", |
| 300 ] |
293 } | 301 } |
294 | 302 |
295 if (use_glib) { | 303 if (use_glib) { |
296 configs += [ "//build/config/linux:gconf" ] | 304 configs += [ "//build/config/linux:gconf" ] |
297 deps += [ "//build/config/linux:gio" ] | 305 deps += [ "//build/config/linux:gio" ] |
298 } | 306 } |
299 | 307 |
300 if (is_linux) { | 308 if (is_linux) { |
301 configs += [ "//build/config/linux:libresolv" ] | 309 configs += [ "//build/config/linux:libresolv" ] |
302 } else { | 310 } else { |
(...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
980 | 988 |
981 if (is_android || is_linux) { | 989 if (is_android || is_linux) { |
982 executable("disk_cache_memory_test") { | 990 executable("disk_cache_memory_test") { |
983 sources = [ "tools/disk_cache_memory_test/disk_cache_memory_test.cc" ] | 991 sources = [ "tools/disk_cache_memory_test/disk_cache_memory_test.cc" ] |
984 deps = [ | 992 deps = [ |
985 ":net", | 993 ":net", |
986 "//base", | 994 "//base", |
987 ] | 995 ] |
988 } | 996 } |
989 } | 997 } |
OLD | NEW |