Build all java files into jar for each module on Android
BUG=None
TEST=All java files in each module are built into jar and used by WebRTCDemo app
R=fischman@webrtc.org, niklas.enbom@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1696004
Patch from Jeremy Mao <yujie.mao@intel.com>.
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4284 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/webrtc/modules/modules_java.gyp b/webrtc/modules/modules_java.gyp
new file mode 100644
index 0000000..e59d2bd
--- /dev/null
+++ b/webrtc/modules/modules_java.gyp
@@ -0,0 +1,39 @@
+# Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
+#
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file in the root of the source
+# tree. An additional intellectual property rights grant can be found
+# in the file PATENTS. All contributing project authors may
+# be found in the AUTHORS file in the root of the source tree.
+
+{
+ 'targets': [
+ {
+ 'target_name': 'audio_device_module_java',
+ 'type': 'none',
+ 'variables': {
+ 'java_in_dir': 'audio_device/android/java',
+ },
+ 'includes': [ '../../build/java.gypi' ],
+ }, # audio_device_module_java
+ {
+ 'target_name': 'video_capture_module_java',
+ 'type': 'none',
+ 'dependencies': [
+ 'video_render_module_java',
+ ],
+ 'variables': {
+ 'java_in_dir': 'video_capture/android/java',
+ },
+ 'includes': [ '../../build/java.gypi' ],
+ }, # video_capture_module_java
+ {
+ 'target_name': 'video_render_module_java',
+ 'type': 'none',
+ 'variables': {
+ 'java_in_dir': 'video_render/android/java',
+ },
+ 'includes': [ '../../build/java.gypi' ],
+ }, # video_render_module_java
+ ],
+}