Copy advancedFeatures.ini file from
device/generic/goldfish/data/etc, which is the centralized place for
advancedFeatures.ini.
BUG: 135187406
Change-Id: Ib1d2ec2f91d66dde89bc4a884cd99dbb1a2c83cb
Signed-off-by: Weilun Du <wdu@google.com>
gdb looks for an executable's dynamic linker using the PT_INTERP setting
from the executable. That value can be various things:
- /system/bin/linker[64]
- /system/bin/linker_asan[64]
- /system/bin/bootstrap/linker[64]
Currently, only the bootstrap linker is available in the sysroot/symbols
directory. The ordinary and ASAN linkers are symlinks on the target and
are missing from the sysroot (aka symbols) directory.
Use the executable's PT_INTERP value to find the symbolized linker binary
and add it to the solib search path. If necessary, copy or pull a linker
binary.
Test: gdbclient.py -r ls
"info sharedlib" shows $OUT/symbols/apex/com.android.runtime.debug/bin/linker64
Test: gdbclient.py -r /data/nativetest64/bionic-unit-tests/bionic-unit-tests
"info sharedlib" shows $OUT/symbols/system/bin/bootstrap/linker64
Test: m asan_test
gdbclient.py -r /data/nativetest64/asan_test/asan_test
"info sharedlib" shows /tmp/gdbclient-linker-HunVs9/linker_asan64
Bug: http://b/134183407
Change-Id: I7f79943dcd9ec762d1aaf21178bb6ab3eff40617
As discussed with Romain Guy in the email thread, the Apache 2.0
license applies to the affected .jpg files now and retroactively from
the time of import.
Each of the images was altered using the exiftool:
exiftool -URL=http://www.apache.org/licenses/LICENSE-2.0 \
-WebStatement=http://www.apache.org/licenses/LICENSE-2.0 \
-UsageTerms='Apache License Version 2.0'
Change-Id: I9843a8f9b285799cc28e824167cbe0f14e4e651e
As discussed with Romain Guy in the email thread, the Apache 2.0
license applies to the affected .jpg files now and retroactively from
the time of import.
Each of the images was altered using the exiftool:
exiftool -WebStatement=http://www.apache.org/licenses/LICENSE-2.0
Change-Id: I557d0129617164209a3eec7ec2d228f266643ca0
* changes:
def-tool: Do not emit errors on public.libraries.txt
def-tool: Support product and product_services partition
def-tool: Remove a dead argument (cont)
This commit skips the errors that are caused by the access from apps (on
vendor or product partitions) to shared libraries described in
`/{system,vendor}/etc/public.libraries.txt`.
Bug: 110184925
Test: ./vndk_definition_tool.py check-dep \
--system ${ANDROID_PRODUCT_OUT}/system \
--vendor ${ANDROID_PRODUCT_OUT}/vendor \
--product ${ANDROID_PRODUCT_OUT}/product \
--tag-file datasets/eligible-list-XX.csv
Change-Id: I6eb07d500d0a625c74cde402ae06a351cad4400b
This commit adds initial support to `product` and `product_services`
partitions.
Test: ./tests/run.sh
Change-Id: I15cc1568c880cc783eed6d22fec288246305b66c
This commit removes a dead argument. This fixes a regression caused
by a related CL earlier.
Test: ./vndk_definition_tool.py deps-insight \
--system ${ANDROID_PRODUCT_OUT}/system \
--vendor ${ANDROID_PRODUCT_OUT}/vendor \
--product ${ANDROID_PRODUCT_OUT}/product
Change-Id: I70b7132f8c0679bd1cd934bae1066d1f127304f8
* changes:
def-tool: Rename FWK to SYSTEM and VND to VENDOR
def-tool: Skip dex test if smali cannot be found
def-tool: Rename *-Indirect to *-Private
def-tool: Remove dead arguments
This commit replaces abbrevations to full names, e.g. FWK-ONLY to
SYSTEM-ONLY and VND-ONLY to VENDOR-ONLY.
Test: ./tests/run.sh
Change-Id: Icf78c7097535ddff40f71a986501858936574f25
This commit skips dex test cases if the `smali` command cannot be found
from the path. Before this commit, the test was not skipped because the
`subprocess.checked_call()` throws `OSError` (instead of `IOError`) in
Python 2.
Test: ./tests/run.sh
Change-Id: Ic7ec11ab9d9de2294132d88a2b084ef11dd01c87
This commit add config file support to header-abi-diff so that we can
have per-branch configuration.
Bug: 112760591
Test: ./tests/test.py
Test: ${ANDROID_HOST_OUT}/nativetest64/header-checker-unittests/\
header-checker-unittests
Change-Id: I1fbd76c93991a2b36121a5f4397c62eb72d486ec
This commit adds `-allow-adding-removing-weak-symbols` option to
`header-abi-diff`. This allows vendor-specific branch to add or remove
weak symbols from their VNDK shared libs. This is sometimes necessary
when venders have their compiler toolchain or use different compiler
flags (e.g. inline heuristics).
Bug: 112760591
Test: ./tests/test.py
Change-Id: I94bceacc90cab093e8aa602bb7d866d6f433c5c7
This commit adds support to VdexHeader version 21.
Bug: 132133333
Test: ./vndk_definition_tool.py dump-dex-string *.vdex
Change-Id: Ia7850577cbd3bbe3dfc7e00b5b4dceddc08b1cf3
This commit add APEX bionic library paths to `minimal_tag_file.csv` and
`eligible-list-28.csv`. This should fix a false positive warning
regarding to non-VNDK-SP dependencies.
Note: `eligible-list-28.csv` is updated as well because it is possible
to have LLNDK 29 + VNDK 28.
Bug: 126126189
Test: ./vndk_definition_tool.py deps-insight \
--system ${ANDROID_PRODUCT_OUT}/system \
--vendor ${ANDROID_PRODUCT_OUT}/vendor
Change-Id: Ieb2841a79dbe466eca846d59549e9fc7b651aa03