| 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/crypto.gni") | 5 import("//build/config/crypto.gni") |
| 6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
| 7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
| 8 | 8 |
| 9 assert(enable_extensions) | 9 assert(enable_extensions) |
| 10 | 10 |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 } | 112 } |
| 113 if (use_athena) { | 113 if (use_athena) { |
| 114 defines += [ USE_ATHENA ] | 114 defines += [ USE_ATHENA ] |
| 115 sources += rebase_path( | 115 sources += rebase_path( |
| 116 gypi_values.chrome_browser_extensions_athena_sources, | 116 gypi_values.chrome_browser_extensions_athena_sources, |
| 117 ".", "//chrome") | 117 ".", "//chrome") |
| 118 } else { | 118 } else { |
| 119 sources += rebase_path( | 119 sources += rebase_path( |
| 120 gypi_values.chrome_browser_extensions_non_athena_sources, | 120 gypi_values.chrome_browser_extensions_non_athena_sources, |
| 121 ".", "//chrome") | 121 ".", "//chrome") |
| 122 if (is_chromeos) { |
| 123 sources += rebase_path( |
| 124 gypi_values.chrome_browser_extensions_chromeos_non_athena_sources, |
| 125 ".", "//chrome") |
| 126 } |
| 122 } | 127 } |
| 123 | 128 |
| 124 if (is_linux) { | 129 if (is_linux) { |
| 125 configs += [ "//build/config/linux:fontconfig" ] | 130 configs += [ "//build/config/linux:fontconfig" ] |
| 126 deps += [ "//dbus" ] | 131 deps += [ "//dbus" ] |
| 127 if (use_x11) { | 132 if (use_x11) { |
| 128 configs += [ | 133 configs += [ |
| 129 "//build/config/linux:x11", | 134 "//build/config/linux:x11", |
| 130 ] | 135 ] |
| 131 deps += [ | 136 deps += [ |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 gypi_values.chrome_browser_extensions_app_list_sources, | 228 gypi_values.chrome_browser_extensions_app_list_sources, |
| 224 ".", "//chrome") | 229 ".", "//chrome") |
| 225 } | 230 } |
| 226 | 231 |
| 227 if (!use_ozone) { | 232 if (!use_ozone) { |
| 228 sources -= [ | 233 sources -= [ |
| 229 "global_shortcut_listener_ozone.cc", | 234 "global_shortcut_listener_ozone.cc", |
| 230 ] | 235 ] |
| 231 } | 236 } |
| 232 } | 237 } |
| OLD | NEW |