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

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'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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
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",
208 ] 209 ]
209 sources += rebase_path( 210 sources += rebase_path(
210 gypi_values.chrome_browser_extensions_input_ime_linux_win_sources, 211 gypi_values.chrome_browser_extensions_input_ime_linux_win_sources,
211 ".", 212 ".",
212 "//chrome") 213 "//chrome")
214 if (is_component_build) {
215 sources += [
216 "//ui/base/ime/ime_engine_handler_interface.cc",
217 "//ui/base/ime/ime_engine_handler_interface.h",
218 ]
219 }
213 } else if (use_aura && !is_chromeos) { 220 } else if (use_aura && !is_chromeos) {
214 sources += [ 221 sources += [
215 "display_info_provider_aura.cc", 222 "display_info_provider_aura.cc",
216 "display_info_provider_aura.h", 223 "display_info_provider_aura.h",
217 ] 224 ]
218 } 225 }
219 226
220 if (enable_app_list) { 227 if (enable_app_list) {
221 sources += 228 sources +=
222 rebase_path(gypi_values.chrome_browser_extensions_app_list_sources, 229 rebase_path(gypi_values.chrome_browser_extensions_app_list_sources,
223 ".", 230 ".",
224 "//chrome") 231 "//chrome")
225 } 232 }
226 233
227 if (is_chromeos && use_ozone) { 234 if (is_chromeos && use_ozone) {
228 sources -= [ "global_shortcut_listener_chromeos.cc" ] 235 sources -= [ "global_shortcut_listener_chromeos.cc" ]
229 } 236 }
230 if (!use_ozone) { 237 if (!use_ozone) {
231 sources -= [ "global_shortcut_listener_ozone.cc" ] 238 sources -= [ "global_shortcut_listener_ozone.cc" ]
232 } 239 }
233 } 240 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698