OLD | NEW |
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", | 18 "gcm_message_cryptographer_nss.cc", |
19 "gcm_message_cryptographer_openssl.cc", | 19 "gcm_message_cryptographer_openssl.cc", |
20 "p256_key_util.cc", | 20 "p256_key_util.cc", |
21 "p256_key_util.h", | 21 "p256_key_util.h", |
22 "p256_key_util_nss.cc", | 22 "p256_key_util_nss.cc", |
23 "p256_key_util_openssl.cc", | 23 "p256_key_util_openssl.cc", |
24 ] | 24 ] |
25 | 25 |
26 deps = [ | 26 deps = [ |
27 "proto", | |
28 "//base", | 27 "//base", |
| 28 "//components/leveldb_proto", |
29 "//crypto", | 29 "//crypto", |
30 "//crypto:platform", | 30 "//crypto:platform", |
31 "//components/leveldb_proto", | |
32 "//third_party/protobuf:protobuf_lite", | 31 "//third_party/protobuf:protobuf_lite", |
| 32 "proto", |
33 ] | 33 ] |
34 | 34 |
35 if (use_openssl) { | 35 if (use_openssl) { |
36 sources -= [ | 36 sources -= [ |
37 "gcm_message_cryptographer_nss.cc", | 37 "gcm_message_cryptographer_nss.cc", |
38 "p256_key_util_nss.cc", | 38 "p256_key_util_nss.cc", |
39 ] | 39 ] |
40 } else { | 40 } else { |
41 sources -= [ | 41 sources -= [ |
42 "gcm_message_cryptographer_openssl.cc", | 42 "gcm_message_cryptographer_openssl.cc", |
(...skipping 13 matching lines...) Expand all Loading... |
56 ] | 56 ] |
57 | 57 |
58 deps = [ | 58 deps = [ |
59 ":crypto", | 59 ":crypto", |
60 "//base", | 60 "//base", |
61 "//crypto:platform", | 61 "//crypto:platform", |
62 "//testing/gtest", | 62 "//testing/gtest", |
63 "//third_party/protobuf:protobuf_lite", | 63 "//third_party/protobuf:protobuf_lite", |
64 ] | 64 ] |
65 } | 65 } |
OLD | NEW |