Commit Graph

9 Commits

Author SHA1 Message Date
Anton Hansson
211a4e2b51 Update path to module SDKs
The "current" directory is going to be removed.

Test: No
Change-Id: I69669cfba5514ccb590e441537ae0377fb3cdf71
2022-05-12 11:42:06 +00:00
Anton Hansson
22a794f499 Address review comments on finalize_sdk.py
- 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
2022-04-29 11:11:54 +00:00
Mårten Kongstad
018e0d0f54 finalize_sdk.py: add --readme option
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
2022-04-26 07:35:51 +00:00
Anton Hansson
b853f31f28 Make finalization script also copy compat txt files
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
2022-04-07 11:01:05 +01:00
Anton Hansson
53c913e727 Add support to finalize only a subset of modules
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
2022-04-06 15:30:55 +01:00
Anton Hansson
3e8dcd4a92 finalize_sdk.py maintenance
- 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
2022-04-06 15:30:17 +01:00
Anton Hansson
0e8dbf88fb Convert finalize_sdk.py to use pathlib
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
2022-04-06 11:58:01 +01:00
Anton Hansson
3886a9a7ed Remove workaround for IPSec buildfile not working
The bug has been fixed.

Bug: 190499958
Test: No
Change-Id: Iaa255586103daf76fa336560f3cd1b31668cf414
Merged-In: Iaa255586103daf76fa336560f3cd1b31668cf414
2021-06-28 12:56:35 +01:00
Anton Hansson
f05db63424 Add tool to help finalize extension SDK
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)
2021-06-15 11:33:12 +00:00