Chromium Code Reviews| 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 |