Commit Graph

22539 Commits

Author SHA1 Message Date
Jason Monk
adbcdcba06 Merge "Update the runner for systemui" into oc-dr1-dev 2017-06-28 13:37:51 +00:00
bohu
5cd36407df Revert "Emulator allows google apps to have access to locations by default"
am: 5856865e3b

Change-Id: I3a72cf7169bfb76e2912c1c244f908cf3a259a55
2017-06-27 18:58:16 +00:00
Jason Monk
f5c03e60e4 Update the runner for systemui
Test: runtest systemui
Bug: 62935720
Change-Id: Idf5bcf433aad4d0dc170000e6ed397f1c45b8476
2017-06-27 14:25:25 -04:00
bohu
5856865e3b Revert "Emulator allows google apps to have access to locations by default"
The SdkSetup apk is included by AOSP images and it should not
refers to google apks.

We need to figure out different way to fix the original GTS failure.

BUG: 62292257

This reverts commit fb743d8db6e755e98251e6509a09aed6d51f76d4.
(cherry picked from commit 03f4e91d52fbd994e0c11ddf537ad767e8c14bde)

Change-Id: I87c4dcefc6b51890d4edcd2749eee2fbdb7fc8a0
2017-06-23 23:14:25 +00:00
Huan Ren
0fc588fb5f Merge "Emulator: update development to 2362bfb6" into oc-dev
am: 3a14fee0ac

Change-Id: I9e87b54d39869d6c1f8f21f3e1bb22c268cd380a
2017-06-23 19:47:35 +00:00
Huan Ren
3a14fee0ac Merge "Emulator: update development to 2362bfb6" into oc-dev 2017-06-23 18:33:16 +00:00
Alex Klyubin
6b3b57e18d Merge "Add apksigner tool to Android O SDK build-tools" into oc-dev
am: 9e87e29dc8

Change-Id: Ic3e3de9179d9ed33cebfa67e22865b3d548b837f
2017-06-23 03:03:50 +00:00
TreeHugger Robot
9e87e29dc8 Merge "Add apksigner tool to Android O SDK build-tools" into oc-dev 2017-06-23 02:55:41 +00:00
Sergey Prigogin
406e3d7900 New version of api-generator tool
am: fc2e8eaf31

Change-Id: I98c25ec927ab36e4ec5dc4d3baa6d4378150613a
2017-06-23 00:09:24 +00:00
Sergey Prigogin
fc2e8eaf31 New version of api-generator tool
The new version produces api-versions.xml file with API removal
information. The format of the file is backward compatible.

Test: api-generator was tested as part of ag/2298689
Bug: 37127307
Change-Id: I0db84363b973a2c6076dcb42033a09a5566ff9f1
(cherry picked from commit 1c6c892938)
(cherry picked from commit a9bb8f2687f7c879be8b2bacf420e6e116ca245b)
2017-06-22 17:59:39 +00:00
Alex Klyubin
9022cd4718 Add apksigner tool to Android O SDK build-tools
This places apksigner command-line tool in Android SDK's build-tools
directory. The tool is intended as an Android-specific replacement for jarsigner.

Bug: 62696222
Change-Id: I099ea6840d0e7e0b00f438357543cb656990442a
(cherry picked from commit a825e5d309629b2f9cb3b52ba6d9895562729001)
2017-06-19 16:20:56 +00:00
bohu
5c26bfa4bc Emulator: update development to 2362bfb6
Bug: 37302997

oc-emu-dev
commit 2362bfb6d6c4ee4540af5e69130951849c7e109e
Author: bohu <bohu@google.com>
Date:   Thu Apr 6 16:37:48 2017 -0700
Emulator: copy encryptionkey.img to SDK img zip

Change-Id: I057d58733bb39e0777d2f5c9494d5969ac46953a
(cherry picked from commit 6620016eb673ac885e5892604f04d3123a8ee0b9)
2017-06-15 18:13:02 +00:00
Logan Chien
e078e07946 vndk-def: Fix check-dep errors on vendor_libs
am: 9c3458e73a

