Reason for revert: behold the meltdown of the "trunk" bots on http://build.chromium.org/p/chromium.webrtc.fyi/waterfall Turns out that include in gyp is fraught with peril: https://code.google.com/p/gyp/wiki/InputFormatReference#Including_Other_Files > Build all java files into jar for each module on Android > > BUG= > R=fischman@webrtc.org, niklas.enbom@webrtc.org > > Review URL: https://webrtc-codereview.appspot.com/1636004 > > Patch from Jeremy Mao <yujie.mao@intel.com>. TBR=fischman@webrtc.org BUG= Review URL: https://webrtc-codereview.appspot.com/1660005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4222 4adac7df-926f-26a2-2b94-8c16560cd09d
47 lines
2.4 KiB
Python
47 lines
2.4 KiB
Python
# Copyright (c) 2012 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': 'video_demo_apk',
|
|
'type': 'none',
|
|
'dependencies': [
|
|
'<(webrtc_root)/modules/modules.gyp:*',
|
|
'<(webrtc_root)/test/test.gyp:channel_transport',
|
|
'<(webrtc_root)/video_engine/video_engine.gyp:video_engine_core',
|
|
'<(webrtc_root)/voice_engine/voice_engine.gyp:voice_engine',
|
|
],
|
|
'actions': [
|
|
{
|
|
# TODO(leozwang): Convert building of the demo to a proper GYP target
|
|
# so this action and the custom build script is not needed.
|
|
'action_name': 'build_video_demo_apk',
|
|
'inputs' : [
|
|
'<(webrtc_root)/modules/audio_device/android/org/webrtc/voiceengine/WebRTCAudioDevice.java',
|
|
'<(webrtc_root)/modules/video_capture/android/java/org/webrtc/videoengine/CaptureCapabilityAndroid.java',
|
|
'<(webrtc_root)/modules/video_capture/android/java/org/webrtc/videoengine/VideoCaptureAndroid.java',
|
|
'<(webrtc_root)/modules/video_capture/android/java/org/webrtc/videoengine/VideoCaptureDeviceInfoAndroid.java',
|
|
'<(webrtc_root)/modules/video_render/android/java/org/webrtc/videoengine/ViEAndroidGLES20.java',
|
|
'<(webrtc_root)/modules/video_render/android/java/org/webrtc/videoengine/ViERenderer.java',
|
|
'<(webrtc_root)/modules/video_render/android/java/org/webrtc/videoengine/ViESurfaceRenderer.java',
|
|
'<(webrtc_root)/video_engine/test/android/src/org/webrtc/videoengine/ViEMediaCodecDecoder.java',
|
|
'<(webrtc_root)/video_engine/test/android/src/org/webrtc/videoengineapp/IViEAndroidCallback.java',
|
|
'<(webrtc_root)/video_engine/test/android/src/org/webrtc/videoengineapp/ViEAndroidJavaAPI.java',
|
|
'<(webrtc_root)/video_engine/test/android/src/org/webrtc/videoengineapp/WebRTCDemo.java',
|
|
],
|
|
'outputs': ['<(webrtc_root)'],
|
|
'action': ['python',
|
|
'<(webrtc_root)/video_engine/test/android/build_demo.py',
|
|
'--arch', '<(target_arch)'],
|
|
},
|
|
],
|
|
},
|
|
],
|
|
}
|
|
|