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

Unified Diff: content/renderer/BUILD.gn

Issue 1493183002: Enable WebUSB on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix GYP build. Created 5 years 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 | « content/content_renderer.gypi ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/BUILD.gn
diff --git a/content/renderer/BUILD.gn b/content/renderer/BUILD.gn
index f009eeedda6600db783bf235afa83b88b6c02076..ad5a50354bde674f9cde57a87da75a78fd91ac9a 100644
--- a/content/renderer/BUILD.gn
+++ b/content/renderer/BUILD.gn
@@ -41,6 +41,7 @@ source_set("renderer") {
"//content/public/common:mojo_bindings",
"//crypto:platform",
"//device/battery:mojo_bindings",
+ "//device/devices_app/usb/public/interfaces",
"//device/vibration:mojo_bindings",
"//gin",
"//gpu",
@@ -92,15 +93,7 @@ source_set("renderer") {
}
if (is_android) {
- sources -= [
- "media/audio_decoder.cc",
- "usb/type_converters.cc",
- "usb/type_converters.h",
- "usb/web_usb_client_impl.cc",
- "usb/web_usb_client_impl.h",
- "usb/web_usb_device_impl.cc",
- "usb/web_usb_device_impl.h",
- ]
+ sources -= [ "media/audio_decoder.cc" ]
sources += [
"external_popup_menu.cc",
"external_popup_menu.h",
@@ -114,8 +107,6 @@ source_set("renderer") {
"//third_party/android_tools:cpu_features",
"//third_party/libphonenumber",
]
-
- deps -= [ "//components/webusb" ]
} else {
sources -= [
"java/gin_java_bridge_dispatcher.cc",
@@ -127,11 +118,6 @@ source_set("renderer") {
"java/gin_java_function_invocation_helper.cc",
"java/gin_java_function_invocation_helper.h",
]
-
- deps += [
- "//device/devices_app/public/cpp",
- "//device/devices_app/usb/public/interfaces",
- ]
}
# TODO(jrg): remove the OS=="android" section?
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698