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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 ] | 98 ] |
99 } else { | 99 } else { |
100 sources += [ | 100 sources += [ |
101 "default_apps.cc", | 101 "default_apps.cc", |
102 "default_apps.h'", | 102 "default_apps.h'", |
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) { |
| 109 sources -= [ "api/messaging/native_process_launcher_posix.cc" ] |
| 110 } |
108 } | 111 } |
109 | 112 |
110 if (use_ash) { | 113 if (use_ash) { |
111 sources += [ | 114 sources += [ |
112 "api/tabs/ash_panel_contents.cc", | 115 "api/tabs/ash_panel_contents.cc", |
113 "api/tabs/ash_panel_contents.h", | 116 "api/tabs/ash_panel_contents.h", |
114 ] | 117 ] |
115 } | 118 } |
116 | 119 |
117 if (use_aura) { | 120 if (use_aura) { |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 "//chrome") | 206 "//chrome") |
204 } | 207 } |
205 | 208 |
206 if (is_chromeos && use_ozone) { | 209 if (is_chromeos && use_ozone) { |
207 sources -= [ "global_shortcut_listener_chromeos.cc" ] | 210 sources -= [ "global_shortcut_listener_chromeos.cc" ] |
208 } | 211 } |
209 if (!use_ozone) { | 212 if (!use_ozone) { |
210 sources -= [ "global_shortcut_listener_ozone.cc" ] | 213 sources -= [ "global_shortcut_listener_ozone.cc" ] |
211 } | 214 } |
212 } | 215 } |
OLD | NEW |