summaryrefslogtreecommitdiff
path: root/bootstrap.py
AgeCommit message (Collapse)Author
2021-09-21floss: Refactor build script and merge bootstrapping Abhishek Pandit-Subedi
Removed the separate bootstrap.py and merged its functionality into build.py. With all the changes, this is how you do bootstrapping + building now: ./build.py --run-bootstrap ./build.py This changes defaults to something reasonable in the scripts. A few of the defaults that were changed: * Set bootstrap dir default to ~/.floss * Libdir changed to /usr/lib * Clang made default and --no-clang added instead * Vendored rust made default and --no-vendored-rust added instead Bug: 200620285 Tag: #floss Test: ./build.py --run-bootstrap && ./build.py Change-Id: I305c6baa8a47e958dfa8e136eb60b08fc742effc
2021-07-14floss: Add bootstrap script to simplify setup Abhishek Pandit-Subedi
To simplify setting up the Linux build, add a bootstrap script that will set up the output and staging directories automatically. The script also checks if you have all requisite packages installed to build successfully or it will generate an apt-get install command for you with the missing packages. Also checks rust packages. Bug: 193585779 Test: Ran script Tag: #floss Change-Id: Iede4f442af2bc8028623cbe808afd99951cf723c