| 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 "//ui/accessibility:ax_gen", | 78 "//ui/accessibility:ax_gen", |
| 79 "//ui/base", | 79 "//ui/base", |
| 80 "//ui/base/ime", | 80 "//ui/base/ime", |
| 81 "//ui/gfx", | 81 "//ui/gfx", |
| 82 "//ui/gfx/geometry", | 82 "//ui/gfx/geometry", |
| 83 "//ui/resources", | 83 "//ui/resources", |
| 84 "//ui/strings", | 84 "//ui/strings", |
| 85 "//url", | 85 "//url", |
| 86 ] | 86 ] |
| 87 | 87 |
| 88 if (enable_task_manager) { |
| 89 sources += rebase_path( |
| 90 gypi_values.chrome_browser_extensions_task_manager_enabled_sources, |
| 91 ".", |
| 92 "//chrome") |
| 93 } |
| 94 |
| 88 if (is_chromeos) { | 95 if (is_chromeos) { |
| 89 sources += | 96 sources += |
| 90 rebase_path(gypi_values.chrome_browser_extensions_chromeos_sources, | 97 rebase_path(gypi_values.chrome_browser_extensions_chromeos_sources, |
| 91 ".", | 98 ".", |
| 92 "//chrome") | 99 "//chrome") |
| 93 sources -= [ "api/music_manager_private/device_id_linux.cc" ] | 100 sources -= [ "api/music_manager_private/device_id_linux.cc" ] |
| 94 configs += [ "//build/config/linux:dbus" ] | 101 configs += [ "//build/config/linux:dbus" ] |
| 95 deps += [ | 102 deps += [ |
| 96 "//components/chrome_apps", | 103 "//components/chrome_apps", |
| 97 "//remoting/host/it2me:common", | 104 "//remoting/host/it2me:common", |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 "//chrome") | 228 "//chrome") |
| 222 } | 229 } |
| 223 | 230 |
| 224 if (is_chromeos && use_ozone) { | 231 if (is_chromeos && use_ozone) { |
| 225 sources -= [ "global_shortcut_listener_chromeos.cc" ] | 232 sources -= [ "global_shortcut_listener_chromeos.cc" ] |
| 226 } | 233 } |
| 227 if (!use_ozone) { | 234 if (!use_ozone) { |
| 228 sources -= [ "global_shortcut_listener_ozone.cc" ] | 235 sources -= [ "global_shortcut_listener_ozone.cc" ] |
| 229 } | 236 } |
| 230 } | 237 } |
| OLD | NEW |