Would have been very useful to avoid http://b/227682097
Bug: 227682097
Test: m apexer apexer_test deapexer debugfs_static; atest --host apexer_test
Change-Id: I24234d053a06868493831d40f94f7e46956391a1
Bug: 226676748
Test: Confirmed that the updated fontchain lint fails on the COLR font w/o PUA and passes once added
Change-Id: If831ed689ce80f26564279c6a6243cedddc56c36
For convenience, builds against musl libc currently use the
linux_glibc properties because they are almost always linux-specific
and not glibc-specific. In preparation for removing this hack,
tweak the linux_glibc properties by either moving them to host_linux,
which will apply to linux_glibc, linux_musl and linux_bionic, or
by setting appropriate musl or linux_musl properties. Properties
that must not be repeated while musl uses linux_musl and also still
uses the linux_glibc properties are moved to glibc properties, which
don't apply to musl. Whether these stay as glibc properties or get
moved back to linux_glibc later once the musl hack is removed is TBD.
Bug: 223257095
Test: m checkbuild
Test: m USE_HOST_MUSL=true host-native
Change-Id: I7058c8f1dadd7bbfd7e169bdf0a0441eb6d10ec5
This tool rewrites the bytecode in the designated JAR files to produce
tracing calls on enter and exit, while making sure to close the tracing
span even on exceptions being thrown.
The idea is mostly to reduce the amount of noise within methods when
just trying to add some tracing.
Test: atest --host TraceInjectionTests
Change-Id: If6acb72f34cbb83d9b041a62ee3d8c2abf74b69e
Merged-In: If6acb72f34cbb83d9b041a62ee3d8c2abf74b69e
Includes instructions on how to expose new public resource IDs
and how to "remove" unused resource IDs before finalization.
Temporarily restricts OWNERS to ensure T remains stable until
a long term static analysis solution is found.
Fixes the script for finalization to handle split files and
seed the next release's staging-public-group blocks.
Bug: 222537368
Test: manual, checked build before and after mock finalization
Change-Id: I901a80e487f5eaab9689f469196648535857e0e1
Ignores and increments the ID if the entry contains removed_, to prevent
shifting IDs by leaving a hole, allowing staging resources to be removed
before finalization.
This was broken out from the parent change to allow other CLs fixing the
resource IDs to be merged without splitting public.xml.
Bug: 222537368
Test: manual, see bug for other changes
Change-Id: I56f4fd70824bd42ec62f4fa0a2f067e2a3c094b5
JDK 17 no longer allows access to com.sun.tools.javac.code by default,
use the public APIs instead.
Bug: 219098645
Test: m checkbuild
Change-Id: If379935cc4ab9e5c809cc9fbfccbacfd8d87e8c8
It was available for unbundled builds when the build rules were in mk form and aapt2 is enabled for unbundled, so there's not a strong reason why aapt should be disabled for unbundled build
Change-Id: I6589eafbe8d2e423c9ac925b3614763fa6a511ac
Fixes: 217747798
Test: local compile
It seems the behavior of strdup is undefined when NULL is passed in.
Clang's static analyzer complains about this:
> frameworks/base/tools/bit/command.cpp:195:25: warning: Null pointer
passed to 1st parameter expecting 'nonnull'
[clang-analyzer-core.NonNullParamChecker]
Since we don't seem to care about malloc failures (which is a good thing
IMO), adding a second check for the successful completion of `strdup`
seems pointless.
Bug: 206470603
Test: TreeHugger
Change-Id: Ib621659e6fb600203694974f02d96ba0acb3362f
This type will be used as part of ResourceName to support types with
custom names inside aapt2.
DD: go/custom-resource-types-in-aapt2
Bug: b/215108200
Test: Resource_test.cpp
Change-Id: Ib09776e6b2f69fefb9724136a345dc25bea42573
According to Behdad this issue was fixed in HarfBuzz 2.0.0, October
2018.
Change-Id: I6e23ae7d637f79cb55b99a73ac8d16a0b0395610
Bug: 158944323
Test: drew a ZWJ in RTL and it worked fine
(https://screenshot.googleplex.com/AHrRaKNR6S4Nwgb.png)
Change-Id: I29e64f4577c819dfec0f3cbd878f0241bf706de0
java_library now supports using the "stream" type for proto properties,
so we can use this type here to remove workaround.
Bug: 215230097
Test: m StreamingProtoTest
Change-Id: I365457c5392ef3e0ede39d9d36d0aa1f2951c902
This linter ensures that any class (or method) that extends (or
overrides) another one annotated with @EnforcePermission, is also
annotated with the exact same annotation. The intent is to surface the
permissions verified at lower-level to the service implementation.
Test: atest --host com.google.android.lint.EnforcePermissionDetectorTest
Bug: 197828948
Change-Id: I042b7e5d99bae05681869f13702d1c169b8bdb05