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
Adds the com.android.uwb and com.android.scheduling modules to the
standard list of modules. This ensures that when they are released to
AOSP that the packages/modules/common/build/mainline_modules_sdks.sh
build script will build them correctly.
Ignore-AOSP-First: internal only changes.
Bug: 204763318
Test: vendor/google/build/mainline_modules_sdks.sh
atest mainline_modules_sdks_test
Merged-In: Idd83a71c477422ddf35d32f0f72293ac6f8626cd
Change-Id: Idd83a71c477422ddf35d32f0f72293ac6f8626cd
(cherry picked from commit adb67d1944)
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
This goal doesn't exist anymore. The build system automatically
translates it to "sdk".
Test: m win_sdk dist && inspect out/dist/apistubs
Change-Id: Ia54e92c96ef91250351735827ab07e339fe26c15
Needed because the new dependencies of libip_checksum is required for
moving clatd into tethering module.
Apex-Size-Increase: 8192B
before:
out/target/product/raven/system/apex/com.android.tethering.apex
-rw-r----- 1 nuccachen primarygroup 2961408 Dec 25 15:44 out/target/product/raven/system/apex/com.android.tethering.apex
after:
out/target/product/raven/system/apex/com.android.tethering.apex
-rw-r----- 1 nuccachen primarygroup 2969600 Dec 25 15:58 out/target/product/raven/system/apex/com.android.tethering.apex
Previous-Platform-Support: yes
libip_checksum is a static library.
tethering module links libip_checksum statically.
Aosp-First: yes
Ignore-AOSP-First: merge conflict resolutions
Test-Info: atest libclat and manual test to check modified clatd works
We will be adding integration test.
Test: TH
Bug: 212345928
Change-Id: Ieba9e2819e225aa7f40e0df219c2c6b9eebf9efe
Merged-In: Ieba9e2819e225aa7f40e0df219c2c6b9eebf9efe
Use a generic name so that it can contain more bpf related headers.
Bug: 202086915
Test: build
Apex-Size-Increase: 0
Previous-Platform-Support: Yes
Aosp-First: Yes
Test-Info: m; flash; boot
Change-Id: I8f94a8ef2cf7cc25737847e706e42813f9d05aee
fmtlib has been in the list. The header variant of the lib was created
and it needs to be added as well.
Bug: 209929099
Test: m
Test-Info: No behavior change. fmtlib has been in the allow list. The
header variant of the lib was created and it is used in the header-only
contexts.
Apex-Size-Increase: 0
Previous-Platform-Support: 29 (the same as min_sdk_version of fmtlib)
Aosp-First: Yes.
Change-Id: Ic430285fdb2d64077e6d61c81c78aab4a9842ed7
No new dependencies.
Bug: 197802324
Test: Global presubmit
Change-Id: I69c769b1b51cec5fd98ba312edc9b6610df8cdd4
Merged-In: I69c769b1b51cec5fd98ba312edc9b6610df8cdd4
(cherry picked from commit 59ba4d4460)
No new dependencies.
Bug: 197802324
Test: Global presubmit
Change-Id: I69c769b1b51cec5fd98ba312edc9b6610df8cdd4
Merged-In: I69c769b1b51cec5fd98ba312edc9b6610df8cdd4
(cherry picked from commit 59ba4d4460)
We are enabling continous postsubmit builds for AOSP modules. These
modules are not building at ToT at the moment; exclude them so we can
get a green postsubmit build for other modules.
Bug: 210694291
Test: run packages/modules/common/build/mainline_modules_x86_64.sh locally
Change-Id: Iea756639962e5c87a4ae5539890a9ab8909286c3