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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/gn_migration.gypi ('k') | components/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/BUILD.gn
diff --git a/chromeos/BUILD.gn b/chromeos/BUILD.gn
index ea0a9d0d8d9d72d12fe2ab96a11703b74c06d570..5b9a5748ddb3c6a4082a53acd000f1fa97ce20a2 100644
--- a/chromeos/BUILD.gn
+++ b/chromeos/BUILD.gn
@@ -43,15 +43,15 @@ component("chromeos") {
defines = [ "CHROMEOS_IMPLEMENTATION" ]
}
-static_library("test_support") {
+source_set("test_support") {
testonly = true
configs += [ "//build/config/linux:dbus" ]
- deps = [
- "//testing/gmock",
+ public_deps = [
":chromeos",
":cryptohome_proto",
":power_manager_proto",
":test_support_without_gmock",
+ "//testing/gmock",
]
sources = [
"attestation/mock_attestation_flow.cc",
« 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