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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 ".", | 92 ".", |
93 "//chrome") | 93 "//chrome") |
94 } | 94 } |
95 | 95 |
96 if (is_chromeos) { | 96 if (is_chromeos) { |
97 sources += | 97 sources += |
98 rebase_path(gypi_values.chrome_browser_extensions_chromeos_sources, | 98 rebase_path(gypi_values.chrome_browser_extensions_chromeos_sources, |
99 ".", | 99 ".", |
100 "//chrome") | 100 "//chrome") |
101 sources -= [ "api/music_manager_private/device_id_linux.cc" ] | 101 sources -= [ "api/music_manager_private/device_id_linux.cc" ] |
102 configs += [ "//build/config/linux:dbus" ] | 102 configs += [ "//build/config/linux/dbus" ] |
103 deps += [ | 103 deps += [ |
104 "//components/chrome_apps", | 104 "//components/chrome_apps", |
105 "//remoting/host/it2me:common", | 105 "//remoting/host/it2me:common", |
106 "//third_party/protobuf:protobuf_lite", | 106 "//third_party/protobuf:protobuf_lite", |
107 ] | 107 ] |
108 } else { | 108 } else { |
109 sources += [ | 109 sources += [ |
110 "default_apps.cc", | 110 "default_apps.cc", |
111 "default_apps.h'", | 111 "default_apps.h'", |
112 ] | 112 ] |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 "//chrome") | 218 "//chrome") |
219 } | 219 } |
220 | 220 |
221 if (is_chromeos && use_ozone) { | 221 if (is_chromeos && use_ozone) { |
222 sources -= [ "global_shortcut_listener_chromeos.cc" ] | 222 sources -= [ "global_shortcut_listener_chromeos.cc" ] |
223 } | 223 } |
224 if (!use_ozone) { | 224 if (!use_ozone) { |
225 sources -= [ "global_shortcut_listener_ozone.cc" ] | 225 sources -= [ "global_shortcut_listener_ozone.cc" ] |
226 } | 226 } |
227 } | 227 } |
OLD | NEW |