The script tries to automatically work out the right directory
for a given sdk name, but some modules don't fit the current
heuristic. Add those in manually.
Test: run finalize_sdk.py
Change-Id: I1eeedae80edfe1dc4d7a7dc27402f40189d00644
Local mainline SDK artifacts can be built via
TARGET_BUILD_VARIANT=userdebug UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true vendor/google/build/mainline_modules_sdks.sh
Bug: 260755259
Test: run locally
Change-Id: I0eb13441201d62db1686f2930957e33b4aa4ce37
The script tries to automatically work out the right directory
for a given sdk name, but some modules don't fit the current
heuristic. Add those in manually.
Test: run finalize_sdk.py
Change-Id: I9d9b375d686e3406375cdd06fc6c11399290af15
Using 'mainline_modules_sdks-userdebug' target for fetch the artifacts.
Bug: 256848771
Test: The code builds.
Change-Id: Ic6a171f43031c4da7f71a4cbf88812365efc4fef
Rename stubs jar from '*-stubs.jar' to '*.jar' when importing artifacts.
(This was supposed to be part of b9868b1a58 but was lost in a rebase.)
Bug: 235578272
Test: manual: run finalize_sdk.py and inspect prebuilts/sdk/extensions
Change-Id: I93a3ef6f75a566ff5d0c525a15e2003fb7b890ed
finalize_sdk.py will include the command line used in the commit
messages it creates. However, it fails to correctly esacpe the
arguments. Correct this.
Before:
... -r This is some text ...
After:
... -r 'This is some text' ...
Test: manual: run finalize_sdk.py, check commit message in prebuilts/sdk
Change-Id: I67f1dd5fe8b36658c76cdcfa31a6c8fbc610621a
Update finalize_sdk.py to extract the jar stub files from a build,
similarly to how it already extracts diff text files.
Also remove the '-stubs' part from the jar filenames.
Bug: 235578272
Test: manual: run finalize_sdk.py and inspect prebuilts/sdk/extensions
Change-Id: I4a67f2c06dd11c9ea91cf6eaf10035c729d55a32
Conscrypt and ART have some history of using dist_stem names in
prebuilts/sdk that are different from the module names of their
java_sdk_library, leading to same naming inconsistensies.
Update the finalize script to reconcile these inconsistensies during
import.
Note that the build has already been updated to throw an error when
inconsistensies are discovered, so this update to the script is to
make sure the next import of conscrypt/art goes smoothly.
Test: finalize_sdk.py with conscrypt/art
Change-Id: If82fadf73d508d4807aef11b960e0860d54874b7
- Keep the Android.bp -- but rename to Android.bp.auto
- Use 'or' instead of 'if not'
Bug: 222050148
Test: Run finalize_sdk.py
Merged-In: I919c3d37916d3854cd0c8d59fddb8a1420f429b9
Change-Id: I919c3d37916d3854cd0c8d59fddb8a1420f429b9
Every time an SDK is finalized, a new version history entry should be
added to prebuilts/sdk/extensions/README.md. Introduce a new option,
--readme <msg>, to better enforce this.
Test: manual: run finalized_sdk.py, inspect README.md
Change-Id: I2257dc2bcf710bb2cb616afa9b8e3d3cb307de8e
We need to duplicate the txt files in an additional location in
order for compatibility tracking to work. Make the script copy them
to that location as well.
Test: run finalize.py for version 2
Change-Id: I31848ad3f5cd0c264c68b4cdd874c93615de600a
Finalization often doesn't include all modules, so make the script
support both modes of operation.
Test: together with the rest of the CLs in this set
Change-Id: Icaf4937b549118ae92457f25c08427a62de1274b
- Update to use new build server output structure
- Customize to work with train builds and continuous builds
- Don't finalize Android.bp files for now, we don't need them
Test: together with the rest of the CLs in this set
Change-Id: Ie7b44da3cf0a784d732702bce86cbe52f75493a4
The legacy os path stuff is a bit cumbersome to work with.
Test: together with the rest of the CLs in this set
Change-Id: I94f7c6f04e9f3e1644b1cc6585c2c8752f6b33ef
The bug has been fixed.
Bug: 190499958
Test: No
Change-Id: Iaa255586103daf76fa336560f3cd1b31668cf414
Merged-In: Iaa255586103daf76fa336560f3cd1b31668cf414
Not intended to be a long-term solution, but allows us to get off
the ground and download/commit the artifacts in an efficient way.
Bug: 188787081
Test: run script on test topic
Change-Id: Ia01929cd3614f18cdad1e1b23594dd473a11051e
Merged-In: Ia01929cd3614f18cdad1e1b23594dd473a11051e
(cherry picked from commit a874e95adc)