Skip to content

Commit

Permalink
androidのAARビルド時もuse_custom_libcxx=falseとする
Browse files Browse the repository at this point in the history
Signed-off-by: Zenichi Amano <2736571+crow-misia@users.noreply.github.com>
  • Loading branch information
crow-misia committed Nov 14, 2023
1 parent 8ecab6f commit 74d5414
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build/android/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ EXTRA_GN_ARGS := \
is_component_build=false \
rtc_enable_protobuf=false \
rtc_build_json=true \
use_rtti=true
use_rtti=true \
use_custom_libcxx=false

.PHONY: all
all: clean build package
Expand Down Expand Up @@ -65,7 +66,7 @@ patch: common-patch

define build-android
cd $(SRC_DIR) && \
gn gen $(BUILD_DIR)/static/$1 --args='$(EXTRA_GN_ARGS) use_custom_libcxx=false $(CC_WRAPPER) target_os="android" target_cpu="$2" $3' && \
gn gen $(BUILD_DIR)/static/$1 --args='$(EXTRA_GN_ARGS) $(CC_WRAPPER) target_os="android" target_cpu="$2" $3' && \
ninja -C $(BUILD_DIR)/static/$1 && \
ninja -C $(BUILD_DIR)/static/$1 native_api

Expand Down

0 comments on commit 74d5414

Please sign in to comment.