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

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

Issue 1231613005: Hook up the Push API with GCM's new ability to own encryption keys. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gcm-encryption
Patch Set: Created 5 years, 4 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
« no previous file with comments | « components/gcm_driver/BUILD.gn ('k') | components/gcm_driver/crypto/gcm_encryption_provider.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "gcm_encryption_provider.cc",
11 "gcm_encryption_provider.h",
10 "gcm_key_store.cc", 12 "gcm_key_store.cc",
11 "gcm_key_store.h", 13 "gcm_key_store.h",
12 "gcm_message_cryptographer.cc", 14 "gcm_message_cryptographer.cc",
13 "gcm_message_cryptographer.h", 15 "gcm_message_cryptographer.h",
14 "gcm_message_cryptographer_nss.cc", 16 "gcm_message_cryptographer_nss.cc",
15 "gcm_message_cryptographer_openssl.cc", 17 "gcm_message_cryptographer_openssl.cc",
16 ] 18 ]
17 19
18 deps = [ 20 deps = [
21 "proto",
19 "//base", 22 "//base",
20 "//crypto", 23 "//crypto",
21 "//crypto:platform", 24 "//crypto:platform",
22 "//components/gcm_driver",
23 "//components/gcm_driver/crypto/proto",
24 "//components/leveldb_proto", 25 "//components/leveldb_proto",
25 "//third_party/protobuf:protobuf_lite", 26 "//third_party/protobuf:protobuf_lite",
26 ] 27 ]
27 28
28 if (use_openssl) { 29 if (use_openssl) {
29 sources -= [ "gcm_message_cryptographer_nss.cc" ] 30 sources -= [ "gcm_message_cryptographer_nss.cc" ]
30 } else { 31 } else {
31 sources -= [ "gcm_message_cryptographer_openssl.cc" ] 32 sources -= [ "gcm_message_cryptographer_openssl.cc" ]
32 } 33 }
33 } 34 }
34 35
35 source_set("unit_tests") { 36 source_set("unit_tests") {
36 testonly = true 37 testonly = true
37 sources = [ 38 sources = [
38 "gcm_key_store_unittest.cc", 39 "gcm_key_store_unittest.cc",
39 "gcm_message_cryptographer_unittest.cc", 40 "gcm_message_cryptographer_unittest.cc",
40 ] 41 ]
41 42
42 deps = [ 43 deps = [
43 ":crypto", 44 ":crypto",
44 "//base", 45 "//base",
45 "//crypto:platform", 46 "//crypto:platform",
46 "//testing/gtest", 47 "//testing/gtest",
47 "//third_party/protobuf:protobuf_lite", 48 "//third_party/protobuf:protobuf_lite",
48 ] 49 ]
49 } 50 }
OLDNEW
« no previous file with comments | « components/gcm_driver/BUILD.gn ('k') | components/gcm_driver/crypto/gcm_encryption_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698