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

Unified Diff: chrome/browser/extensions/BUILD.gn

Issue 1291703008: Rename is_chromeos in chrome/src. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: retry Created 5 years, 4 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 | « chrome/browser/BUILD.gn ('k') | chrome/browser/resources/chromeos/braille_ime/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/BUILD.gn
diff --git a/chrome/browser/extensions/BUILD.gn b/chrome/browser/extensions/BUILD.gn
index 0acb058e12b5f758038ad3fbf771e12255254ddb..5f4631bff66d673ad75bea277c3fdf617456caac 100644
--- a/chrome/browser/extensions/BUILD.gn
+++ b/chrome/browser/extensions/BUILD.gn
@@ -85,7 +85,7 @@ source_set("extensions") {
"//storage/browser",
]
- if (is_chromeos) {
+ if (use_cros_fe) {
sources +=
rebase_path(gypi_values.chrome_browser_extensions_chromeos_sources,
".",
@@ -169,7 +169,7 @@ source_set("extensions") {
}
# chromeos uses its own global_shortcut_listener, _x11 is not necessary.
- if (is_chromeos || !use_x11) {
+ if (use_cros_fe || !use_x11) {
sources -= [
"global_shortcut_listener_x11.cc",
"global_shortcut_listener_x11.h",
@@ -189,7 +189,7 @@ source_set("extensions") {
"//third_party/iaccessible2",
"//third_party/isimpledom",
]
- } else if (use_aura && !is_chromeos) {
+ } else if (use_aura && !use_cros_fe) {
sources += [
"display_info_provider_aura.cc",
"display_info_provider_aura.h",
@@ -203,7 +203,7 @@ source_set("extensions") {
"//chrome")
}
- if (is_chromeos && use_ozone) {
+ if (use_cros_fe && use_ozone) {
sources -= [ "global_shortcut_listener_chromeos.cc" ]
}
if (!use_ozone) {
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/resources/chromeos/braille_ime/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698