Commit Graph

25876 Commits

Author SHA1 Message Date
Treehugger Robot
08a2bdae08 Merge "[Advanced Features] Change the source location of advancedFeatures.ini" 2019-06-13 20:38:26 +00:00
Weilun Du
c1084c0534 [Advanced Features] Change the source location of advancedFeatures.ini
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>
2019-06-13 09:57:42 -07:00
Ryan Prichard
87001e7ad7 Merge "gdbclient: support various PT_INTERP values" 2019-06-12 19:40:19 +00:00
Ryan Prichard
5d1c3cb157 gdbclient: support various PT_INTERP values
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
2019-06-11 16:07:37 -07:00
Josh Gao
3a5fc22f69 Merge "Increment platform-tools version." 2019-06-07 22:37:46 +00:00
Josh Gao
a67ca6c28e Increment platform-tools version.
Change-Id: Id21f55d004d642d9efc53c2b5b43f03a5d4b86b0
Test: none
2019-06-07 12:42:47 -07:00
Treehugger Robot
d7645b2b82 Merge "Clarify license terms for Romain Guy's artwork." 2019-06-06 02:20:38 +00:00
Bob Badour
9a78b7eea4 Clarify license terms for Romain Guy's artwork.
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
2019-06-05 22:19:33 +00:00
Treehugger Robot
0e3bcf70c5 Merge "Clarify license terms for Romain Guy's artwork." 2019-06-05 21:31:53 +00:00
Bob Badour
d41e5f7851 Clarify license terms for Romain Guy's artwork.
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
2019-06-05 20:08:08 +00:00
Logan Chien
3bca85a1e3 Merge changes I6eb07d50,I15cc1568,I70b7132f
* 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)
2019-06-03 18:33:45 +00:00
Logan Chien
bc1bfb3d61 def-tool: Do not emit errors on public.libraries.txt
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
2019-06-03 09:39:40 -07:00
Logan Chien
07a6f6043a def-tool: Support product and product_services partition
This commit adds initial support to `product` and `product_services`
partitions.

Test: ./tests/run.sh
Change-Id: I15cc1568c880cc783eed6d22fec288246305b66c
2019-05-31 15:41:17 -07:00
Logan Chien
bb67f1be66 def-tool: Remove a dead argument (cont)
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
2019-05-31 15:41:13 -07:00
Logan Chien
2742062a6d Merge changes Icf78c709,Ic7ec11ab,Ie5c9d31e,Ia935bac4
* 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
2019-05-30 17:00:16 +00:00
Logan Chien
27a1e5f188 def-tool: Rename FWK to SYSTEM and VND to VENDOR
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
2019-05-29 15:33:30 -07:00
Logan Chien
d1f580a014 def-tool: Skip dex test if smali cannot be found
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
2019-05-29 11:22:35 -07:00
Logan Chien
6efcbbd370 def-tool: Rename *-Indirect to *-Private
Test: ./tests/run.sh
Change-Id: Ie5c9d31e1211eb36a9f4362518947ebbbc3dcdda
2019-05-29 11:22:31 -07:00
Logan Chien
fcbc884f19 def-tool: Remove dead arguments
Test: ./tests/run.sh
Change-Id: Ia935bac43b473fa42590385aeead2e2b05bf5cdc
2019-05-29 11:22:23 -07:00
Josh Gao
2122a3581a Merge "Update platform-tools version to 29.0.0." 2019-05-20 22:46:20 +00:00
Josh Gao
585a7b3156 Update platform-tools version to 29.0.0.
Test: none
Change-Id: I7f4258a1787304a346dfea07846f4b6910026b7b
2019-05-20 13:49:56 -07:00
Justin Yun
b15098ba68 Merge "Fix a typo." 2019-05-17 05:30:17 +00:00
Hyunwoo Ko
461eaccaca Fix a typo.
Bug: 131879395
Test: mma
Change-Id: I4c5c3038227a7121a62f213cf01596a8ac16b609
2019-05-17 05:22:35 +00:00
Treehugger Robot
53ef2285f0 Merge "Add boot.img substitution to the build_mixed script." 2019-05-17 04:37:48 +00:00
Hyunwoo Ko
22da1576b1 Add boot.img substitution to the build_mixed script.
Bug: 131879395
Test: ./build_mixed -b boot-debug.img <system> <device> <out>
Change-Id: I2877e79522b5836e876c87f38221ca6890c41ce6
2019-05-17 10:08:54 +09:00
Xin Li
a20c67f316 Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190505.001) into master." 2019-05-17 00:58:08 +00:00
Xin Li
0e37ab1a58 DO NOT MERGE - Merge pie-platform-release (PPRL.190505.001) into master.
Bug: 132622481
Change-Id: I4d9e250f7487bed994058be0f508e0a973135260
2019-05-15 16:55:14 -07:00
TreeHugger Robot
a2c49805fc Merge "DO NOT MERGE - Merge pi-platform-release (PPRL.190505.001) into stage-aosp-master" into stage-aosp-master 2019-05-15 23:02:11 +00:00
Logan Chien
01e40be0a4 Merge changes I1fbd76c9,I94bceacc
am: 845050dfb7

