| Age | Commit message (Collapse) | Author |
|
Remove the upper-case variables by inlining their values.
Rename the first argument from 'ctx' to idiomatic 'self'.
Test: Generated artifacts are identical
Change-Id: I6081e828db03423c088e5685812325c5ed96fb00
|
|
Let the scripts explicitly call it rather than making it
part of the build system magic.
It is much easier now with the context object.
Do not spam build log output with non-error messages.
Test: Generated artifacts are the same
Change-Id: I03b1e317b4f542c27b635ddd9defdd5c0e2bcb3e
|
|
Follow the same convention as run-test run scripts.
The python files shall export build function,
rather than doing the work when the script is loaded.
This has the advantage that we now pass context/arguments
to the function (rather than using environment variables).
Test: the generated build artefacts are identical
Change-Id: I90e0ef0d2e31b27813042d51d07b5ae132e1e704
|
|
Tests use the build script for two distinct purposes:
* Some tests generate their source code before completion.
Keep this code in bash for now and rename it "generate-sources".
* To customize arguments passed to the default compilation script.
Since the default compilation script is in python, make this
a normal python call, and add any customization as arguments.
This speeds up the run-test compilation. There was small cost to
pay due to the switching from python to bash to python.
This added up for the thousands of run-test compilations that we do.
It also removes the need for argument parser in the default script.
We could also remove the data passing via environment (to-do later).
It moves the definition to more build-system-like look and feel.
Test: The outputs are bit-for-bit identical as before.
Change-Id: Idca4181a4676036f06aae0a8f6eea3a3c30d390e
|