Skip to content

Commit

Permalink
Remove examples and tools from iosx builds
Browse files Browse the repository at this point in the history
  • Loading branch information
c-g-owen committed May 23, 2019
1 parent 819a64b commit f120885
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions scripts/build_iosx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,17 @@ for PATCH in ../../patch/*.patch; do
patch -p1 < $PATCH
done

gn gen out/osx-x86_64 -args='target_os="mac" target_cpu="x64" is_debug=false rtc_include_tests=false'
export ARGS="is_debug=false rtc_include_tests=false rtc_build_examples=false rtc_build_tools=false"
gn gen out/osx-x86_64 -args="target_os=\"mac\" target_cpu=\"x64\" $ARGS"
ninja -C out/osx-x86_64

gn gen out/ios-x86_64 -args='target_os="ios" target_cpu="x64" is_debug=false rtc_include_tests=false'
gn gen out/ios-x86_64 -args="target_os=\"ios\" target_cpu=\"x64\" $ARGS"
ninja -C out/ios-x86_64

gn gen out/ios-armv7 -args='target_os="ios" target_cpu="arm" is_debug=false rtc_include_tests=false'
gn gen out/ios-armv7 -args="target_os=\"ios\" target_cpu=\"arm\" $ARGS"
ninja -C out/ios-armv7

gn gen out/ios-arm64 -args='target_os="ios" target_cpu="arm64" is_debug=false rtc_include_tests=false'
gn gen out/ios-arm64 -args="target_os=\"ios\" target_cpu=\"arm64\" $ARGS"
ninja -C out/ios-arm64

popd > /dev/null
Expand Down

0 comments on commit f120885

Please sign in to comment.