Git Product home page Git Product logo

Comments (10)

PatriceJiang avatar PatriceJiang commented on July 17, 2024 1

Checkout v8 source code to 8.0.426.16
args.gn contents :

Android

# Build arguments go here.
# See "gn args <out_dir> --list" for available build arguments.
is_component_build = false
is_debug = false
target_cpu = "arm64"
v8_target_cpu = "arm64"
target_os = "android"
use_goma = false
goma_dir = "None"
v8_use_external_startup_data = false
icu_use_data_file=false
clang_use_chrome_plugins = false
v8_monolithic=true
use_custom_libcxx=false
strip_debug_info=true
v8_enable_i18n_support = false        # Produces a smaller binary.

iOS

# Build arguments go here.
# See "gn args <out_dir> --list" for available build arguments.
ios_deployment_target = 10
is_component_build = false
is_debug = false
target_cpu = "arm64"                 
target_os = "ios"
use_custom_libcxx = false             # Use Xcode's libcxx.
use_xcode_clang = true
v8_enable_i18n_support = false        # Produces a smaller binary.
v8_monolithic = true                  # Enable the v8_monolith target.
v8_use_external_startup_data = false  # The snaphot is included in the binary.
v8_static_library=true
treat_warnings_as_errors=false
v8_enable_pointer_compression=false   

win32

is_clang=true
is_debug=false
target_cpu="x86" 
is_component_build=true
icu_use_data_file=false
use_custom_libcxx=false
v8_use_external_startup_data=false
v8_enable_i18n_support = false        # Produces a smaller binary.

@fastOakan @cooperkuo

from cocos-engine-external.

fastOakan avatar fastOakan commented on July 17, 2024

@minggo @PatriceJiang ,

I'd like to re-compile V8 for android and ios. Would you please share your compiling script or options? Thanks

from cocos-engine-external.

minggo avatar minggo commented on July 17, 2024

@cooperkuo sorry for late reply.
@fastOakan sure. @PatriceJiang could you please share it?

Can i know why you want to compile it yourself? Because you should modify engine codes to adapt it.

from cocos-engine-external.

fastOakan avatar fastOakan commented on July 17, 2024

@minggo there are some V8 crash reported from field, and I'd like to figure out root cause. There are lots of update to 8.0-lkgr branch of V8, and the crash problem may be fixed by these update.

from cocos-engine-external.

fastOakan avatar fastOakan commented on July 17, 2024

By the way, I'm using CocosCreator 2.4.3.

from cocos-engine-external.

minggo avatar minggo commented on July 17, 2024

Got it.
@PatriceJiang is on holiday these days. He may come back next Monday.

from cocos-engine-external.

fastOakan avatar fastOakan commented on July 17, 2024

@PatriceJiang I have some urgent issue related with V8 and I'd like to change V8 code, so I need to re-compile V8. Would you please share v8 compile configuration?

from cocos-engine-external.

oahcy avatar oahcy commented on July 17, 2024

linux

# Build arguments go here.
# See "gn args <out_dir> --list" for available build arguments.
target_os = "linux"
use_custom_libcxx = false
clang_use_chrome_plugins = false
is_component_build = false
is_debug = false
target_cpu = "x64"
v8_static_library = true
v8_monolithic = true
v8_use_external_startup_data = false
v8_enable_test_features = false
v8_enable_i18n_support = false
symbol_level = 0

from cocos-engine-external.

cx-github avatar cx-github commented on July 17, 2024

image
The crash we encountered in the background of Firebase , any suggestions?

from cocos-engine-external.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.