Fixes build breakage when building WebRTC in Chromium and having include_tests=1.
TBR=fischman@webrtc.org BUG=N/A Review URL: https://webrtc-codereview.appspot.com/1770004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4305 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
bd3eee3e24
commit
a2073af728
@ -26,9 +26,11 @@
|
||||
['build_with_chromium==1 or build_with_libjingle==1', {
|
||||
'webrtc_root%': '<(DEPTH)/third_party/webrtc',
|
||||
'apk_tests_path%': '<(DEPTH)/third_party/webrtc/build/apk_tests.gyp',
|
||||
'modules_java_gyp_path%': '<(DEPTH)/third_party/webrtc/modules/modules_java_chromium.gyp',
|
||||
}, {
|
||||
'webrtc_root%': '<(DEPTH)/webrtc',
|
||||
'apk_tests_path%': '<(DEPTH)/webrtc/build/apk_test_noop.gyp',
|
||||
'modules_java_gyp_path%': '<(DEPTH)/webrtc/modules/modules_java.gyp',
|
||||
}],
|
||||
],
|
||||
},
|
||||
@ -36,6 +38,7 @@
|
||||
'build_with_libjingle%': '<(build_with_libjingle)',
|
||||
'webrtc_root%': '<(webrtc_root)',
|
||||
'apk_tests_path%': '<(apk_tests_path)',
|
||||
'modules_java_gyp_path%': '<(modules_java_gyp_path)',
|
||||
|
||||
'webrtc_vp8_dir%': '<(webrtc_root)/modules/video_coding/codecs/vp8',
|
||||
'include_opus%': 1,
|
||||
@ -44,6 +47,7 @@
|
||||
'build_with_libjingle%': '<(build_with_libjingle)',
|
||||
'webrtc_root%': '<(webrtc_root)',
|
||||
'apk_tests_path%': '<(apk_tests_path)',
|
||||
'modules_java_gyp_path%': '<(modules_java_gyp_path)',
|
||||
'webrtc_vp8_dir%': '<(webrtc_vp8_dir)',
|
||||
'include_opus%': '<(include_opus)',
|
||||
|
||||
|
39
webrtc/modules/modules_java_chromium.gyp
Normal file
39
webrtc/modules/modules_java_chromium.gyp
Normal file
@ -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
|
||||
],
|
||||
}
|
@ -89,7 +89,7 @@
|
||||
],
|
||||
'dependencies': [
|
||||
'<(webrtc_root)/modules/modules.gyp:*',
|
||||
'<(webrtc_root)/modules/modules_java.gyp:*',
|
||||
'<(modules_java_gyp_path):*',
|
||||
'<(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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user