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

Unified Diff: services/ui/public/cpp/BUILD.gn

Issue 2431753002: Mus experiment in content shell on Android.
Patch Set: Fixed gn check Created 4 years, 2 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
Index: services/ui/public/cpp/BUILD.gn
diff --git a/services/ui/public/cpp/BUILD.gn b/services/ui/public/cpp/BUILD.gn
index c8cf62b40547753a9240e750d4731302b2414010..daeea3a5303689bda4e9787e1e0613f00e2ac749 100644
--- a/services/ui/public/cpp/BUILD.gn
+++ b/services/ui/public/cpp/BUILD.gn
@@ -73,7 +73,11 @@ source_set("cpp") {
source_set("internal_or_test") {
visibility = [
"./*",
- "//services/ui/ws:mus_ws_unittests",
+
+ # We have to be visible to * because the test rule on Android generates
+ # sub-targets prefixed with mus_ws_unittests, but mus_ws_unittests* won't
+ # work in GN.
+ "//services/ui/ws/*",
sky 2016/10/18 21:52:30 Is this working around a bug in gn? Can't we list
Jay Civelli 2016/10/18 22:28:03 We can... but there are a bunch and there are synt
sky 2016/10/18 22:54:52 Ugh! Ok, keep what you have.
"//ui/views/mus:views_mus_unittests",
]
@@ -92,6 +96,7 @@ source_set("internal") {
# the 'cpp' target.
visibility = [
":cpp",
+ "//services/ui/demo:mus_demo_lib",
"//services/ui/demo:mus_demo_library",
]

Powered by Google App Engine
This is Rietveld 408576698