| 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 } | |
| 111 } | 108 } |
| 112 | 109 |
| 113 if (enable_service_discovery) { | 110 if (enable_service_discovery) { |
| 114 sources += rebase_path( | 111 sources += rebase_path( |
| 115 gypi_values.chrome_browser_extensions_service_discovery_sources, | 112 gypi_values.chrome_browser_extensions_service_discovery_sources, |
| 116 ".", | 113 ".", |
| 117 "//chrome") | 114 "//chrome") |
| 118 } | 115 } |
| 119 | 116 |
| 120 if (use_ash) { | 117 if (use_ash) { |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 "//chrome") | 220 "//chrome") |
| 224 } | 221 } |
| 225 | 222 |
| 226 if (is_chromeos && use_ozone) { | 223 if (is_chromeos && use_ozone) { |
| 227 sources -= [ "global_shortcut_listener_chromeos.cc" ] | 224 sources -= [ "global_shortcut_listener_chromeos.cc" ] |
| 228 } | 225 } |
| 229 if (!use_ozone) { | 226 if (!use_ozone) { |
| 230 sources -= [ "global_shortcut_listener_ozone.cc" ] | 227 sources -= [ "global_shortcut_listener_ozone.cc" ] |
| 231 } | 228 } |
| 232 } | 229 } |
| OLD | NEW |