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