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

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

Issue 1528483002: Add chrome.input.ime.activate and chrome.input.ime.deactivate API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Devlin and Shu's comments. Created 4 years, 11 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 unified diff | Download patch
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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 "//ui/events:events_base", 148 "//ui/events:events_base",
149 "//ui/events/platform", 149 "//ui/events/platform",
150 "//ui/events/platform/x11", 150 "//ui/events/platform/x11",
151 ] 151 ]
152 } 152 }
153 if (!is_chromeos) { 153 if (!is_chromeos) {
154 sources += rebase_path( 154 sources += rebase_path(
155 gypi_values.chrome_browser_extensions_input_ime_linux_win_sources, 155 gypi_values.chrome_browser_extensions_input_ime_linux_win_sources,
156 ".", 156 ".",
157 "//chrome") 157 "//chrome")
158 deps += [ "//ui/events:dom_keycode_converter" ]
158 } 159 }
159 } 160 }
160 161
161 if (enable_configuration_policy) { 162 if (enable_configuration_policy) {
162 deps += [ "//components/policy" ] 163 deps += [ "//components/policy" ]
163 sources += [ 164 sources += [
164 "policy_handlers.cc", 165 "policy_handlers.cc",
165 "policy_handlers.h", 166 "policy_handlers.h",
166 ] 167 ]
167 sources += rebase_path(gypi_values.chrome_browser_extensions_policy_sources, 168 sources += rebase_path(gypi_values.chrome_browser_extensions_policy_sources,
(...skipping 30 matching lines...) Expand all
198 sources += rebase_path( 199 sources += rebase_path(
199 gypi_values.chrome_browser_extensions_networking_private_sources_win mac, 200 gypi_values.chrome_browser_extensions_networking_private_sources_win mac,
200 ".", 201 ".",
201 "//chrome") 202 "//chrome")
202 } 203 }
203 204
204 if (is_win) { 205 if (is_win) {
205 deps += [ 206 deps += [
206 "//third_party/iaccessible2", 207 "//third_party/iaccessible2",
207 "//third_party/isimpledom", 208 "//third_party/isimpledom",
209 "//ui/events:dom_keycode_converter",
208 ] 210 ]
209 sources += rebase_path( 211 sources += rebase_path(
210 gypi_values.chrome_browser_extensions_input_ime_linux_win_sources, 212 gypi_values.chrome_browser_extensions_input_ime_linux_win_sources,
211 ".", 213 ".",
212 "//chrome") 214 "//chrome")
213 } else if (use_aura && !is_chromeos) { 215 } else if (use_aura && !is_chromeos) {
214 sources += [ 216 sources += [
215 "display_info_provider_aura.cc", 217 "display_info_provider_aura.cc",
216 "display_info_provider_aura.h", 218 "display_info_provider_aura.h",
217 ] 219 ]
218 } 220 }
219 221
220 if (enable_app_list) { 222 if (enable_app_list) {
221 sources += 223 sources +=
222 rebase_path(gypi_values.chrome_browser_extensions_app_list_sources, 224 rebase_path(gypi_values.chrome_browser_extensions_app_list_sources,
223 ".", 225 ".",
224 "//chrome") 226 "//chrome")
225 } 227 }
226 228
227 if (is_chromeos && use_ozone) { 229 if (is_chromeos && use_ozone) {
228 sources -= [ "global_shortcut_listener_chromeos.cc" ] 230 sources -= [ "global_shortcut_listener_chromeos.cc" ]
229 } 231 }
230 if (!use_ozone) { 232 if (!use_ozone) {
231 sources -= [ "global_shortcut_listener_ozone.cc" ] 233 sources -= [ "global_shortcut_listener_ozone.cc" ]
232 } 234 }
233 } 235 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698