From f72321aafe7d975eb465cf56a94f234ff49a325f Mon Sep 17 00:00:00 2001 From: sakal Date: Fri, 16 Sep 2016 01:35:00 -0700 Subject: [PATCH] Update anroidapp/README for GN build. BUG=webrtc:6341 NOTRY=True Review-Url: https://codereview.webrtc.org/2338323005 Cr-Commit-Position: refs/heads/master@{#14252} --- webrtc/examples/androidapp/README | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/webrtc/examples/androidapp/README b/webrtc/examples/androidapp/README index c8705a8bba..55459c2f3b 100644 --- a/webrtc/examples/androidapp/README +++ b/webrtc/examples/androidapp/README @@ -1,22 +1,14 @@ This directory contains an example Android client for https://appr.tc Prerequisites: -- "Getting the code" on http://www.webrtc.org/native-code/android -- Set up webrtc-related GYP variables: - export GYP_DEFINES="OS=android $GYP_DEFINES" -- When targeting both desktop & android, make sure to use a different output_dir - value in $GYP_GENERATOR_FLAGS - for example - export GYP_GENERATOR_FLAGS="$GYP_GENERATOR_FLAGS output_dir=out_android" - or you'll likely end up with mismatched ARM & x86 output artifacts. - If you use an output_dir other than out/ make sure to modify the command-lines - below appropriately. -- Finally, run "gclient runhooks" to generate Android-targeting .ninja files. +- "Getting the code", "Compiling", and "Using the Bundled Android SDK/NDK" + on http://www.webrtc.org/native-code/android Example of building & using the app: cd /src -ninja -C out/Debug AppRTCDemo -adb install -r out/Debug/apks/AppRTCDemo.apk +ninja -C out/Default AppRTCDemo +adb install -r out/Default/apks/AppRTCDemo.apk In desktop chrome, navigate to https://appr.tc and note the r= room this redirects to or navigate directly to https://appr.tc/r/ with