Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Side by Side Diff: content/browser/BUILD.gn

Issue 2081583002: Migrating majority of gamepad from content/browser/ to device/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Final tweaks Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | content/browser/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 import("//content/browser/browser.gni") 7 import("//content/browser/browser.gni")
8 import("//media/media_options.gni") 8 import("//media/media_options.gni")
9 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") 9 import("//tools/ipc_fuzzer/ipc_fuzzer.gni")
10 10
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 "//content/browser/devtools:gen_devtools_protocol_handler", 51 "//content/browser/devtools:gen_devtools_protocol_handler",
52 "//content/browser/devtools:resources", 52 "//content/browser/devtools:resources",
53 "//content/browser/notifications:notification_proto", 53 "//content/browser/notifications:notification_proto",
54 "//content/browser/service_worker:service_worker_proto", 54 "//content/browser/service_worker:service_worker_proto",
55 "//content/browser/speech/proto", 55 "//content/browser/speech/proto",
56 "//content/common", 56 "//content/common",
57 "//content/public/common:common_sources", 57 "//content/public/common:common_sources",
58 "//crypto", 58 "//crypto",
59 "//device/battery", 59 "//device/battery",
60 "//device/bluetooth", 60 "//device/bluetooth",
61 "//device/gamepad",
61 "//device/power_save_blocker", 62 "//device/power_save_blocker",
62 "//device/vibration", 63 "//device/vibration",
63 "//gin", 64 "//gin",
64 "//google_apis", 65 "//google_apis",
65 "//gpu", 66 "//gpu",
66 "//gpu/command_buffer/client:gles2_implementation", 67 "//gpu/command_buffer/client:gles2_implementation",
67 "//gpu/command_buffer/client:gles2_interface", 68 "//gpu/command_buffer/client:gles2_interface",
68 "//media", 69 "//media",
69 "//media/capture", 70 "//media/capture",
70 "//media/gpu/ipc/client", 71 "//media/gpu/ipc/client",
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 } 151 }
151 152
152 if (!is_win) { 153 if (!is_win) {
153 sources += [ 154 sources += [
154 "file_descriptor_info_impl.cc", 155 "file_descriptor_info_impl.cc",
155 "file_descriptor_info_impl.h", 156 "file_descriptor_info_impl.h",
156 ] 157 ]
157 sources -= [ "renderer_host/web_input_event_aurawin.cc" ] 158 sources -= [ "renderer_host/web_input_event_aurawin.cc" ]
158 } 159 }
159 160
160 if (!is_win && !is_mac && !is_android && (!is_linux || !use_udev)) {
161 sources += [ "gamepad/gamepad_platform_data_fetcher.cc" ]
162 }
163
164 if (enable_basic_printing || enable_print_preview) { 161 if (enable_basic_printing || enable_print_preview) {
165 deps += [ "//printing" ] 162 deps += [ "//printing" ]
166 } 163 }
167 164
168 if (!is_mac) { 165 if (!is_mac) {
169 deps += [ "//sandbox" ] 166 deps += [ "//sandbox" ]
170 } 167 }
171 if (!is_android) { 168 if (!is_android) {
172 deps += [ "//content/browser/tracing:resources" ] 169 deps += [ "//content/browser/tracing:resources" ]
173 } 170 }
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 # 'user32.dll', 238 # 'user32.dll',
242 # 'dwmapi.dll', 239 # 'dwmapi.dll',
243 # ], 240 # ],
244 } 241 }
245 242
246 if (use_udev) { 243 if (use_udev) {
247 deps += [ 244 deps += [
248 "//device/udev_linux", 245 "//device/udev_linux",
249 "//media/capture", 246 "//media/capture",
250 ] 247 ]
251 } else {
252 if (is_linux) {
253 sources -= [ "gamepad/gamepad_platform_data_fetcher_linux.cc" ]
254 }
255 } 248 }
256 249
257 if (enable_plugins) { 250 if (enable_plugins) {
258 sources += rebase_path(content_browser_gypi_values.plugin_browser_sources, 251 sources += rebase_path(content_browser_gypi_values.plugin_browser_sources,
259 ".", 252 ".",
260 "//content") 253 "//content")
261 deps += [ 254 deps += [
262 "//ppapi/host", 255 "//ppapi/host",
263 "//ppapi/proxy", 256 "//ppapi/proxy",
264 "//ppapi/proxy:ipc", 257 "//ppapi/proxy:ipc",
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 if (!is_component_build) { 512 if (!is_component_build) {
520 public_deps = [ 513 public_deps = [
521 ":browser", 514 ":browser",
522 ] 515 ]
523 } else { 516 } else {
524 public_deps = [ 517 public_deps = [
525 "//third_party/leveldatabase", 518 "//third_party/leveldatabase",
526 ] 519 ]
527 } 520 }
528 } 521 }
OLDNEW
« no previous file with comments | « no previous file | content/browser/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698