From 43a13953708ee5081fcbc1255cb48ca62104b899 Mon Sep 17 00:00:00 2001 From: "fischman@webrtc.org" Date: Wed, 28 May 2014 17:29:09 +0000 Subject: [PATCH] AppRTCDemo(android): README updates for a shrinking envsetup.sh world. There was duplicated (and out of date!) information in README relative to getting-started so de-duped to point to getting-started as the canonical reference. R=wu@webrtc.org Review URL: https://webrtc-codereview.appspot.com/15589006 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6265 4adac7df-926f-26a2-2b94-8c16560cd09d --- talk/examples/android/README | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/talk/examples/android/README b/talk/examples/android/README index 4e3db86e1b..faf4e924d0 100644 --- a/talk/examples/android/README +++ b/talk/examples/android/README @@ -1,19 +1,9 @@ This directory contains an example Android client for http://apprtc.appspot.com Prerequisites: -- Make sure gclient is checking out tools necessary to target Android: your - .gclient file should contain a line like: - target_os = ['android', 'unix'] - Make sure to re-run gclient sync after adding this to download the tools. -- Env vars need to be set up to target Android; easiest way to do this is to run - (from the libjingle trunk directory): - . ./build/android/envsetup.sh - Note that this clobbers any previously-set $GYP_DEFINES so it must be done - before the next item. +- "Android Specific Steps" on http://www.webrtc.org/reference/getting-started - Set up webrtc-related GYP variables: export GYP_DEFINES="build_with_libjingle=1 build_with_chromium=0 libjingle_java=1 $GYP_DEFINES" - export JAVA_HOME= - export PATH=$JAVA_HOME/bin:$PATH To cause WEBRTC_LOGGING to emit to Android's logcat, add enable_tracing=1 to the $GYP_DEFINES above. - When targeting both desktop & android, make sure to use a different output_dir