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

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: 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 "//dbus", 143 "//dbus",
144 ] 144 ]
145 if (use_x11) { 145 if (use_x11) {
146 configs += [ "//build/config/linux:x11" ] 146 configs += [ "//build/config/linux:x11" ]
147 deps += [ 147 deps += [
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) {
154 sources += rebase_path(
155 gypi_values.chrome_browser_extensions_input_ime_linux_win_sources,
156 ".",
157 "//chrome")
158 deps += [ "//ui/events:dom_keycode_converter" ]
159 }
153 } 160 }
154 161
155 if (enable_configuration_policy) { 162 if (enable_configuration_policy) {
156 deps += [ "//components/policy" ] 163 deps += [ "//components/policy" ]
157 sources += [ 164 sources += [
158 "policy_handlers.cc", 165 "policy_handlers.cc",
159 "policy_handlers.h", 166 "policy_handlers.h",
160 ] 167 ]
161 sources += rebase_path(gypi_values.chrome_browser_extensions_policy_sources, 168 sources += rebase_path(gypi_values.chrome_browser_extensions_policy_sources,
162 ".", 169 ".",
(...skipping 30 matching lines...) Expand all
193 gypi_values.chrome_browser_extensions_networking_private_sources_win mac, 200 gypi_values.chrome_browser_extensions_networking_private_sources_win mac,
194 ".", 201 ".",
195 "//chrome") 202 "//chrome")
196 } 203 }
197 204
198 if (is_win) { 205 if (is_win) {
199 deps += [ 206 deps += [
200 "//third_party/iaccessible2", 207 "//third_party/iaccessible2",
201 "//third_party/isimpledom", 208 "//third_party/isimpledom",
202 ] 209 ]
210 sources += rebase_path(
211 gypi_values.chrome_browser_extensions_input_ime_linux_win_sources,
212 ".",
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 }
203 } else if (use_aura && !is_chromeos) { 220 } else if (use_aura && !is_chromeos) {
204 sources += [ 221 sources += [
205 "display_info_provider_aura.cc", 222 "display_info_provider_aura.cc",
206 "display_info_provider_aura.h", 223 "display_info_provider_aura.h",
207 ] 224 ]
208 } 225 }
209 226
210 if (enable_app_list) { 227 if (enable_app_list) {
211 sources += 228 sources +=
212 rebase_path(gypi_values.chrome_browser_extensions_app_list_sources, 229 rebase_path(gypi_values.chrome_browser_extensions_app_list_sources,
213 ".", 230 ".",
214 "//chrome") 231 "//chrome")
215 } 232 }
216 233
217 if (is_chromeos && use_ozone) { 234 if (is_chromeos && use_ozone) {
218 sources -= [ "global_shortcut_listener_chromeos.cc" ] 235 sources -= [ "global_shortcut_listener_chromeos.cc" ]
219 } 236 }
220 if (!use_ozone) { 237 if (!use_ozone) {
221 sources -= [ "global_shortcut_listener_ozone.cc" ] 238 sources -= [ "global_shortcut_listener_ozone.cc" ]
222 } 239 }
223 } 240 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698