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

Unified Diff: ash/mus/BUILD.gn

Issue 2378193002: mustash: Show networking items in ash system tray (Closed)
Patch Set: typo Created 4 years, 3 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: ash/mus/BUILD.gn
diff --git a/ash/mus/BUILD.gn b/ash/mus/BUILD.gn
index ecc4cee7ddec19672a8e14c2c9e54636149b3116..5c3bf7b0978f0ebfa8fa01352013e353cc19d4a0 100644
--- a/ash/mus/BUILD.gn
+++ b/ash/mus/BUILD.gn
@@ -77,8 +77,6 @@ source_set("lib") {
"shelf_delegate_mus.h",
"shell_delegate_mus.cc",
"shell_delegate_mus.h",
- "system_tray_delegate_mus.cc",
- "system_tray_delegate_mus.h",
"wallpaper_delegate_mus.cc",
"wallpaper_delegate_mus.h",
"window_manager.cc",
@@ -132,6 +130,13 @@ source_set("lib") {
]
if (is_chromeos) {
+ sources += [
+ "system_tray_delegate_mus.cc",
+ "system_tray_delegate_mus.h",
+ "vpn_delegate_mus.cc",
+ "vpn_delegate_mus.h",
+ ]
+
deps += [
"//chromeos",
"//chromeos:power_manager_proto",
@@ -192,6 +197,17 @@ repack("resources") {
"//ui/views/mus:resources",
"//ui/views/resources",
]
+
+ if (is_chromeos) {
+ sources += [
+ "$root_gen_dir/ui/chromeos/resources/ui_chromeos_resources_100_percent.pak",
+ "$root_gen_dir/ui/chromeos/strings/ui_chromeos_strings_en-US.pak",
+ ]
+ deps += [
+ "//ui/chromeos/resources",
+ "//ui/chromeos/strings",
+ ]
+ }
}
repack("resources_200") {
@@ -206,6 +222,11 @@ repack("resources_200") {
"//ui/resources",
"//ui/views/resources",
]
+
+ if (is_chromeos) {
+ sources += [ "$root_gen_dir/ui/chromeos/resources/ui_chromeos_resources_200_percent.pak" ]
+ deps += [ "//ui/chromeos/resources" ]
+ }
}
source_set("unittests") {

Powered by Google App Engine
This is Rietveld 408576698