Age | Commit message (Collapse) | Author |
|
Bug: b/331485125
Test: manual build/boot
Flag: NONE exempt wear only config change
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3bb29bdd9c3110380c700c032145070586cbcef2)
Merged-In: Iaefc74134e842bcfd056ecd4f82796486afe8fa4
Change-Id: Iaefc74134e842bcfd056ecd4f82796486afe8fa4
|
|
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3545643
Change-Id: I3c05e2c386e572664ec69d63862d3762a1b12205
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
the script is not used anywhere.
But: 399476012
Test: presubmit
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:bd1dda557e59e42da277da48db1181159889382d)
Merged-In: I73b6b961e5b63fa01f926419aea42a6e2cfc1413
Change-Id: I73b6b961e5b63fa01f926419aea42a6e2cfc1413
|
|
ce75904eaf am: 43bbd4d187
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3536299
Change-Id: I6862e82209bcf08a0b4f3af6682a5b82f476d712
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
When comparing the library declaration from AndroidManifest.xml and
Android.bp, the library ordering must match (see b/132357300#comment3).
The error message does not make it clear that ordering is significant
and a mismatch in ordering is an error.
Improve the error message to make this more obvious.
Bug: 401287317
Test: compiles
Change-Id: Idfb3e1e96893f81190dc320c49d40677b76f9853
|
|
d183d9f24b am: e7fc6932ec
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3523090
Change-Id: Ib24835f07d425febddf98696971d5808f54c02ab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
d183d9f24b
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3523090
Change-Id: I5cfd92e154ae2e604589b4a91388a7a535ad1f14
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Previously, Metalava did not support flags specifically and instead
relied on the build to generate the appropriate `--revert-annotation`
options to ensure that each flagged API was reverted or finalized as
appropriate to the flag state. However, Metalava now supports
configuring the flag state explicitly so this change switches the build
to make use of that.
The set of flags to be passed to Metalava are generated using exactly
the same queries as before except that instead of just outputting the
`{fully_qualified_name}` it outputs the whole protobuf definition.
The `keep-flagged-apis.sh` script has been replaced by
`aconfig-to-metalava-flags.py` which consumes the protobuf and
generates a config file suitable for Metalava to consume. Finally,
instead of using `@<file>` syntax to pass a file containing command
line options the config file is specified using `--config-file`.
One point to note, previously, when `aconfigFlagsPaths` was empty it
would just pass `--revert-annotation android.annotation.FlaggedApi` to
revert them all. To do the same with the configuration file it is
necessary to pass an empty `<api-flags/>` as no `<api-flags>` means
keep all the flagged APIs, just like no `--revert-annotation` does.
Rather than have some special logic to handle that case and create an
empty file I just let it drop through as the code below generates an
empty protobuf file which in turn creates an empty `<api-flags/>`
element in the config file.
Bug: 399846595
Test: # Before applying this change run:
tools/metalava/scripts/gather-android-metalava-artifacts.py before
# After applying this change run:
tools/metalava/scripts/gather-android-metalava-artifacts.py after
# Make sure that there are no differences.
meld before after
Change-Id: Ia95e111f10d066996e4e51c5b7027b09f4d05d57
|
|
|
|
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3514910
Change-Id: I223aeb1fb8159a625cecdc1c81dfe32174a83d0a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Test: prebuilts/build-tools/build-prebuilts.sh
Change-Id: I915be7bb7451f27fcd4beba5e6487da7a01639a6
|
|
Bug: 385190204
Merged-In: I7a698681eff69f1bd80966cacd6bc95d5eb990f0
Change-Id: I4011e94066708ea793f58e36eb89baab6dffe94a
|
|
into main am: e5d87424fa am: 3d88ce7d97
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3497020
Change-Id: I5caf3ec2cbd077375d01d40f0621de6a66c5ccad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Prevent printing the following confusing and superfluous error message:
prebuilts/clang/host/linux-x86/clang-r547379/bin/llvm-strip: error: option is not supported for COFF
Test: presubmit
Change-Id: Id5a940f8c78497cf5dae3b540e0ec8eab46da013
|
|
am: b16e7861fd
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3489332
Change-Id: Ia92dd1c984eaf8ca0605e872f09ec41981475442
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Bug: https://github.com/android/ndk/issues/1591
Test: None (the tree's already broken, so I can't build)
Change-Id: I7cb4a594491bc5913932cbd3a883c16753465234
|
|
8ef3c25e56 am: 79197d4cbc
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3475312
Change-Id: I994af5c06d982b91d39cc1e9e88c7e823e07f2ea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
This system property is no longer expected by ART. There is a new
way to disable all dexpreopt and dexopt using
`OVERRIDE_DISABLE_DEXOPT_ALL`, `dalvik.vm.disable-art-service-dexopt`,
and `dalvik.vm.disable-odrefresh`. See
build/make/target/product/runtime_libart.mk for more details.
JIT Zygote mode uses the `verify` filter, which `extract` is an alias for, so deleting the property is a no-op.
This also cleans up the deprecation warning for the `extract` value in
logcat.
Test: TH
Test: Build and boot eng variant
Change-Id: I9eab28fa6db5774e5285a007bdefa6d8ce133a58
|
|
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3460660
Change-Id: Ie3c8a8273b2c72c84e1d9007d5cf070a59c77c9b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
|
|
Pass the same --sysroot, -B and -L flags to go test -race as Soong
does for hermetic host builds.
Test: OUT_DIR=/tmp/out ./run-soong-tests-with-go-tools.sh
Change-Id: I2a47894c21610c219b48cd380ed44e3e11a236a2
|
|
main am: fe6a78178a am: 74584022cc
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3451452
Change-Id: Ice6fab396c26c044919ef2d1a3f806ce2170bdaa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
|
|
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3454921
Change-Id: I0de58c1598f636dbc729a23c7fb70bfe0939eea8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
We're not using this anytime soon, so just remove it for now.
Bug: 390269431
Test: m nothing
Change-Id: I51bbf104dceabafc08d562cfecb31a845cb88d12
|
|
Update the documentation for the ro.postinstall.fstab.prefix
property to reflect that the default is /system.
Bug: None
Change-Id: Ia03c07cef31b03346cbabbb48e661c0c63aa6317
Test: None
|
|
into main
|
|
directory"" into main am: 7e04724866 am: b4f86ad18e
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3428222
Change-Id: Ic929d96ac2c15ea67a7a77ab5a03d74768d99251
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
This reverts commit bd7afdc2a15e776e9aff208577ab16fd693499f2.
Reason for revert: No longer needed
Change-Id: I71874f5426dcd20b3bacf04379fb3f897835a4d5
|
|
Keep ro.build.version.sdk for backwards compatibility.
Bug: 380235511
Test: atest CtsOsTestCases:BuildTest
Ignore-AOSP-First: minor versions do not exist in AOSP yet
Change-Id: I1379110fa50522077b84f948b1b40a8c487308b7
|
|
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3425159
Change-Id: I917680d24c05ddc71d6c01a5cb08a44bb9f9b8b5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
The rule will be used in a follow up change that adds a directory in a
provider.
Test: m nothing
Bug: 381104942
Change-Id: I7147dcbc43e19840b2d73380785a01bda6643d85
|
|
983bbf07e9 am: 3268f066b9
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3370984
Change-Id: I91bb8e4fddbbbaed3e40cff7fea75db596bf96b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
|
|
71340584f8 am: 57cd0fd6a7
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3412618
Change-Id: Ife3063ab0cad6d4364982bac65f0095650fdc535
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
build.prop contains a `# from $filepath` comment to log the origin of a
sysprop. This is useful to have, but causes the metadata of
vendor/build.prop to be different between make and soong built
partitions. This CL replaces the absolute filepath of generated files
with their filenames in the build.prop comment.
Bug: 382295862
Test: commented out notice files in build/make/core/Makefile
Test: lunch aosp_cf_x86_64_phone-trunk_staging-userdebug
Test: export BUILD_DATETIME=10
Test: verified that vendor.img built by make and soong have the same
sha
Change-Id: Ib0caad5fa0171c39317646e49372a69534a42af0
|
|
This allows Rust modules to define a version_script for shared library
variants.
This requires using a wrapper for the linker (clang++) to intercept
the flags which rustc emits.
This also adds the ability to export additional symbols in addition
to those exported by rustc by default, e.g. whole_static_library
symbols.
Bug: 314309643
Test: New Soong tests pass.
Test: m
Test: m <simple version script module>
Test: m <simple extra symbols module>
Change-Id: I93c9552e5e1181df4663d194c4df4b7053553dd4
|
|
am: 0de24cb528 am: 5493d23a0f
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3393808
Change-Id: I66862922ee8897e68cf26a8d5d95e43536b8a71d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
This will create an empty ro.hwui.use_vulkan if TARGET_USES_VULKAN is
empty.
This matches the make behavior, and helps with validating the contents
of soong vendor filesystem.
Bug: 382295862
Test: lunch aosp_cf_x86_64_phone-trunk_staging-userdebug
Test: m out/soong/.intermediates/build/soong/fsgen/aosp_cf_x86_64_phone_generated_vendor_image/android_common/aosp_cf_x86_64_phone_generated_vendor_image.img
Test: Verified that ro.hwui.use_vulkan is same between make and soong
(empty string)
Change-Id: I9f80e613f7539dd2e895cfa96bd2ba481ddd6974
|
|
8759130e87 am: 5605d267de
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3390960
Change-Id: Ic43f9b41dd8aec7f64cab5bd85d82486541d7680
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
880b50fd84 am: 3ba2914573
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3393440
Change-Id: Ibf4aa361636a759adcaf3bf3b9bfc64f449cf15f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
|
|
All these scripts are now python3-only, they don't need this.
Test: Presubmits
Change-Id: Id2b9db26a537f6d70e874a0ae2ceb0927cbdce7d
|
|
The logic for what variables control what aspect of AVB is pretty
complicated, this brings make and soong closer together.
Bug: 381120092
Test: m out/soong/.intermediates/build/soong/fsgen/aosp_cf_x86_64_phone_generated_system_image/android_common/prop, diff with make's prop file
Change-Id: I6ada90262f4578d120c35b7f8d38c06c2b1d9c27
|
|
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3348946
Change-Id: I53356b28c6a3ef10d8678226ebecc485cba58ed0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
|
|
To make sure the ninja files aren't non-deterministic.
I will add this to CI after it's checked in.
Test: Manually
Change-Id: I071562885a1652fbfe2374916f5de017597f770a
|
|
9211804267
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3343347
Change-Id: I2fc82bf1bfe4c6e654ad5780f3238a426375205b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Following the same pattern as existing soong build.props, but with
minor tweaks for ramdisk such as making the partition "bootimage".
Bug: 378146476
Test: Diff'd out/target/product/vsoc_x86_64/ramdisk/system/etc/ramdisk/build.prop before and after this cl
Change-Id: I7ab2621d78c28deb73628bc455e040247a3c8031
|
|
am: 3c0e465cc3 am: 5b2e623e5a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3340853
Change-Id: I5878067348314781b80cdc1513adf5f1b59cae69
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|