Change-Id: I037cad6bd88f28ac4502abb6589e7f6ac75cdd19
2017-06-14 02:21:52 +00:00
Logan Chien
9c3458e73a vndk-def: Fix check-dep errors on vendor_libs
This commit fixes a check-dep bug introduced by 7e723126e4.  In
7e723126e4, graph.lib_pt[PT_VENDOR].values() was changed to return an
iterator instead of a set.  This means we can only traverse the iterator
once, thus vendor-to-vendor dependencies were treated as ineligible
dependencies.  This commit fixes the problem by creating a set() object
from the iterator, so that `vendor_libs` can be used several times.
This also makes it faster to lookup an object.

Bug: 37867089
Test: Run `vndk_definition_tool.py check-dep` against sailfish images
and vendor-to-vendor dependencies should not show up.

Merged-In: I3b36efa635220941278c491b83f308a65e9f0ffe
(cherry picked from commit ba097bb576)

Change-Id: I056ef0f9b5ddf684417cc080e53c0e4f07417496
2017-06-13 14:26:45 +08:00
Logan Chien
fe60f6c892 vndk-def: Add tag file support to deps-insight
am: 08d4dc40b6

Change-Id: I7508fa52d2c1b430a7852efe2e042f4985861381
2017-06-09 22:10:30 +00:00
Logan Chien
157746279c vndk-def: Add more output formats to vndk command
am: 7f127196dc

Change-Id: I603b7ed880f1a0ea6a2c82c48c6108034d00dda5
2017-06-09 22:10:26 +00:00
Logan Chien
13247929e1 vndk-def: Simplify VNDK result
am: 840177d510

Change-Id: I90cdd88f39fdfdedc129bf0f9086c79cc3992998
2017-06-09 22:10:21 +00:00
Logan Chien
502fb6ecb4 vndk-def: Remove "follow" from default action
am: 8a13cdab4c

Change-Id: I8d712c1910ff284d40aa299fff91a732f1b1c981
2017-06-09 22:10:16 +00:00
Logan Chien
f0d731382e vndk-def: Add libz.so back to LL-NDK
am: 677d03d481

Change-Id: I15ab6e6d60b7b642e3fc5d4961b7c7c5d4e50f9d
2017-06-09 22:10:11 +00:00
Logan Chien
5f5e7fbb4b vndk-def: Add libandroid_net to LL-NDK
am: b9a941830d

Change-Id: I66af56413464cfa5af6f98f0d1594b69a508bec7
2017-06-09 22:10:06 +00:00
Logan Chien
08d4dc40b6 vndk-def: Add tag file support to deps-insight
This commit generalizes tag file support so that deps-insight won't
follow the dependencies to ineligible vndk-sp/vndk libs.

Bug: 37867089
Test: libandroid.so will not be tagged as vndk in the html output of
deps-insight tool.

Merged-In: I5482a45acf4232ae7fac1210043ca868b28211ff
(cherry picked from commit 7a8bc4db10)

Change-Id: I282c78274d520d150cf8b8684ccd729b2a499273
2017-06-10 01:01:43 +08:00
Logan Chien
7f127196dc vndk-def: Add more output formats to vndk command
This commit adds the --output-format option to vndk command.  When
`make` is specified, VNDK definition tool will fill in the placeholders
in the boilerplates and print a make file to stdout.

Bug: 37867089
Test: ./vndk_definition_tool.py vndk --output-format=make ...
Merged-In: I0185e1690264d0cefafa8536db2e0cf34daaeee0
(cherry picked from commit 5ad8d0fe74)

