Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(468)

Unified Diff: talk/app/webrtc/objc/README

Issue 1418513014: Fix target_arch for ios devices (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/app/webrtc/objc/README
diff --git a/talk/app/webrtc/objc/README b/talk/app/webrtc/objc/README
index 692fbbc5643d2552b32ac02b71e8a2ecbcb67124..8dc8b371609edb63f5a3c797349b34329bde3810 100644
--- a/talk/app/webrtc/objc/README
+++ b/talk/app/webrtc/objc/README
@@ -18,11 +18,21 @@ function wrbase() {
function wrios() {
wrbase
- export GYP_DEFINES="$GYP_DEFINES OS=ios target_arch=armv7"
+ export GYP_DEFINES="$GYP_DEFINES OS=ios"
export GYP_GENERATOR_FLAGS="$GYP_GENERATOR_FLAGS output_dir=out_ios"
export GYP_CROSSCOMPILE=1
}
+function wrios32() {
+ export GYP_DEFINES="$GYP_DEFINES target_arch=arm"
tkchin_webrtc 2015/10/27 17:00:19 wrios first then the export
+ wrios
+}
+
+function wrios64() {
+ export GYP_DEFINES="$GYP_DEFINES target_arch=arm64"
+ wrios
+}
+
function wrsim() {
wrbase
export GYP_DEFINES="$GYP_DEFINES OS=ios target_arch=ia32"
tkchin_webrtc 2015/10/27 17:00:19 this might need a target_subarch=arm32
@@ -53,8 +63,11 @@ Example of building & using the unittest & app:
wrsim && gclient runhooks && ninja -C out_sim/Debug iossim AppRTCDemo && \
./out_sim/Debug/iossim out_sim/Debug/AppRTCDemo.app
-- To build & sign the sample app for an iOS device:
- wrios && gclient runhooks && ninja -C out_ios/Debug-iphoneos AppRTCDemo
+- To build & sign the sample app for an iOS device (32 bit):
+ wrios32 && gclient runhooks && ninja -C out_ios/Debug-iphoneos AppRTCDemo
tkchin_webrtc 2015/10/27 17:00:19 wrios32 && webrtc/build/gyp_webrtc && ninja -C out
+
+- To build & sign the sample app for an iOS device (64 bit):
+ wrios64 && gclient runhooks && ninja -C out_ios/Debug-iphoneos AppRTCDemo
- To install the sample app on an iOS device:
tkchin_webrtc 2015/10/27 17:00:19 Delete this section
ideviceinstaller -i out_ios/Debug-iphoneos/AppRTCDemo.app
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698