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

Unified Diff: components/physical_web/data_source/BUILD.gn

Issue 2529303002: [PhysicalWeb] Add fake data source and helpers for testing. (Closed)
Patch Set: trybot fix. Created 4 years, 1 month 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
Index: components/physical_web/data_source/BUILD.gn
diff --git a/components/physical_web/data_source/BUILD.gn b/components/physical_web/data_source/BUILD.gn
index a0dffd5201f9b753c538a1beadda981e4ef39752..0d8944f4865fdc1b79b58ad5524c3c92c764ada3 100644
--- a/components/physical_web/data_source/BUILD.gn
+++ b/components/physical_web/data_source/BUILD.gn
@@ -16,6 +16,18 @@ source_set("data_source") {
]
}
+source_set("test_support") {
+ testonly = true
+ sources = [
+ "fake_physical_web_data_source.cc",
+ "fake_physical_web_data_source.h",
+ ]
+ deps = [
+ ":data_source",
+ "//base",
+ ]
+}
+
source_set("unit_tests") {
testonly = true
sources = [

Powered by Google App Engine
This is Rietveld 408576698