Build script for V8 for Android platform.
Перейти к файлу
microsoft-github-policy-service[bot] fed153b8ed
Auto merge mandatory file pr
This pr is auto merged as it contains a mandatory file and is opened for more than 10 days.
2022-11-28 19:11:05 +00:00
.gitattributes All so files are stored in git-lfs. (#6) 2018-08-10 16:59:00 -07:00
.gitignore The only file which needs to be ignored in the project is v8.zip. (#5) 2018-08-10 01:43:01 -07:00
Dockerfile Bump V8 version to 8.1.3 2020-04-22 10:04:44 +03:00
LICENSE Initial commit 2018-07-29 21:05:19 -07:00
README.md Docker buildscript and documentation for it. 2018-07-30 11:28:36 -07:00
SECURITY.md Microsoft mandatory file 2022-08-29 14:01:13 +00:00
args_arm.gn V8 build flags changed in order to have debug symbols in the unstripped binaries. Without this change it is impossible to unwind stack traces against the unstripped libraries. (#2) 2018-08-08 21:17:11 -07:00
args_arm64.gn V8 build flags changed in order to have debug symbols in the unstripped binaries. Without this change it is impossible to unwind stack traces against the unstripped libraries. (#2) 2018-08-08 21:17:11 -07:00
args_x86.gn V8 build flags changed in order to have debug symbols in the unstripped binaries. Without this change it is impossible to unwind stack traces against the unstripped libraries. (#2) 2018-08-08 21:17:11 -07:00
args_x86_64.gn Added support of x86_64 (#7) 2019-03-08 17:13:11 -08:00
clear_docker.sh Docker buildscript and documentation for it. 2018-07-30 11:28:36 -07:00
docker_build.sh Docker buildscript and documentation for it. 2018-07-30 11:28:36 -07:00
docker_explore.sh Docker buildscript and documentation for it. 2018-07-30 11:28:36 -07:00
full_clean_build.sh Docker buildscript and documentation for it. 2018-07-30 11:28:36 -07:00

README.md

V8 Docker buildscript for Android platform

Building V8

  1. Install docker for your platform.
  2. Run docker_build.sh command in couple of hours you will get v8.zip in the same directory

Scripts description

  1. clear_docker.sh - will remove ALL docker images you have on your machine. If you are using docker for some other purpose don't run it it will bust your cache.
  2. docker_build.sh - Builds V8 for ARM64, ARM and X86. As part of the build process it re-creates v8docker alias which is used by other scripts.
  3. docker_explore.sh - Useful debug tool. Opens the shell session with v8_docker container. In order to use this script docker_build.sh should succeed. If it fails by some reason - comment the failing lines and run build script again.
  4. full_clean_build.sh - callds clear_docker.sh and then docker_build.sh. You could try it if you are desperate or have a couple hours to spare.

Docker Basics

  1. Every script command result is cached to the small sub-container.
  2. If you add/modify any command - the caches of all commands below will be invalidated.
  3. There is a magic CACHE_BUST=1 in the script. You might want to modify the value to reset the container to thee state before checking out the branch.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.