aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap.bash
Commit message (Collapse)AuthorAgeFilesLines
* Move shell and python scripts to scripts/ directoryColin Cross2016-04-291-2/+2
| | | | Change-Id: Icdff44a54d14ddfc2266d99cf0578a8105716918
* Improve BUILDDIR handling with symlinksDan Willemsen2016-03-221-10/+2
| | | | | | | | | | | | If BUILDDIR is a local symlink to another directory in the same parent directory (out -> out.angler), then using out and .. as relative paths to get back and forth work. But if BUILDDIR is a symlink to another directory altogether (out -> /mnt/sdd/out.master), then we shouldn't be relying on relative paths (so that the source directory can still be moved). Change-Id: I946c8116090410ab2b935eafba9b6e96f5f2f1dd
* Use SRCDIR as a working directoryDan Willemsen2015-09-171-11/+40
| | | | | | | | | | | The existing behavior of using the build directory as the working directory is useful if you want to move/copy the output directory around and SRCDIR still refers the the source. But, it's more useful to have the source directory be the working directory. Tools like cpp(__FILE__) and other debug prints embed relative paths from the working directory. We also have tools that expect the working directory to be $TOP. Change-Id: Ia0f1d3c6b7df72d61cf5628efa2baa98bd19775b
* Build and run tests during bootstrapDan Willemsen2015-06-261-0/+1
| | | | Change-Id: If40489d74136af4d15d4ff26210a50975a462497
* Fix bootstrap.bash -r with Android.bpDan Willemsen2015-06-101-0/+1
| | | | Change-Id: I8182e57105b1c17254e082f6b72d2504befb7870
* Fix soong scripts to support directories with spacesColin Cross2015-04-101-3/+3
| | | | | | | | | | | Using a path with a space to execute soong is unlikely, but it might as well work. Quote all the paths in the soong scripts. Soong and blueprint will still both fail if the relative path between the soong script and the source directory has a space in it, but this is even more unlikely. Change-Id: I8986f10115209d69b09b82ffea26e4b10d29c197
* Replace soong script with a symlinkColin Cross2015-03-251-2/+2
| | | | | | | | | | | bootstrap.bash creates a soong script in the output directory using build/soong/soong.in. This requires a manual rebootstrap any time soong.in changes. Instead, have bootstrap.bash symlink build/soong/soong.bash to soong in the output directory, and create a file called .soong.bootstrap in the output directory that contains the variables that bootstrap.bash sets. Change-Id: I5e6e54c2e8bdde876941e2e082f9ba177c757cbf
* Initial soongColin Cross2015-03-041-0/+34
This creates the infrastructure that will be used to bootstrap the soong primary builder through blueprint and ninja. Change-Id: Iebed8f369e4db41b207d0b2a48a7a54a4dd7d45d