Commit Graph

25865 Commits

Author SHA1 Message Date
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
Jiyong Park
61906e34cc Remove several nonexisting vndk sp private libs
libartbase, libdexfile and libziparchive are no longer vndk-sp-private
as they are not depended on by vndk-sp libraries. Removing them from
the list.

Bug: 131803549
Test: N/A
Change-Id: I9d7f713f76bc88ef341d81581d208b0c60ae802d
2019-05-02 07:14:20 +00:00
Logan Chien
15b5d4fe27 def-tool: Fix VNDK-SP warnings on APEX bionic
This commit fixes a problem on VNDK-SP warnings on APEX bionic.

Bug: 126126189
Test: ./vndk_definition_tool.py deps-insight \
      --system ${ANDROID_PRODUCT_OUT}/system \
      --vendor ${ANDROID_PRODUCT_OUT}/vendor \
      --tag-file dataset/eligible-list-xx.csv
Change-Id: I6322e81d0fd71d5fdf45005cfa740cf19c272c71
2019-05-02 07:26:51 +08:00
Andreas Gampe
df910e694a Merge "Stack: Fix argument-less invocation"
am: f54ccd7f3f

Change-Id: I5753dee615dc65908d248f127690d69e298601b4
2019-04-30 12:20:49 -07:00
Logan Chien
f1b7da55ab header-checker: Remove dead code from IRReader
This commit removes dead methods (Merge and MergeElements) from IRReader
and hide most merge-related methods with private access.

Bug: 74764811
Test: ./tests/test.py
Change-Id: Ib6829ae16774183d53b9cf586ab080d635936bb2
2019-05-01 03:20:43 +08:00
Treehugger Robot
f54ccd7f3f Merge "Stack: Fix argument-less invocation" 2019-04-30 18:57:06 +00:00
Andreas Gampe
dcf9800c7e Stack: Fix argument-less invocation
Add nargs='?' to allow a missing positional argument.

Bug: 131662960
Test: manual
Change-Id: I47d98c7d903b0028bd9969580ff0217aaf0cfb78
2019-04-30 10:07:24 -07:00
Colin Cross
619cad04f9 Merge "Package framework.aidl produced by Soong"
am: f504f3a6ba

Change-Id: Ib05d182cb0c90b6705401495b30e2991f9ad1bf5
2019-04-21 10:30:01 -07:00
Colin Cross
f504f3a6ba Merge "Package framework.aidl produced by Soong" 2019-04-21 17:20:16 +00:00
Colin Cross
76aa9e1b65 Package framework.aidl produced by Soong
Bug: 130798034
Test: forrest
Change-Id: Ie5606eeace783b09e822b7045880f57f7fb8dab1
2019-04-18 12:10:41 -07:00
Pirama Arumuga Nainar
af1f9639ff Merge "Add an import library for AdbWinApi"
am: bd351e62f2

Change-Id: I502fd9ef2e0976cbf07b46a0989027a48f2514c4
2019-04-18 08:43:39 -07:00
Pirama Arumuga Nainar
bd351e62f2 Merge "Add an import library for AdbWinApi" 2019-04-18 15:26:42 +00:00