Change-Id: Ib5891c239122baf373f4c473cc729e4fafe05611
2019-05-14 09:18:02 -07:00
Logan Chien
845050dfb7 Merge changes I1fbd76c9,I94bceacc
* changes:
  header-checker: Add config file support
  header-checker: Add -allow-adding-removing-weak-symbols
2019-05-14 15:58:03 +00:00
Xin Li
f5d0a65e40 DO NOT MERGE - Merge pi-platform-release (PPRL.190505.001) into stage-aosp-master
Bug: 132622481
Change-Id: Ic40523fde41ba87e570f3992b644a31e53265d62
2019-05-13 15:38:44 -07:00
Logan Chien
0bcd8e31e3 header-checker: Add config file support
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
2019-05-13 09:17:49 -07:00
Logan Chien
b1ca6df79d header-checker: Add -allow-adding-removing-weak-symbols
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
2019-05-09 12:00:22 -07:00
Logan Chien
022cd1ac66 Merge changes Ia7850577,Ic96e9e14
am: 82650bb98e

Change-Id: I897f733682c1ef6b08e0c2c79ee098bbd9367817
2019-05-08 09:09:56 -07:00
Logan Chien
82650bb98e Merge changes Ia7850577,Ic96e9e14
* changes:
  def-tool: Support VdexHeader 21
  def-tool: Add libdl_android for LLNDK-Private
2019-05-08 15:49:59 +00:00
android-build-team Robot
3eec2e57b0 Snap for 5450365 from 33a187438e to pi-platform-release
Change-Id: Ic322839c6093313ab5ad509233442c062fab463d
2019-05-07 22:00:37 +00:00
Logan Chien
428b83c8c0 def-tool: Support VdexHeader 21
This commit adds support to VdexHeader version 21.

Bug: 132133333
Test: ./vndk_definition_tool.py dump-dex-string *.vdex
Change-Id: Ia7850577cbd3bbe3dfc7e00b5b4dceddc08b1cf3
2019-05-07 13:33:28 -07:00
Logan Chien
1ba0339d86 Merge "def-tool: Add APEX bionic to minimal tag file"
am: 2d4d67b747

Change-Id: I155a5f9092f2e9351c2e814dff912b00b57ba501
2019-05-07 11:26:52 -07:00
Logan Chien
2d4d67b747 Merge "def-tool: Add APEX bionic to minimal tag file" 2019-05-07 18:04:41 +00:00
Logan Chien
b71602925f def-tool: Add libdl_android for LLNDK-Private
This commit adds libdl_android.so as an LLNDK-Private lib (used by
`libvndksupport.so`).

Bug: 130270919
Test: ./vndk_definition_tool.py deps-insight \
      --tag-file datasets/eligible-list-29.csv \
      --system ${ANDROID_PRODUCT_OUT}/system \
      --system ${ANDROID_PRODUCT_OUT}/vendor

Change-Id: Ic96e9e14620d75eb1884b9a06f0b0690df7138e0
2019-05-07 10:17:01 -07:00
Logan Chien
1d6f8ddf3e def-tool: Add APEX bionic to minimal tag file
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
2019-05-07 09:02:12 -07:00
Bo Hu
b7d78bb57b Merge "emulator: support dynamic partition"
am: 55923e295c

Change-Id: I47e2e989dacd3c1bf390e0b27c6b347623e3c7a5
2019-05-06 08:35:16 -07:00
Bo Hu
55923e295c Merge "emulator: support dynamic partition" 2019-05-06 15:21:18 +00:00
Jiyong Park
ca0c04488f Merge "Remove several nonexisting vndk sp private libs"
am: becaf919d4

Change-Id: Ibb8750acd95a7c18f94b9678c9998f5f459ad3f9
2019-05-02 18:25:52 -07:00
Treehugger Robot
becaf919d4 Merge "Remove several nonexisting vndk sp private libs" 2019-05-03 00:26:20 +00:00
bohu
6bceabf81d emulator: support dynamic partition
BUG: 125540538

Change-Id: I68895c39c4f48f53077a4e766718c63b1d1da91a
Merged-In: I68895c39c4f48f53077a4e766718c63b1d1da91a
2019-05-02 15:40:54 -07:00
Logan Chien
da9feb07fc Merge "header-checker: Remove dead code from IRReader"
am: 35d54ba19f

Change-Id: I89e504f2cea9fda50491d15613b092675588d96c
2019-05-02 08:58:53 -07:00
Logan Chien
7a0bda32e5 Merge "def-tool: Fix VNDK-SP warnings on APEX bionic"
am: 08fe431627

Change-Id: I563682f7ba034c2a9ac9db34ab2e5f55bfd39d9c
2019-05-02 08:58:18 -07:00
Logan Chien
35d54ba19f Merge "header-checker: Remove dead code from IRReader" 2019-05-02 15:47:55 +00:00
Logan Chien
08fe431627 Merge "def-tool: Fix VNDK-SP warnings on APEX bionic" 2019-05-02 15:45:02 +00:00