Code Monkey home page Code Monkey logo

v8's Introduction

v8 build

this repo is a mirror of v8/build module, with some custom behavior, for cocos2d-x-lite use a specific release of v8 engine.

Steps

  1. clone v8 repo, you can refer to v8 official docs

  2. find a release you want to build

    • re-compile only one platform, you can find the version in v8 header v8-version.h located at external.

      #define V8_MAJOR_VERSION 6
      
    • upgrade v8 engine, please select a version that latest stable chrome used. you can refer to wiki/Version-numbers

  3. follow the official docs, sync related sources. and then switch to version tag you want, for example 6.0.286.52. execute gclient sync again after checkout version tag, this will reset related repo to corresponding commit.

  4. run the custom shell script build-android.sh, you will get finally libs and headers in the v8/dist-android directory.

Tips

  1. don't need to execute the script below in wiki/D8-on-Android

    v8$ echo "target_os = ['android']" >> ../.gclient && gclient sync --nohooks
    

    it will download NDK & SDK, spend much time, and no benific if you have NDK already.

  2. build v8 using clang, you can refer to chromium/clang.md to know some build parameters.

Links

v8 repo

v8 project

v8's People

Contributors

drelaptop avatar minggo avatar

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.