Change-Id: Icb15870b7cd1ef6bb6ab71735ea60230a1b517f1
2017-06-10 01:01:37 +08:00
Logan Chien
840177d510 vndk-def: Simplify VNDK result
This commit adds extra_vendor_libs and removes extra_vndk_sp_indirect.
With this modification, we can tag each libraries with either vndk_ext,
extra_vendor_libs, vndk_sp_ext or vndk_sp_indirect_ext.

After tagging them precisely, we merge them into vndk_sp, vndk_sp_ext
and extra_vendor_libs before printing the simplified VNDK list.  This
will give us accurate tags when --full is specified and give concise
tags when --full is not specified.

Bug: 37867089
Test: 3 essential sets are printed when --full was not specified.
Merged-In: Ic17c5e1dd4420050217e9724f86516c21609f899
(cherry picked from commit b68f26d281)

Change-Id: I558e2a01c46d28a1bdb368a73d0b2e0cbd4cc357
2017-06-10 01:01:32 +08:00
Logan Chien
8a13cdab4c vndk-def: Remove "follow" from default action
This commit removes `follow` option from the default actions to handle
ineligible vndk and vndk-sp usages.  We prefer to stop at ineligible
libs instead of pulling all ineligible dependencies.

Bug: 37867089
Test: libandroid.so is not tagged as vndk by default with sailfish images.
Merged-In: Iafeb27bb2c658fc07916517033fbedcc9cdd84eb
(cherry picked from commit 8e208817a3)

Change-Id: I27c90831439978290f9ab77fdbff3ab591443c73
2017-06-10 01:01:27 +08:00
Logan Chien
677d03d481 vndk-def: Add libz.so back to LL-NDK
This commit adds libz.so back to LL-NDK because the change to move
libz.so to VNDK-SP breaks some CTS testcases (which assume there is only
one libz.so under /system/lib[64].)

Whether this is a short-term temporary fix or a long-term solution will
be discussed or updated in b/37617391.

Bug: 62195853
Bug: 37867089
Bug: 37617391

Test: ./tests/test_ndk_libs.py
Test: ./tests/run.py
Test: libz.so tagged as LL-NDK with sailfish images.

Merged-In: I526f653e6141d658ee19e79eefd44d379ecac0dc
(cherry picked from commit 1715340334)

Change-Id: I74b0e9ef1d6a09c7d71744003a5ecf21111d34dd
2017-06-10 01:01:23 +08:00
Logan Chien
b9a941830d vndk-def: Add libandroid_net to LL-NDK
Test: ./tests/test_ndk_libs.py
Test: libandroid_net.so is tagged as LL-NDK.
Merged-In: Iefacd4464e7d94577119532c11435e70404ea026
(cherry picked from commit 16538ed728)

Change-Id: I91c318f1ab1b782f6bc2786cbc9d18276416def6
2017-06-10 01:01:11 +08:00
Logan Chien
ffa9960f65 vndk-def: Implement VNDK-SP-Ext collection
am: 79bff6a973

Change-Id: I913291d718a09361fde2845a1d39cfe22ea61c98
2017-06-09 04:03:01 +00:00
Logan Chien
2857064d31 vndk-def: Collect non-AOSP libs must be copied
am: 30598eaf81

Change-Id: I41cff376fb4b25b367d46d6c8a761cfb925a88f4
2017-06-09 04:02:55 +00:00
Logan Chien
d940750753 vndk-def: Exclude vndk-sp from vndk
am: c0e1c36f9b

Change-Id: I8dda11656de139e6418a3d550456ab8153ff7d7f
2017-06-09 04:02:50 +00:00
Logan Chien
0b6ff4f26f vndk-sp: Fix vndk-sp-unused computation
am: 349932d279

Change-Id: I0758797f8e0bd4588aa546fd4914ba0fe200219d
2017-06-09 04:02:44 +00:00
Logan Chien
3394dfb527 vndk-def: Add (vndk-sp)? to fwk-only-rs matching
am: 3e3f700ad3

