| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 | |
| 120 if (use_ash) { | 113 if (use_ash) { |
| 121 sources += [ | 114 sources += [ |
| 122 "api/tabs/ash_panel_contents.cc", | 115 "api/tabs/ash_panel_contents.cc", |
| 123 "api/tabs/ash_panel_contents.h", | 116 "api/tabs/ash_panel_contents.h", |
| 124 ] | 117 ] |
| 125 } | 118 } |
| 126 | 119 |
| 127 if (use_aura) { | 120 if (use_aura) { |
| 128 deps += [ | 121 deps += [ |
| 129 "//ui/keyboard", | 122 "//ui/keyboard", |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 "//chrome") | 206 "//chrome") |
| 214 } | 207 } |
| 215 | 208 |
| 216 if (is_chromeos && use_ozone) { | 209 if (is_chromeos && use_ozone) { |
| 217 sources -= [ "global_shortcut_listener_chromeos.cc" ] | 210 sources -= [ "global_shortcut_listener_chromeos.cc" ] |
| 218 } | 211 } |
| 219 if (!use_ozone) { | 212 if (!use_ozone) { |
| 220 sources -= [ "global_shortcut_listener_ozone.cc" ] | 213 sources -= [ "global_shortcut_listener_ozone.cc" ] |
| 221 } | 214 } |
| 222 } | 215 } |
| OLD | NEW |