Bug 1283313 - Followup bug 1283135 and fix Gamepad includes r?baku draft
authorAlexandre Lissy <lissyx@lissyx.dyndns.org>
Thu, 30 Jun 2016 00:12:16 +0200
changeset 382592 8b1201e911e116d0967ef1efabb76b6e23ffaed3
parent 382415 de1af947bddc4f2efe5483a995d7fd5f83d403c4
child 524240 7e5909e264027d59eaf85e1779dcdcd84b9b58c1
push id21772
push userbmo:lissyx+mozillians@lissyx.dyndns.org
push dateWed, 29 Jun 2016 23:13:21 +0000
reviewersbaku
bugs1283313, 1283135
milestone50.0a1
Bug 1283313 - Followup bug 1283135 and fix Gamepad includes r?baku MozReview-Commit-ID: DYET59YQAk4
dom/gamepad/moz.build
--- a/dom/gamepad/moz.build
+++ b/dom/gamepad/moz.build
@@ -6,41 +6,41 @@
 
 
 IPDL_SOURCES += [
     'ipc/GamepadEventTypes.ipdlh',
     'ipc/PGamepadEventChannel.ipdl',
     'ipc/PGamepadTestChannel.ipdl'
 ]
 
+EXPORTS.mozilla.dom += [
+    'GamepadServiceTest.h',
+    'ipc/GamepadEventChannelChild.h',
+    'ipc/GamepadEventChannelParent.h',
+    'ipc/GamepadTestChannelChild.h',
+    'ipc/GamepadTestChannelParent.h'
+    ]
+
+
 if CONFIG['MOZ_GAMEPAD']:
   EXPORTS.mozilla.dom += [
       'Gamepad.h',
       'GamepadButton.h',
       'GamepadManager.h',
       'GamepadMonitoring.h',
-      'GamepadPlatformService.h',
-      'GamepadServiceTest.h',
-      'ipc/GamepadEventChannelChild.h',
-      'ipc/GamepadEventChannelParent.h',
-      'ipc/GamepadTestChannelChild.h',
-      'ipc/GamepadTestChannelParent.h'
+      'GamepadPlatformService.h'
       ]
 
   UNIFIED_SOURCES = [
       'Gamepad.cpp',
       'GamepadButton.cpp',
       'GamepadManager.cpp',
       'GamepadMonitoring.cpp',
       'GamepadPlatformService.cpp',
-      'GamepadServiceTest.cpp',
-      'ipc/GamepadEventChannelChild.cpp',
-      'ipc/GamepadEventChannelParent.cpp',
-      'ipc/GamepadTestChannelChild.cpp',
-      'ipc/GamepadTestChannelParent.cpp'
+      'GamepadServiceTest.cpp'
       ]
 
   if CONFIG['MOZ_GAMEPAD_BACKEND'] == 'stub':
       UNIFIED_SOURCES += [
           'fallback/FallbackGamepad.cpp'
       ]
   elif CONFIG['MOZ_GAMEPAD_BACKEND'] == 'cocoa':
       UNIFIED_SOURCES += [