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

Side by Side Diff: chromeos/BUILD.gn

Issue 1311623002: Add more components_unittests to GN build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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 | « build/gn_migration.gypi ('k') | components/BUILD.gn » ('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 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
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
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 }
OLDNEW
« no previous file with comments | « build/gn_migration.gypi ('k') | components/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698