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

Unified Diff: mash/common/BUILD.gn

Issue 2710673002: Add Mojo constant for "ash" and replace hardcoded strings (Closed)
Patch Set: s/USE_ASH/OS_CHROMEOS/ 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
« no previous file with comments | « ash/public/interfaces/constants.mojom ('k') | mash/common/config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/common/BUILD.gn
diff --git a/mash/common/BUILD.gn b/mash/common/BUILD.gn
index 3f285f05d3f1a623179b2277e93294c2a4af3030..44d2bbc6aca436521e5c688f5d5dffa592f0fa27 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,8 @@ source_set("common") {
deps = [
"//base",
]
+
+ if (use_ash) {
+ deps += [ "//ash/public/interfaces" ]
+ }
}
« no previous file with comments | « ash/public/interfaces/constants.mojom ('k') | mash/common/config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698