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

Side by Side Diff: chrome/browser/extensions/BUILD.gn

Issue 1482643002: Exclude some extension apis for Aura Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/extensions/browser_context_keyed_service_factories.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 7
8 assert(enable_extensions) 8 assert(enable_extensions)
9 9
10 gypi_values = 10 gypi_values =
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 ] 103 ]
104 sources += 104 sources +=
105 rebase_path(gypi_values.chrome_browser_extensions_non_chromeos_sources, 105 rebase_path(gypi_values.chrome_browser_extensions_non_chromeos_sources,
106 ".", 106 ".",
107 "//chrome") 107 "//chrome")
108 if (is_android) { 108 if (is_android) {
109 sources -= [ "api/messaging/native_process_launcher_posix.cc" ] 109 sources -= [ "api/messaging/native_process_launcher_posix.cc" ]
110 } 110 }
111 } 111 }
112 112
113 if (!is_android) {
114 sources +=
115 rebase_path(gypi_values.chrome_browser_extensions_non_android_sources,
116 ".",
117 "//chrome")
118 }
119
113 if (use_ash) { 120 if (use_ash) {
114 sources += [ 121 sources += [
115 "api/tabs/ash_panel_contents.cc", 122 "api/tabs/ash_panel_contents.cc",
116 "api/tabs/ash_panel_contents.h", 123 "api/tabs/ash_panel_contents.h",
117 ] 124 ]
118 } 125 }
119 126
120 if (use_aura) { 127 if (use_aura) {
121 deps += [ 128 deps += [
122 "//ui/keyboard", 129 "//ui/keyboard",
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 "//chrome") 213 "//chrome")
207 } 214 }
208 215
209 if (is_chromeos && use_ozone) { 216 if (is_chromeos && use_ozone) {
210 sources -= [ "global_shortcut_listener_chromeos.cc" ] 217 sources -= [ "global_shortcut_listener_chromeos.cc" ]
211 } 218 }
212 if (!use_ozone) { 219 if (!use_ozone) {
213 sources -= [ "global_shortcut_listener_ozone.cc" ] 220 sources -= [ "global_shortcut_listener_ozone.cc" ]
214 } 221 }
215 } 222 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/browser_context_keyed_service_factories.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698