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

Side by Side Diff: components/ownership/BUILD.gn

Issue 1106103003: Don't use RSAPrivateKey in NSS integration code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ocsp-refactor
Patch Set: pneubeck comments Created 5 years, 7 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
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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/features.gni") 6 import("//build/config/features.gni")
6 7
7 component("ownership") { 8 component("ownership") {
8 sources = [ 9 sources = [
9 "mock_owner_key_util.cc", 10 "mock_owner_key_util.cc",
10 "mock_owner_key_util.h", 11 "mock_owner_key_util.h",
11 "owner_key_util.cc", 12 "owner_key_util.cc",
12 "owner_key_util.h", 13 "owner_key_util.h",
13 "owner_key_util_impl.cc", 14 "owner_key_util_impl.cc",
14 "owner_key_util_impl.h", 15 "owner_key_util_impl.h",
15 "owner_settings_service.cc", 16 "owner_settings_service.cc",
16 "owner_settings_service.h", 17 "owner_settings_service.h",
17 ] 18 ]
18 19
19 defines = [ "OWNERSHIP_IMPLEMENTATION" ] 20 defines = [ "OWNERSHIP_IMPLEMENTATION" ]
20 21
21 deps = [ 22 deps = [
22 "//base", 23 "//base",
23 "//components/keyed_service/core", 24 "//components/keyed_service/core",
24 "//components/policy/proto", 25 "//components/policy/proto",
25 "//components/policy:policy_component_common", 26 "//components/policy:policy_component_common",
26 "//crypto", 27 "//crypto",
27 ] 28 ]
28 29
29 if (enable_configuration_policy) { 30 if (enable_configuration_policy) {
30 deps += [ "//components/policy" ] 31 deps += [ "//components/policy" ]
31 } 32 }
33
34 if (use_nss_certs) {
35 deps += [ "//crypto:platform" ]
36 }
32 } 37 }
33 38
34 source_set("unit_tests") { 39 source_set("unit_tests") {
35 testonly = true 40 testonly = true
36 sources = [ 41 sources = [
37 "owner_key_util_impl_unittest.cc", 42 "owner_key_util_impl_unittest.cc",
38 ] 43 ]
39 44
40 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 45 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
41 46
42 deps = [ 47 deps = [
43 ":ownership", 48 ":ownership",
44 "//testing/gtest", 49 "//testing/gtest",
45 ] 50 ]
46 } 51 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698