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", |
(...skipping 21 matching lines...) Expand all Loading... |
32 sources -= [ "gcm_message_cryptographer_nss.cc" ] | 32 sources -= [ "gcm_message_cryptographer_nss.cc" ] |
33 } else { | 33 } else { |
34 sources -= [ "gcm_message_cryptographer_openssl.cc" ] | 34 sources -= [ "gcm_message_cryptographer_openssl.cc" ] |
35 } | 35 } |
36 } | 36 } |
37 | 37 |
38 source_set("unit_tests") { | 38 source_set("unit_tests") { |
39 testonly = true | 39 testonly = true |
40 sources = [ | 40 sources = [ |
41 "encryption_header_parsers_unittest.cc", | 41 "encryption_header_parsers_unittest.cc", |
| 42 "gcm_encryption_provider_unittest.cc", |
42 "gcm_key_store_unittest.cc", | 43 "gcm_key_store_unittest.cc", |
43 "gcm_message_cryptographer_unittest.cc", | 44 "gcm_message_cryptographer_unittest.cc", |
44 ] | 45 ] |
45 | 46 |
46 deps = [ | 47 deps = [ |
47 ":crypto", | 48 ":crypto", |
48 "//base", | 49 "//base", |
49 "//crypto:platform", | 50 "//crypto:platform", |
50 "//testing/gtest", | 51 "//testing/gtest", |
51 "//third_party/protobuf:protobuf_lite", | 52 "//third_party/protobuf:protobuf_lite", |
52 ] | 53 ] |
53 } | 54 } |
OLD | NEW |