The variable is only used by the tests.
Test: atest mainline_modules_sdks_test
packages/modules/common/build/mainline_modules_sdks.sh
tree out/dist/mainline-sdks out/dist/stubs
- check that it is identical to before this change
Bug: 204763318
Change-Id: I38c4ce218825d79de831868af814c43ce8a6d60f
Separates the logic from populate_dist which handles the legacy stubs
directory into its own populate_stubs directory. That is in preparation
for calling populate_dist multiple times to create sdk snapshots for
different build releases.
Test: atest mainline_modules_sdks_test
packages/modules/common/build/mainline_modules_sdks.sh
tree out/dist/mainline-sdks out/dist/stubs
- check that it is identical to before this change
Bug: 204763318
Change-Id: Idada531b7f88dee3fea861a059a0773bc983853d
Previously, the produce_dist() method of SdkDistProducer was not
testable because it attempted to invoke Soong to build the sdk
snapshots. So, the TestPopulateDist tested the populate_dist() method
instead. That was a problem because it meant that future changes to
the produce_dist() method could not be tested, at least not without
duplicating its functionality.
This change extracts the logic for building the snapshots (i.e. the
code that invokes soong to build the snapshot files) from the
SdkDistProducer into a separate SnapshotBuilder class. That allows
the test to substitute a FakeSnapshotBuilder that generates some fake
sdk snapshot zip files and call produce_dist() instead of calling
populate_dist() and populate_stubs().
It also renames the test to TestProduceDist to reflect that change.
This is part of a larger refactoring to improve the testability of the
mainline_modules_sdks.py file in preparation for adding support for
building build release specific snapshots.
Test: atest mainline_modules_sdks_test
packages/modules/common/build/mainline_modules_sdks.sh
tree out/dist/mainline-sdks out/dist/stubs
- check that it is identical to before this change
Bug: 204763318
Change-Id: Icf2e4b0200cc53863e45cf68208fbc8ec13c6f2c
The SdkDistProducer has special stdout/stderr objects to pass to the
subprocess.run. This change extracts the handling of stdout/stderr into
the SubprocessRunner class to allow it to be more easily reused.
This is part of a larger refactoring to improve the testability of the
mainline_modules_sdks.py file in preparation for adding support for
building build release specific snapshots.
Test: atest mainline_modules_sdks_test
packages/modules/common/build/mainline_modules_sdks.sh
tree out/dist/mainline-sdks out/dist/stubs
- check that it is identical to before this change
Change-Id: If40199551934b0620953a2e4e3cefcb61282f051
Previously, debugging using print statements did not work well as print
output to stdout was buffered whereas output from subprocesses was not
which meant that the output was in the wrong order. Passing -u to
Test: packages/modules/common/build/mainline_modules_sdks.sh
Bug: 204763318
Change-Id: Ifa5a5d99b9b8d02987faf949a4a5a63d0712415d
Rust was incorrectly reporting the minSdkVersion. Update a few remaining
version values.
Bug: 211858959
Bug: 214625677
Test: packages/modules/common/build/update-apex-allowed-deps.sh
Change-Id: I19cf1009659b7b504bb37616ef7e9f19b439e2d7
Rust was incorrectly reporting the minSdkVersion. After fixing this, the
allowed_deps.txt needs updating with the correct version values.
Bug: 211858959
Test: packages/modules/common/build/update-apex-allowed-deps.sh
Test: m
Change-Id: I27a0bb410b9baf818dfd8581a04de720c470b30b
Merged-In: I27a0bb410b9baf818dfd8581a04de720c470b30b
Apex-Size-Increase: negligible
Just replace netd_aidl_interface-V7 with V8 which has one
more field in NativeNetworkConfig
Previous-Platform-Support: Yes, support previous platform releases
Aosp-First: Yes
Test-Info: all unit tests related to Connectivity/netd
Bug: 184750836
Test: atest FrameworksNetTests
Test: cd system/netd ; atest
Change-Id: Id26c314d60cc733bfdf7695e2f844fe6751eb6e7
Apex-Size-Increase: negligible
Just replace netd_aidl_interface-V7 with V8 which has one
more field in NativeNetworkConfig
Previous-Platform-Support: Yes, support previous platform releases
Aosp-First: Yes
Test-Info: all unit tests related to Connectivity/netd
Bug: 184750836
Test: atest FrameworksNetTests
Test: cd system/netd ; atest
Change-Id: I4887f9bb59b0050e6b0065a95e0af571a9426e3a
The 32Shims was added intended for TIRAMISU, but the actually
code for TIRAMISU is not 32. Thus, replace 32Shims with 33Shims
and update the corresponding usage.
Bug: N/A
Test: run update-apex-allowed-deps.sh
Aosp-First: Yes
Test-Info: m ; run update-apex-allowed-deps.sh
Apex-Size-Increase: 0. Only rename the lib
Previous-Platform-Support: Yes
Change-Id: I11a34429373c433535285ce5a11a51fbd16f62cf