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

Unified Diff: content/content.gyp

Issue 133943002: Gamepad API support for chrome on android (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 6 years, 7 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
Index: content/content.gyp
diff --git a/content/content.gyp b/content/content.gyp
index d7b332437008a348036cc510571a40f4015e003d..96daa441ad76258136e0a686192fddaa16ca8fe1 100644
--- a/content/content.gyp
+++ b/content/content.gyp
@@ -384,6 +384,7 @@
'common_aidl',
'content_common',
'content_strings_grd',
+ 'content_gamepad_mapping',
'gesture_event_type_java',
'page_transition_types_java',
'popup_item_type_java',
@@ -545,6 +546,22 @@
}],
],
},
+ {
+ 'target_name': 'content_gamepad_mapping',
+ 'type': 'none',
+ 'sources': [
+ 'public/android/java/src/org/chromium/content/browser/input/CanonicalButtonIndex.template',
+ 'public/android/java/src/org/chromium/content/browser/input/CanonicalAxisIndex.template',
+ ],
+ 'variables': {
+ 'package_name': 'org/chromium/content/browser/input',
+ 'template_deps': [
+ 'browser/gamepad/canonical_axis_index_list.h',
+ 'browser/gamepad/canonical_button_index_list.h',
+ ],
+ },
+ 'includes': [ '../build/android/java_cpp_template.gypi' ],
+ },
],
}], # OS == "android"
],

Powered by Google App Engine
This is Rietveld 408576698