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

Unified Diff: mash/common/BUILD.gn

Issue 2710673002: Add Mojo constant for "ash" and replace hardcoded strings (Closed)
Patch Set: Fix dep of simple_wm constants and (for completeness) make mojo interfaces a dep of simple_wm; add … Created 3 years, 10 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: mash/common/BUILD.gn
diff --git a/mash/common/BUILD.gn b/mash/common/BUILD.gn
index 3f285f05d3f1a623179b2277e93294c2a4af3030..b8c626d0ebcf9c7e863b8ce3c9a261776e37fdaa 100644
--- a/mash/common/BUILD.gn
+++ b/mash/common/BUILD.gn
@@ -2,6 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/config/ui.gni")
+
source_set("common") {
sources = [
"config.cc",
@@ -11,4 +13,10 @@ source_set("common") {
deps = [
"//base",
]
+
+ if (use_ash) {
+ deps += [ "//ash/public/interfaces" ]
+ } else {
+ deps += [ "//mash/simple_wm/public/interfaces" ]
+ }
}

Powered by Google App Engine
This is Rietveld 408576698