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

Side by Side Diff: components/gcm_driver/crypto/BUILD.gn

Issue 1882433002: Removing NSS files and USE_OPENSSL flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 8 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
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 # GYP version: components/gcm_driver.gypi:gcm_driver_crypto 7 # GYP version: components/gcm_driver.gypi:gcm_driver_crypto
8 source_set("crypto") { 8 source_set("crypto") {
9 sources = [ 9 sources = [
10 "encryption_header_parsers.cc", 10 "encryption_header_parsers.cc",
11 "encryption_header_parsers.h", 11 "encryption_header_parsers.h",
12 "gcm_encryption_provider.cc", 12 "gcm_encryption_provider.cc",
13 "gcm_encryption_provider.h", 13 "gcm_encryption_provider.h",
14 "gcm_key_store.cc", 14 "gcm_key_store.cc",
15 "gcm_key_store.h", 15 "gcm_key_store.h",
16 "gcm_message_cryptographer.cc", 16 "gcm_message_cryptographer.cc",
17 "gcm_message_cryptographer.h", 17 "gcm_message_cryptographer.h",
18 "gcm_message_cryptographer_nss.cc",
19 "gcm_message_cryptographer_openssl.cc", 18 "gcm_message_cryptographer_openssl.cc",
20 "p256_key_util.cc", 19 "p256_key_util.cc",
21 "p256_key_util.h", 20 "p256_key_util.h",
22 "p256_key_util_nss.cc",
23 "p256_key_util_openssl.cc", 21 "p256_key_util_openssl.cc",
24 ] 22 ]
25 23
26 deps = [ 24 deps = [
27 "//base", 25 "//base",
28 "//components/gcm_driver/common", 26 "//components/gcm_driver/common",
29 "//components/gcm_driver/crypto/proto", 27 "//components/gcm_driver/crypto/proto",
30 "//components/leveldb_proto", 28 "//components/leveldb_proto",
31 "//crypto", 29 "//crypto",
32 "//crypto:platform", 30 "//crypto:platform",
33 "//net", 31 "//net",
34 "//third_party/protobuf:protobuf_lite", 32 "//third_party/protobuf:protobuf_lite",
35 ] 33 ]
36
37 if (use_openssl) {
38 sources -= [
39 "gcm_message_cryptographer_nss.cc",
40 "p256_key_util_nss.cc",
41 ]
42 } else {
43 sources -= [
44 "gcm_message_cryptographer_openssl.cc",
45 "p256_key_util_openssl.cc",
46 ]
47 }
48 } 34 }
49 35
50 # GYP version: components/gcm_driver.gypi:gcm_driver_crypto_test_support 36 # GYP version: components/gcm_driver.gypi:gcm_driver_crypto_test_support
51 source_set("test_support") { 37 source_set("test_support") {
52 testonly = true 38 testonly = true
53 sources = [ 39 sources = [
54 "gcm_crypto_test_helpers.cc", 40 "gcm_crypto_test_helpers.cc",
55 "gcm_crypto_test_helpers.h", 41 "gcm_crypto_test_helpers.h",
56 ] 42 ]
57 43
(...skipping 19 matching lines...) Expand all
77 ":crypto", 63 ":crypto",
78 "//base", 64 "//base",
79 "//base/test:test_support", 65 "//base/test:test_support",
80 "//components/gcm_driver/common", 66 "//components/gcm_driver/common",
81 "//crypto", 67 "//crypto",
82 "//crypto:platform", 68 "//crypto:platform",
83 "//testing/gtest", 69 "//testing/gtest",
84 "//third_party/protobuf:protobuf_lite", 70 "//third_party/protobuf:protobuf_lite",
85 ] 71 ]
86 } 72 }
OLDNEW
« no previous file with comments | « components/gcm_driver.gypi ('k') | components/gcm_driver/crypto/gcm_message_cryptographer_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698