Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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" ] | |
|
Shu Chen
2016/01/18 09:21:59
missing the same deps for "is_win"?
Azure Wei
2016/01/19 03:46:53
Added. Thanks for pointing it out.
| |
| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 224 "//chrome") | 225 "//chrome") |
| 225 } | 226 } |
| 226 | 227 |
| 227 if (is_chromeos && use_ozone) { | 228 if (is_chromeos && use_ozone) { |
| 228 sources -= [ "global_shortcut_listener_chromeos.cc" ] | 229 sources -= [ "global_shortcut_listener_chromeos.cc" ] |
| 229 } | 230 } |
| 230 if (!use_ozone) { | 231 if (!use_ozone) { |
| 231 sources -= [ "global_shortcut_listener_ozone.cc" ] | 232 sources -= [ "global_shortcut_listener_ozone.cc" ] |
| 232 } | 233 } |
| 233 } | 234 } |
| OLD | NEW |