| Age | Commit message (Collapse) | Author |
|
This reverts commit a3b8c73d8ae9943c8aaabf49349302b4c05cea71.
Reason for revert: Reland
Test: ./art/test.py -b --host --optimizing --64
Test: device boots with container dex enabled for framework
Test: tests pass with compax dex re-enabled
Change-Id: I100a796f5105c351a531a45dcbea8b0245f598a8
|
|
This reverts commit 854b363b284592d0bbfdbe31eb487fa64a4b9471.
Reason for revert: PlayStore Scanner failures
Change-Id: I7807aba1bfe1f662129f90c870c82427ca6d121f
|
|
Allow multiple dex files within single "container"
(either a zip entry or a plain on-disk dex file).
This allows sharing of string (and other) dex data,
since the offsets can point to shared data payload.
Bug: 266950186
Test: test.py -b --host
Change-Id: I4f5901fd2f26a5a9dba427eb48c0fa5ddb6243d8
|
|
Move some of the helper methods to the test instance so that
they can be used from the per-test run scripts.
Test: Build artifacts are identical.
Change-Id: Ieebd40390c34a9a9bb123e54e0b2b6cd410735f1
|
|
Refactor the script to use python Path object rather than strings.
Keep all paths absolute to make the script independent of working dir.
This allows us to use threads rather than forks to compile the tests.
Test: All build artifacts are identical.
Change-Id: Id38881f6457c697d8b5f7ce509beab6e56bd3277
|
|
Use python variables rather than environment to pass state.
Cleanup the environment use left over from the bash version.
Test: build artifacts are same as before
Change-Id: I3ba7f9e31a9a7046c62d67c6c66af4988d5c469a
|
|
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
|