我现在测试的时候, 用cocos自带的v8会闪退, 自己编译v8定位问题却不会闪退, 但是我自己编译的v8有1.8G, cocos自带的libv8_monolith.a却只有51MB, 请问一下你们是怎么编译到这个大小的?
我编译时用的gn args是这些:
ios_deployment_target =“10”
ios_enable_code_signing=false
is_component_build = false
target_cpu = “arm64” # “x64” for a simulator build.
target_os = “ios”
use_custom_libcxx = false # Use Xcode’s libcxx.
use_xcode_clang = true
v8_monolithic = true # Enable the v8_monolith target.
v8_enable_pointer_compression = false
v8_use_external_startup_data = false # The snaphot is included in the binary.
enable_ios_bitcode = false
v8_enable_i18n_support = true # Produces a smaller binary.
is_debug = false
v8_no_inline = false
v8_enable_backtrace = false
v8_enable_disassembler = false
v8_enable_object_print = false
v8_enable_debugging_features = false
v8_optimized_debug = false
enable_iterator_debugging = false
enable_stripping = false
strip_debug_info = false
