| 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 ] | 99 ] |
| 100 } | 100 } |
| 101 | 101 |
| 102 static_library("test_support_without_gmock") { | 102 static_library("test_support_without_gmock") { |
| 103 testonly = true | 103 testonly = true |
| 104 configs += [ "//build/config/linux:dbus" ] | 104 configs += [ "//build/config/linux:dbus" ] |
| 105 deps = [ | 105 deps = [ |
| 106 "//crypto", | 106 "//crypto", |
| 107 ":chromeos", | 107 ":chromeos", |
| 108 ":cryptohome_proto", | 108 ":cryptohome_proto", |
| 109 ":power_manager_proto", | |
| 110 ] | 109 ] |
| 111 sources = [ | 110 sources = [ |
| 112 "dbus/fake_cros_disks_client.cc", | 111 "dbus/fake_cros_disks_client.cc", |
| 113 "dbus/fake_cros_disks_client.h", | 112 "dbus/fake_cros_disks_client.h", |
| 114 "dbus/fake_power_manager_client.cc", | |
| 115 "dbus/fake_power_manager_client.h", | |
| 116 "dbus/fake_session_manager_client.cc", | 113 "dbus/fake_session_manager_client.cc", |
| 117 "dbus/fake_session_manager_client.h", | 114 "dbus/fake_session_manager_client.h", |
| 118 "dbus/fake_shill_manager_client.cc", | 115 "dbus/fake_shill_manager_client.cc", |
| 119 "dbus/fake_shill_manager_client.h", | 116 "dbus/fake_shill_manager_client.h", |
| 120 "dbus/fake_update_engine_client.cc", | 117 "dbus/fake_update_engine_client.cc", |
| 121 "dbus/fake_update_engine_client.h", | 118 "dbus/fake_update_engine_client.h", |
| 122 ] | 119 ] |
| 123 } | 120 } |
| 124 | 121 |
| 125 test("chromeos_unittests") { | 122 test("chromeos_unittests") { |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 proto_out_dir = "chromeos/dbus/cryptohome" | 170 proto_out_dir = "chromeos/dbus/cryptohome" |
| 174 } | 171 } |
| 175 | 172 |
| 176 proto_library("cryptohome_signkey_proto") { | 173 proto_library("cryptohome_signkey_proto") { |
| 177 sources = [ | 174 sources = [ |
| 178 "//third_party/cros_system_api/dbus/cryptohome/signed_secret.proto", | 175 "//third_party/cros_system_api/dbus/cryptohome/signed_secret.proto", |
| 179 ] | 176 ] |
| 180 | 177 |
| 181 proto_out_dir = "chromeos/cryptohome" | 178 proto_out_dir = "chromeos/cryptohome" |
| 182 } | 179 } |
| OLD | NEW |