summaryrefslogtreecommitdiff
path: root/common_audio/common_audio.gyp
diff options
context:
space:
mode:
authorkjellander@webrtc.org <kjellander@webrtc.org>2014-09-03 14:34:46 +0000
committerkjellander@webrtc.org <kjellander@webrtc.org>2014-09-03 14:34:46 +0000
commit51917305154c4f689ce8d45f6feb869b0c814820 (patch)
tree0b711a0bef64574062d55665b091bdf2c08bd66c /common_audio/common_audio.gyp
parent83d0456730a4036ec6be89bf1b1ce9d0b38ce2b5 (diff)
downloadwebrtc-51917305154c4f689ce8d45f6feb869b0c814820.tar.gz
Partial revert of r7014 (Android APK refactor)
This reverts selected parts of r7014 to enable rolling WebRTC in Chromium DEPS. This works around the problem with GYP includes being processed in the first pass (i.e. variables cannot be used for paths). Using a dependency with a path using a variable that is conditioned for build_with_chromium being 0 or 1 solves the Chromium build. These changes will be restored once I've finished a major GYP refactoring that will break out all test related code (at least the parts that includes the Android APK targets) into a separate chain of GYP targets that are not processed when generating projects for Chromium (which is why r7014 is breaking the Chromium build). BUG=3741 TESTED=Passing compilation of standalone using: GYP_DEFINES="OS=android component=static_library fastbuild=1 target_arch=arm" webrtc/build/gyp_webrtc ninja -C out/Debug Then verified the *_apk targets are generated and compiled. Passing compilation from a Chromium checkout with third_party/webrtc directory removed and a new empty third_party/webrtc mapped to the standalone checkout using: sudo mount --bind /path/to/trunk/webrtc third_party/webrtc Then running build/gyp_chromium I also verified WebRTC GYP targets exist and are able to compile. R=henrike@webrtc.org Review URL: https://webrtc-codereview.appspot.com/20299004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7040 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'common_audio/common_audio.gyp')
-rw-r--r--common_audio/common_audio.gyp11
1 files changed, 2 insertions, 9 deletions
diff --git a/common_audio/common_audio.gyp b/common_audio/common_audio.gyp
index 699a7ebc..e9abf822 100644
--- a/common_audio/common_audio.gyp
+++ b/common_audio/common_audio.gyp
@@ -240,17 +240,10 @@
['OS=="android"', {
'targets': [
{
- 'target_name': 'common_audio_unittests_apk',
+ 'target_name': 'common_audio_unittests_apk_target',
'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': [
- 'common_audio_unittests',
- ],
- 'includes': [
- '../../build/apk_test.gypi',
+ '<(apk_tests_path):common_audio_unittests_apk',
],
},
],