| 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 static_library("crypto") { | 7 static_library("crypto") { |
| 8 sources = [ | 8 sources = [ |
| 9 "encryption_header_parsers.cc", | 9 "encryption_header_parsers.cc", |
| 10 "encryption_header_parsers.h", | 10 "encryption_header_parsers.h", |
| 11 "gcm_encryption_provider.cc", | 11 "gcm_encryption_provider.cc", |
| 12 "gcm_encryption_provider.h", | 12 "gcm_encryption_provider.h", |
| 13 "gcm_key_store.cc", | 13 "gcm_key_store.cc", |
| 14 "gcm_key_store.h", | 14 "gcm_key_store.h", |
| 15 "gcm_message_cryptographer.cc", | 15 "gcm_message_cryptographer.cc", |
| 16 "gcm_message_cryptographer.h", | 16 "gcm_message_cryptographer.h", |
| 17 "message_payload_parser.cc", |
| 18 "message_payload_parser.h", |
| 17 "p256_key_util.cc", | 19 "p256_key_util.cc", |
| 18 "p256_key_util.h", | 20 "p256_key_util.h", |
| 19 ] | 21 ] |
| 20 | 22 |
| 21 deps = [ | 23 deps = [ |
| 22 "//base", | 24 "//base", |
| 23 "//components/gcm_driver/common", | 25 "//components/gcm_driver/common", |
| 24 "//components/gcm_driver/crypto/proto", | 26 "//components/gcm_driver/crypto/proto", |
| 25 "//components/leveldb_proto", | 27 "//components/leveldb_proto", |
| 26 "//crypto", | 28 "//crypto", |
| (...skipping 18 matching lines...) Expand all Loading... |
| 45 ] | 47 ] |
| 46 } | 48 } |
| 47 | 49 |
| 48 source_set("unit_tests") { | 50 source_set("unit_tests") { |
| 49 testonly = true | 51 testonly = true |
| 50 sources = [ | 52 sources = [ |
| 51 "encryption_header_parsers_unittest.cc", | 53 "encryption_header_parsers_unittest.cc", |
| 52 "gcm_encryption_provider_unittest.cc", | 54 "gcm_encryption_provider_unittest.cc", |
| 53 "gcm_key_store_unittest.cc", | 55 "gcm_key_store_unittest.cc", |
| 54 "gcm_message_cryptographer_unittest.cc", | 56 "gcm_message_cryptographer_unittest.cc", |
| 57 "message_payload_parser_unittest.cc", |
| 55 "p256_key_util_unittest.cc", | 58 "p256_key_util_unittest.cc", |
| 56 ] | 59 ] |
| 57 | 60 |
| 58 deps = [ | 61 deps = [ |
| 59 ":crypto", | 62 ":crypto", |
| 60 "//base", | 63 "//base", |
| 61 "//base/test:test_support", | 64 "//base/test:test_support", |
| 62 "//components/gcm_driver/common", | 65 "//components/gcm_driver/common", |
| 63 "//crypto", | 66 "//crypto", |
| 64 "//crypto:platform", | 67 "//crypto:platform", |
| 65 "//net:test_support", | 68 "//net:test_support", |
| 66 "//testing/gtest", | 69 "//testing/gtest", |
| 67 "//third_party/protobuf:protobuf_lite", | 70 "//third_party/protobuf:protobuf_lite", |
| 68 ] | 71 ] |
| 69 } | 72 } |
| OLD | NEW |