Change-Id: If650d4bce8c0f6a727c753e2b624068433d5f687
2017-06-09 04:02:38 +00:00
Logan Chien
dd4d293a6f vndk-def: Exclude vndk-sp/vndk from ndk-indirect
am: bee6237c3e

Change-Id: Ifc4e746155eefdba4dc879a63cb66b68aba6dfc4
2017-06-09 04:02:33 +00:00
Logan Chien
9ec0152bfa vndk-def: Parse actions for ineligible libs
am: f84f29ab94

Change-Id: I43bf6ac21d2c45a58ac71c0669d8476c6653d54a
2017-06-09 04:02:27 +00:00
Logan Chien
ae3bfe596e vndk-def: Fix vndk-indirect computation bug
am: 31ad9c1112

Change-Id: Ifc1d3ac21cdf2ac4f37eada6afbd6afa15bae2d4
2017-06-09 04:02:22 +00:00
Logan Chien
79bff6a973 vndk-def: Implement VNDK-SP-Ext collection
This commit implements the VNDK-SP-Ext properly so that the output will
copy missing VNDK-SP-Indirect to /vendor/lib[64]/vndk-sp.

Bug: 37867089
Bug: 37940694
Test: Add/remove generic reference dump and make sure vndk-sp libs will
be listed as extra_vndk_sp_indirect.

Merged-In: I76bc41e189e566c66c6f96db9555d366921b7995
(cherry picked from commit 489dabb278)

Change-Id: Ief1cc42f6d1684879b096b3fc49f7f58fdfa4004
2017-06-09 09:46:46 +08:00
Logan Chien
30598eaf81 vndk-def: Collect non-AOSP libs must be copied
This commit collects all non-AOSP system libraries that are used by
vendor modules and add them to vndk-ext so that they are copied into
vendor partition.

Bug: 37867089
Test: Some vendor HIDL interface libs are tagged with vndk-ext given
sailfish images.

Merged-In: I77d8f66d97b403991593d5b1f88573411e96d679
(cherry picked from commit 6a2fcac08d)

Change-Id: Ifbb69fb7c580a7ef7ea7180af9c37d6255d244f9
2017-06-09 09:46:42 +08:00
Logan Chien
c0e1c36f9b vndk-def: Exclude vndk-sp from vndk
This commit excludes vndk-sp libraries from vndk result sets.  This CL
eliminates several false warnings on vendor usages on libhwbinder.so

Bug: 37867089
Test: Warnings on libhwbinder.so usages disappeared given sailfish
images.

Merged-In: Icc3b07bc6a57e41a3fcbaf116c1316f77e7a439d
(cherry picked from commit 89015efb13)

Change-Id: I94b5b6851955cb3063aa9092f79facf666b043fc
2017-06-09 09:46:38 +08:00
Logan Chien
349932d279 vndk-sp: Fix vndk-sp-unused computation
This commit removes vndk-sp-indirect libs from vndk-sp-unused.  They
are actually being used (although indirectly).

Bug: 37867089
Test: libhwbinder.so is removed from vndk-sp-unused given sailfish images.
Merged-In: I7a3b253408c53f1d81d1fea39f79e3fe09f6fb75
(cherry picked from commit 55a41a3dd9)

Change-Id: I58df815bee640d79f2080b78ff133c5b670d8f15
2017-06-09 09:46:33 +08:00
Logan Chien
3e3f700ad3 vndk-def: Add (vndk-sp)? to fwk-only-rs matching
This commit adds (?:vndk-sp)? to FWK-ONLY-RS matching because some
targets have a copy of libft2.so in /system/lib[64]/vndk-sp but we still
want to treat it as FWK-ONLY-RS.

Bug: 37867089
Test: libft2.so is not labeled as vndk-sp-indirect in sailfish image.
Merged-In: Iad5db6417573f3e25bad5c027cb547d9df4be23a
(cherry picked from commit 6582daf969)

