summaryrefslogtreecommitdiff
path: root/common_audio
diff options
context:
space:
mode:
authorkjellander@webrtc.org <kjellander@webrtc.org>2014-09-01 11:06:37 +0000
committerkjellander@webrtc.org <kjellander@webrtc.org>2014-09-01 11:06:37 +0000
commitb9d6b2bf432a5798d629e52bcb06d18cad350fc1 (patch)
tree47982accb80e56fbaad360e447f1461e8dcbff67 /common_audio
parentf346864545db8090802011db9a163d4f3ee26e40 (diff)
downloadwebrtc-b9d6b2bf432a5798d629e52bcb06d18cad350fc1.tar.gz
Android APK tests built from a normal WebRTC checkout.
Restructure how the Android APK tests are compiled now that we have a Chromium checkout available (since r6938). This removes the need of several hacks that were needed when building these targets from inside a Chromium checkout. By creating a symlink to Chromium's base we can compile the required targets. This also removes the need of the previously precompiled binaries we keep in /deps/tools/android at Google code. All the user needs to do is to add the target_os = ["android"] entry to his .gclient as described at https://code.google.com/p/chromium/wiki/AndroidBuildInstructions Before committing this CL, the Android APK buildbots will need to be updated. This also solves http://crbug.com/402594 since the apply_svn_patch.py usage will be similar to the other standalone bots. It also solves http://crbug.com/399297 BUG=chromium:399297, chromium:402594 TESTED=Locally compiled all APK targets by running: GYP_DEFINES="OS=android include_tests=1 enable_tracing=1" gclient runhooks ninja -C out/Release checkdeps R=henrike@webrtc.org, tommi@webrtc.org Review URL: https://webrtc-codereview.appspot.com/22149004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7014 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'common_audio')
-rw-r--r--common_audio/common_audio.gyp19
1 files changed, 11 insertions, 8 deletions
diff --git a/common_audio/common_audio.gyp b/common_audio/common_audio.gyp
index ae3bacb7..699a7ebc 100644
--- a/common_audio/common_audio.gyp
+++ b/common_audio/common_audio.gyp
@@ -228,9 +228,7 @@
'wav_writer_unittest.cc',
],
'conditions': [
- # TODO(henrike): remove build_with_chromium==1 when the bots are
- # using Chromium's buildbots.
- ['build_with_chromium==1 and OS=="android"', {
+ ['OS=="android"', {
'dependencies': [
'<(DEPTH)/testing/android/native_test.gyp:native_test_native_code',
],
@@ -239,15 +237,20 @@
},
], # targets
'conditions': [
- # TODO(henrike): remove build_with_chromium==1 when the bots are using
- # Chromium's buildbots.
- ['build_with_chromium==1 and OS=="android"', {
+ ['OS=="android"', {
'targets': [
{
- 'target_name': 'common_audio_unittests_apk_target',
+ 'target_name': 'common_audio_unittests_apk',
'type': 'none',
+ 'variables': {
+ 'test_suite_name': 'common_audio_unittests',
+ 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)common_audio_unittests<(SHARED_LIB_SUFFIX)',
+ },
'dependencies': [
- '<(apk_tests_path):common_audio_unittests_apk',
+ 'common_audio_unittests',
+ ],
+ 'includes': [
+ '../../build/apk_test.gypi',
],
},
],