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

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: Next attempt 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') | device/gamepad/BUILD.gn » ('J')
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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 "//content/browser/devtools:gen_devtools_protocol_handler", 50 "//content/browser/devtools:gen_devtools_protocol_handler",
51 "//content/browser/devtools:resources", 51 "//content/browser/devtools:resources",
52 "//content/browser/notifications:notification_proto", 52 "//content/browser/notifications:notification_proto",
53 "//content/browser/service_worker:service_worker_proto", 53 "//content/browser/service_worker:service_worker_proto",
54 "//content/browser/speech/proto", 54 "//content/browser/speech/proto",
55 "//content/common", 55 "//content/common",
56 "//content/public/common:common_sources", 56 "//content/public/common:common_sources",
57 "//crypto", 57 "//crypto",
58 "//device/battery", 58 "//device/battery",
59 "//device/bluetooth", 59 "//device/bluetooth",
60 "//device/gamepad",
60 "//device/power_save_blocker", 61 "//device/power_save_blocker",
61 "//device/vibration", 62 "//device/vibration",
62 "//gin", 63 "//gin",
63 "//google_apis", 64 "//google_apis",
64 "//gpu", 65 "//gpu",
65 "//gpu/command_buffer/client:gles2_implementation", 66 "//gpu/command_buffer/client:gles2_implementation",
66 "//gpu/command_buffer/client:gles2_interface", 67 "//gpu/command_buffer/client:gles2_interface",
67 "//media", 68 "//media",
68 "//media/capture", 69 "//media/capture",
69 "//media/gpu/ipc/client", 70 "//media/gpu/ipc/client",
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 } 150 }
150 151
151 if (!is_win) { 152 if (!is_win) {
152 sources += [ 153 sources += [
153 "file_descriptor_info_impl.cc", 154 "file_descriptor_info_impl.cc",
154 "file_descriptor_info_impl.h", 155 "file_descriptor_info_impl.h",
155 ] 156 ]
156 sources -= [ "renderer_host/web_input_event_aurawin.cc" ] 157 sources -= [ "renderer_host/web_input_event_aurawin.cc" ]
157 } 158 }
158 159
159 if (!is_win && !is_mac && !is_android && (!is_linux || !use_udev)) {
160 sources += [ "gamepad/gamepad_platform_data_fetcher.cc" ]
161 }
162
163 if (enable_basic_printing || enable_print_preview) { 160 if (enable_basic_printing || enable_print_preview) {
164 deps += [ "//printing" ] 161 deps += [ "//printing" ]
165 } 162 }
166 163
167 if (!is_mac) { 164 if (!is_mac) {
168 deps += [ "//sandbox" ] 165 deps += [ "//sandbox" ]
169 } 166 }
170 if (!is_android) { 167 if (!is_android) {
171 deps += [ "//content/browser/tracing:resources" ] 168 deps += [ "//content/browser/tracing:resources" ]
172 } 169 }
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 # 'user32.dll', 237 # 'user32.dll',
241 # 'dwmapi.dll', 238 # 'dwmapi.dll',
242 # ], 239 # ],
243 } 240 }
244 241
245 if (use_udev) { 242 if (use_udev) {
246 deps += [ 243 deps += [
247 "//device/udev_linux", 244 "//device/udev_linux",
248 "//media/capture", 245 "//media/capture",
249 ] 246 ]
250 } else {
251 if (is_linux) {
252 sources -= [ "gamepad/gamepad_platform_data_fetcher_linux.cc" ]
253 }
254 } 247 }
255 248
256 if (enable_plugins) { 249 if (enable_plugins) {
257 sources += rebase_path(content_browser_gypi_values.plugin_browser_sources, 250 sources += rebase_path(content_browser_gypi_values.plugin_browser_sources,
258 ".", 251 ".",
259 "//content") 252 "//content")
260 deps += [ 253 deps += [
261 "//ppapi/host", 254 "//ppapi/host",
262 "//ppapi/proxy", 255 "//ppapi/proxy",
263 "//ppapi/proxy:ipc", 256 "//ppapi/proxy:ipc",
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 if (!is_component_build) { 510 if (!is_component_build) {
518 public_deps = [ 511 public_deps = [
519 ":browser", 512 ":browser",
520 ] 513 ]
521 } else { 514 } else {
522 public_deps = [ 515 public_deps = [
523 "//third_party/leveldatabase", 516 "//third_party/leveldatabase",
524 ] 517 ]
525 } 518 }
526 } 519 }
OLDNEW
« no previous file with comments | « no previous file | content/browser/DEPS » ('j') | device/gamepad/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698