Change-Id: I2a6c9741444739d56d0db00792f2bc4ffd417125
2017-06-09 09:46:29 +08:00
Logan Chien
bee6237c3e vndk-def: Exclude vndk-sp/vndk from ndk-indirect
This commit excludes VNDK-SP and VNDK libs from LL-NDK-INDIRECT and
SP-NDK-INDIRECT libs because in the degenerated VNDK design, FWK-ONLY
libs and VNDK libs share the same file.

Bug: 37867089
Test: All eligible VNDK libs are not tagged with LL-NDK-Indirect and
SP-NDK-Indirect with sailfish image.
Merged-In: I05b20e9d21543d63c1e75896f20e49c3dc0d70de

(cherry picked from commit 05a13ae43f)

Change-Id: Ia74e1a692fda996f37c6d3ee769a05f7ab0f6fcf
2017-06-09 09:46:24 +08:00
Logan Chien
f84f29ab94 vndk-def: Parse actions for ineligible libs
This commit extracts the code to parse the action when ineligible
vndk-sp or vndk libs occur.

Bug: 37867089
Test: All --action-ineligible-vndk-sp options worked as usual.
Test: All --action-ineligible-vndk options worked as usual.
Merged-In: Ifc06598b1acff828479d804323711ae0da6e7215
(cherry picked from commit 2a5a2dd524)

Change-Id: I6af5b7512ef809753b6e3d9ff36a77f2711b116a
2017-06-09 09:46:20 +08:00
Logan Chien
31ad9c1112 vndk-def: Fix vndk-indirect computation bug
This commit replaces a vndk_indirect with vndk because we are computing
the indirect dependencies of vndk (i.e. closure(vndk) - vndk).

Bug: 37867089
Test: vndk-indirect libs are printed with sailfish images.
Merged-In: I218333c7dbb2a372cc9d170f34674510cc01aa0e
(cherry picked from commit 484219c317)

Change-Id: Ia0de1bf599e4be27a4324a09abf9653a5a50dea4
2017-06-09 09:46:02 +08:00
Logan Chien
b7a8fa2735 vndk-def: Add --system-dir-ignored option
am: 6c5e1716a2

Change-Id: I27573524ca6908d421ef56ec43535ffb8a354d94
2017-06-08 06:56:21 +00:00
Logan Chien
c32f2e9f31 vndk-def-tool: Update README.md
am: ef682fb67d

Change-Id: Ib9034219de36e1e0070e48ba719480843c1da3f3
2017-06-08 06:56:15 +00:00
Logan Chien
c5ccf56192 vndk-def: Implement degenerated VNDK for o-release
am: dd712bf329

Change-Id: Ibe86ac8a8c28512e6eb055e2bc3630cc44c7c27e
2017-06-08 06:56:07 +00:00
Logan Chien
dfa912e94a vndk-def: Introduce better eligible list
am: b80dba91bd

Change-Id: I4177a3723161dcdc8cbafc2aeb3bbc161b6501f8
2017-06-08 06:55:57 +00:00
Logan Chien
26f6c73a71 vndk-def: Add libvndksupport to LL-NDK
am: 55cd56c3f4  -s ours

Change-Id: I8b931ecee8539eb1132c6c00b4a2a9e86c07ccb4
2017-06-08 06:55:45 +00:00
Logan Chien
b053b562d2 vndk-def: Update vndk-sp list
am: 491f8b79ff  -s ours

Change-Id: I66ab801791568622e4e47cadc24bda8986c960f4
2017-06-08 06:55:34 +00:00
Logan Chien
b2472ac756 vndk-def: Remove obsolete warning options
am: cb91bb4565  -s ours

Change-Id: I219b7462ee105f6d152776ac1890d6d5a7c1695e
2017-06-08 06:55:24 +00:00
Logan Chien
e39318418f vndk-def: Add --aosp-system option
am: 10597e60f0  -s ours

Change-Id: Idb62dad55692e0001c64384855d8c2fb8f564808
2017-06-08 06:55:18 +00:00