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

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

Issue 1439973004: [PoC] Reformat all BUILD.gn and *.gni files with new gn. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-sort-deps
Patch Set: Rebase Created 5 years, 1 month 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", 18 "gcm_message_cryptographer_nss.cc",
19 "gcm_message_cryptographer_openssl.cc", 19 "gcm_message_cryptographer_openssl.cc",
20 ] 20 ]
21 21
22 deps = [ 22 deps = [
23 "proto",
24 "//base", 23 "//base",
24 "//components/leveldb_proto",
25 "//crypto", 25 "//crypto",
26 "//crypto:platform", 26 "//crypto:platform",
27 "//components/leveldb_proto",
28 "//third_party/protobuf:protobuf_lite", 27 "//third_party/protobuf:protobuf_lite",
28 "proto",
29 ] 29 ]
30 30
31 if (use_openssl) { 31 if (use_openssl) {
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_encryption_provider_unittest.cc",
43 "gcm_key_store_unittest.cc", 43 "gcm_key_store_unittest.cc",
44 "gcm_message_cryptographer_unittest.cc", 44 "gcm_message_cryptographer_unittest.cc",
45 ] 45 ]
46 46
47 deps = [ 47 deps = [
48 ":crypto", 48 ":crypto",
49 "//base", 49 "//base",
50 "//crypto:platform", 50 "//crypto:platform",
51 "//testing/gtest", 51 "//testing/gtest",
52 "//third_party/protobuf:protobuf_lite", 52 "//third_party/protobuf:protobuf_lite",
53 ] 53 ]
54 } 54 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698