Giter VIP home page Giter VIP logo

jsenv's Introduction

Build steps for jsenv

GN (in short of 'Generate Ninja') is a meta-build system that generates Ninja build files so that you can build projects with Ninja. Public GN documents can be found at: https://chromium.googlesource.com/chromium/src/+/master/tools/gn/README.md

1. Pull docker image and enter container.

  docker pull quickapp/v8-build:200513

2. build v8

export CI_PROJECT_DIR="/root/jsenv-runtime"
cd /root/v8
git checkout remotes/origin/8.3-lkgr
cp -R /root/v8/include $CI_PROJECT_DIR/v8-build/v8
cd $CI_PROJECT_DIR/v8-build/v8/src
python build_v8.py --target android --v8-source /root/v8 --remote-branch remotes/origin/8.3-lkgr

3. Link third_party.

cd $CI_PROJECT_DIR
mkdir -p third_party/android_tools/
ln -s /root/v8/third_party/android_ndk third_party/android_tools/ndk
ln -s /root/v8/third_party/android_sdk/public third_party/android_tools/sdk
ln -s /root/v8/third_party/depot_tools third_party/depot_tools

4. Build jsenv.

  • Only build jsenv.
  python3 build_upload.py --test --version [jsenv-version]
  • Build and upload jsenv.
  python3 build_upload.py --upload --test \
    --version [jsenv-version] --repo-username admin --repo-password [password]

jsenv's People

Contributors

gaoyulong-xiaomi avatar barats avatar

Watchers

James Cloos 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.