OLD | NEW |
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/allocator.gni") | 5 import("//build/config/allocator.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 import("//third_party/protobuf/proto_library.gni") | 8 import("//third_party/protobuf/proto_library.gni") |
9 | 9 |
10 assert(is_chromeos, "Non-ChromeOS builds must not depend on //chromeos") | 10 assert(is_chromeos, "Non-ChromeOS builds must not depend on //chromeos") |
(...skipping 25 matching lines...) Expand all Loading... |
36 "//third_party/libxml", | 36 "//third_party/libxml", |
37 "//third_party/protobuf:protobuf_lite", | 37 "//third_party/protobuf:protobuf_lite", |
38 "//url", | 38 "//url", |
39 ":cryptohome_proto", | 39 ":cryptohome_proto", |
40 ":power_manager_proto", | 40 ":power_manager_proto", |
41 ] | 41 ] |
42 sources = gypi_values.chromeos_sources | 42 sources = gypi_values.chromeos_sources |
43 defines = [ "CHROMEOS_IMPLEMENTATION" ] | 43 defines = [ "CHROMEOS_IMPLEMENTATION" ] |
44 } | 44 } |
45 | 45 |
46 static_library("test_support") { | 46 source_set("test_support") { |
47 testonly = true | 47 testonly = true |
48 configs += [ "//build/config/linux:dbus" ] | 48 configs += [ "//build/config/linux:dbus" ] |
49 deps = [ | 49 public_deps = [ |
50 "//testing/gmock", | |
51 ":chromeos", | 50 ":chromeos", |
52 ":cryptohome_proto", | 51 ":cryptohome_proto", |
53 ":power_manager_proto", | 52 ":power_manager_proto", |
54 ":test_support_without_gmock", | 53 ":test_support_without_gmock", |
| 54 "//testing/gmock", |
55 ] | 55 ] |
56 sources = [ | 56 sources = [ |
57 "attestation/mock_attestation_flow.cc", | 57 "attestation/mock_attestation_flow.cc", |
58 "attestation/mock_attestation_flow.h", | 58 "attestation/mock_attestation_flow.h", |
59 "chromeos_test_utils.cc", | 59 "chromeos_test_utils.cc", |
60 "chromeos_test_utils.h", | 60 "chromeos_test_utils.h", |
61 "cryptohome/mock_async_method_caller.cc", | 61 "cryptohome/mock_async_method_caller.cc", |
62 "cryptohome/mock_async_method_caller.h", | 62 "cryptohome/mock_async_method_caller.h", |
63 "cryptohome/mock_homedir_methods.cc", | 63 "cryptohome/mock_homedir_methods.cc", |
64 "cryptohome/mock_homedir_methods.h", | 64 "cryptohome/mock_homedir_methods.h", |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 proto_out_dir = "chromeos/dbus/cryptohome" | 172 proto_out_dir = "chromeos/dbus/cryptohome" |
173 } | 173 } |
174 | 174 |
175 proto_library("cryptohome_signkey_proto") { | 175 proto_library("cryptohome_signkey_proto") { |
176 sources = [ | 176 sources = [ |
177 "//third_party/cros_system_api/dbus/cryptohome/signed_secret.proto", | 177 "//third_party/cros_system_api/dbus/cryptohome/signed_secret.proto", |
178 ] | 178 ] |
179 | 179 |
180 proto_out_dir = "chromeos/cryptohome" | 180 proto_out_dir = "chromeos/cryptohome" |
181 } | 181 } |
OLD | NEW |