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

Unified 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: Attempts at remaining platform fixes Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/DEPS » ('j') | content/browser/gamepad/gamepad_service_test_helpers.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/BUILD.gn
diff --git a/content/browser/BUILD.gn b/content/browser/BUILD.gn
index d35d9b87953df1b9d882ad750417a319a03621d6..87664fbaf487e0f31c9c3a96100c2be521673cc0 100644
--- a/content/browser/BUILD.gn
+++ b/content/browser/BUILD.gn
@@ -58,6 +58,7 @@ source_set("browser") {
"//crypto",
"//device/battery",
"//device/bluetooth",
+ "//device/gamepad",
"//device/power_save_blocker",
"//device/vibration",
"//gin",
@@ -157,10 +158,6 @@ source_set("browser") {
sources -= [ "renderer_host/web_input_event_aurawin.cc" ]
}
- if (!is_win && !is_mac && !is_android && (!is_linux || !use_udev)) {
- sources += [ "gamepad/gamepad_platform_data_fetcher.cc" ]
- }
-
if (enable_basic_printing || enable_print_preview) {
deps += [ "//printing" ]
}
@@ -248,10 +245,6 @@ source_set("browser") {
"//device/udev_linux",
"//media/capture",
]
- } else {
- if (is_linux) {
- sources -= [ "gamepad/gamepad_platform_data_fetcher_linux.cc" ]
- }
}
if (enable_plugins) {
« no previous file with comments | « no previous file | content/browser/DEPS » ('j') | content/browser/gamepad/gamepad_service_test_helpers.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698