Commit Graph

22076 Commits

Author SHA1 Message Date
Adam Lesinski
e2a83797da Package libwinpthread-1.dll in build-tools
Bug: 36474054
Test: make PRODUCT-sdk-win_sdk
Change-Id: I39b182aa56b2dba48e752c91760f3ebe0b085d7a
2017-03-29 19:46:18 -07:00
Dan Albert
2bd752a874 Merge "Remove libm_hard." am: d5bc21cc0c am: 1551b49c77
am: 1c851767b4

Change-Id: I2d681e6b62fa4a50a60767603c28a7e4be164077
2017-03-28 01:14:26 +00:00
Dan Albert
1c851767b4 Merge "Remove libm_hard." am: d5bc21cc0c
am: 1551b49c77

Change-Id: I74a83f2f69ffb80ae0eee050a1d183f26110809e
2017-03-28 01:10:23 +00:00
Dan Albert
1551b49c77 Merge "Remove libm_hard."
am: d5bc21cc0c

Change-Id: I477834ddcac955840d7e7182daa55b4eb86f3283
2017-03-28 01:06:53 +00:00
Treehugger Robot
d5bc21cc0c Merge "Remove libm_hard." 2017-03-28 00:52:46 +00:00
Dan Albert
f2c7fe4787 Remove libm_hard.
We don't support this ABI any more.

Test: ndk/checkbuild.py
Bug: None
Change-Id: Ia15a411d3974526146b1506ec2664bb75b740725
2017-03-27 13:40:21 -07:00
TreeHugger Robot
13c6ee71fe Merge "Add READ_CONTACTS permission to PushAPI test apps." 2017-03-27 20:12:15 +00:00
Dan Albert
64d531d358 Merge "Add an empty directory so we generate android-26." am: 42d214b284 am: 8feb786646
am: f3f036ea10

Change-Id: I6d2d4c9417dc0e7e963ef2d7f10b2ce03d50a8cc
2017-03-24 22:17:38 +00:00
Dan Albert
f3f036ea10 Merge "Add an empty directory so we generate android-26." am: 42d214b284
am: 8feb786646

Change-Id: I4b5de26474983789a969dbd4f96d20b5d00fca72
2017-03-24 22:15:38 +00:00
Dan Albert
8feb786646 Merge "Add an empty directory so we generate android-26."
am: 42d214b284

Change-Id: I1ba84c120c050a31e87bbef83f6204e3016d3116
2017-03-24 22:13:09 +00:00
Dan Albert
42d214b284 Merge "Add an empty directory so we generate android-26." 2017-03-24 22:05:57 +00:00
Dan Albert
7d144ecd61 Add an empty directory so we generate android-26.
Without this, we won't copy the android-26 libraries even though we
have them because the platforms directory is built based on what
directories we have here.

It would be better to rewrite gen-platforms.sh to be less awful, but
given that the whole script can be deleted when we drop the
deprecated headers in r16, there's not much point in doing so.

Test: ndk/checkbuild.py && ndk/run_tests.py --filter aaudio
Bug: None
Change-Id: I3c1861f50c8e779d5489e12887180ef1f2099e4a
2017-03-23 23:58:29 -07:00
Dmitry Dementyev
5ed60e2726 Add READ_CONTACTS permission to PushAPI test apps.
Test: manual
Bug: 36561708
Change-Id: I089c34646b93385a9dc36178e31d42b186f3b7e1
2017-03-23 12:54:31 -07:00
Logan Chien
88e5e02af6 Merge changes I0527ef62,I0d66a93f,I528ef380,Ia9140851,If1874867, ... am: f9bd812ef0 am: 2a6ee3da25
am: 5475f64a6e

Change-Id: Ie02a7fe902cfcd2ad60aa5e4728a62a56d1fdfb6
2017-03-21 01:02:32 +00:00
Logan Chien
5475f64a6e Merge changes I0527ef62,I0d66a93f,I528ef380,Ia9140851,If1874867, ... am: f9bd812ef0
am: 2a6ee3da25

Change-Id: Ie0c823ffa7ab21edab820d08bdc6346748039f35
2017-03-21 00:58:31 +00:00
Logan Chien
2a6ee3da25 Merge changes I0527ef62,I0d66a93f,I528ef380,Ia9140851,If1874867, ...
am: f9bd812ef0

Change-Id: I1a315eef3e253547a652c222dbaa7607e2b3ae6a
2017-03-21 00:55:36 +00:00
Treehugger Robot
f9bd812ef0 Merge changes I0527ef62,I0d66a93f,I528ef380,Ia9140851,If1874867, ...
* changes:
  vndk-def: Fix bad inward-customized vndk calculation.
  vndk-def: Fix inward customization.
  vndk-def: Rename vndk-core and vndk-ext libs.
  vndk-def: Rename map_path_to_lib(s) to get_lib(s).
  vndk-def: Rename ELFLinker.add() to add_lib().
  vndk-def: Add non-AOSP lib to imported_ext_symbols.
  vndk-def: Skip ndk ext check if no generic-refs.
2017-03-21 00:47:58 +00:00
Logan Chien
66469cb432 vndk-def: Fix bad inward-customized vndk calculation.
This commit fixes bad inward customization vndk calculation.

Before this commit, when an vndk-indirect candidate is using
vndk-fwk-ext, its dependencies will be considered as a candidate of
vndk-indirect.

After this commit, the dependencies will only be pushed into the stack
if such dependencies are known to be intact or inward-customized.  If a
vndk-indirect candidate is extending APIs, then the dependencies of its
generic counterpart will be pushed into the stack.

This commit also fixes the ELF resolution so that vndk-core dependencies
will not be resolved to vndk-fwk-ext.

Test: ./tests/test_vndk.py
Change-Id: I0527ef62b70ca4442eb8f69272a8ba9a6388df55
2017-03-20 21:44:36 +08:00
Logan Chien
2652037703 vndk-def: Fix inward customization.
Inward-customized VNDK libraries should be renamed instead of cloned.
This commit fixes the algorithm for inward customization and write a
unittest to check the correctness.

Test: ./tests/test_vndk.py
Change-Id: I0d66a93f679be24d7872d6a104497df24f100232
2017-03-20 21:44:22 +08:00
Logan Chien
69aa6de23d vndk-def: Rename vndk-core and vndk-ext libs.
This commit will rename vndk-core, vndk-fwk-ext, and vndk-vnd-ext
libraries so that the output will match with the post-Treble design
document.

Test: ./tests/test_vndk.py
Change-Id: I528ef380c76d71c743f1937ba94a8b72c00ce785
2017-03-20 21:44:06 +08:00
Logan Chien
285419aacd vndk-def: Rename map_path_to_lib(s) to get_lib(s).
Test: ./tests/run.py
Change-Id: Ia9140851996579a8b7175483c9daffe0de283237
2017-03-20 21:44:03 +08:00
Logan Chien
a4c4d370bb vndk-def: Rename ELFLinker.add() to add_lib().
Test: ./tests/run.py
Change-Id: If187486736d030ea4418beadd2fca7fe62362935
2017-03-20 21:43:53 +08:00
Logan Chien
6c81087023 vndk-def: Add non-AOSP lib to imported_ext_symbols.
This commit adds non-AOSP libraries to imported_ext_symbols even when no
symbols are resolved to that specific non-AOSP library.  This should fix
some errors related to the missing libraries from generic references.

Test: ./tests/run.py
Change-Id: I7f104737308d4dc0b591266d3408b001325c959e
2017-03-20 21:43:51 +08:00
Logan Chien
fc3dc99636 vndk-def: Skip ndk ext check if no generic-refs.
After this commit, vndk_definition_tool.py will skip the NDK extension
check if generic references are not specified by the user.  This fixes
an unexpected AttributeError on NoneType object.

Test: Run ./vndk_definition_tool.py vndk command w/o --generic-refs ...
Change-Id: Ibcd960039c5acc4adabb1a2e2b5965a026e9f23a
2017-03-20 21:43:49 +08:00
Alan Viverette
af9c8f24f7 Restore "Remove Support Library from SDK build"
This reverts commit 5e690a21eb.

Test: make -j29 PRODUCT-sdk_phone_mips-sdk sdk_repo
Change-Id: I5aff9d6792a50b6e8eaca396a189724b4043bc81
2017-03-18 06:00:56 -04:00
Alan Viverette
972015b8cd Merge "Revert "Remove Support Library from SDK build" to fix build" 2017-03-18 01:54:15 +00:00
Alan Viverette
5e690a21eb Revert "Remove Support Library from SDK build" to fix build
This reverts commit 0ff1cf9d4d.

Change-Id: I320a19b78324cc895428cb5ae078fb2191959817
2017-03-18 01:49:38 +00:00
Alan Viverette
55badf5610 Merge "Remove Support Library from SDK build" 2017-03-17 18:25:35 +00:00
Jayant Chowdhary
41724f7593 Merge "Added More Abi information." am: 1345214bfc am: 1b856be6a0
am: 568ebc768c

Change-Id: Ic3dbef96280b52d2869534acbf9abc8df71918ae
2017-03-17 17:09:34 +00:00
Jayant Chowdhary
568ebc768c Merge "Added More Abi information." am: 1345214bfc
am: 1b856be6a0

Change-Id: I8611cadd6ee393b85d25c14dc346e9dbbff3e3d0
2017-03-17 17:03:07 +00:00
Jayant Chowdhary
1b856be6a0 Merge "Added More Abi information."
am: 1345214bfc

Change-Id: Ic66c629b8b9ec2a40a91df57a85987314bbebb30
2017-03-17 16:54:14 +00:00
Treehugger Robot
1345214bfc Merge "Added More Abi information." 2017-03-17 16:41:11 +00:00
Alan Viverette
0ff1cf9d4d Remove Support Library from SDK build
The Support Library ships separately via SDK Manager. It should not be
included in the base SDK build. Also, the version was wrong and it was
missing several modules.

Bug: 36171385
Test: make sdk
Change-Id: I827429b13adc2bfebf1620413f879227513a294a
2017-03-17 12:40:05 -04:00
TreeHugger Robot
f42c78e864 Merge "Update SDK build for recently-added support library modules" 2017-03-17 15:24:36 +00:00
Alan Viverette
91eed12fb0 Update SDK build for recently-added support library modules
Bug: 35707648
Test: make sdk
Change-Id: I6b5991b0544492ec2db8b66ab7eb7c17af8ba882
2017-03-16 15:17:11 -04:00
Jayant Chowdhary
ee0a448f4a Added More Abi information.
Make Messages mirror clang Types better.
Added type size and alignments for independent and complete types.
Added vtable layout for CXXRecordDecls.
Added abi information for variables with global storage.
Added new return status to signify abi extension.
Added checks for access specifier downgrades.
Removed repeated code from header-abi-diff.

Test: header-abi-dumper -o example1.dump tests/input/example1.cpp -I
tests -- -x c++ -std=c++11 -I . -I
~/android/aosp/external/clang/lib/Headers

Change-Id: I21b5a8ef6dff92ecae47a0b1c46342862c5e0ebd
2017-03-16 08:47:24 -07:00
TreeHugger Robot
f3da52f0aa Merge "Handle RuntimeException in monkey" 2017-03-16 15:10:21 +00:00
Logan Chien
0849493ae5 Merge changes Id6d23112,I474dd0c0 am: 6420708d76 am: 50220859dc
am: 87762f1429

Change-Id: Id0a7d0fa42bb7ef0c550c72640bd123d77518220
2017-03-16 05:32:34 +00:00
Logan Chien
87762f1429 Merge changes Id6d23112,I474dd0c0 am: 6420708d76
am: 50220859dc

Change-Id: I0f1db80181a50c3950398630bd535a14810c859e
2017-03-16 05:30:04 +00:00
Logan Chien
50220859dc Merge changes Id6d23112,I474dd0c0
am: 6420708d76

Change-Id: Ie6fc36d1f2d947451c4e249267351415e1dbba88
2017-03-16 05:27:34 +00:00
Treehugger Robot
6420708d76 Merge changes Id6d23112,I474dd0c0
* changes:
  vndk-def: Don't remove all deps in normalization.
  vndk-def: Add symbol usages in dependency dumps.
2017-03-16 05:23:38 +00:00
Chris Iremonger
543d1963d5 Set SDK Build-tools and platform-tools to 26.0.0 rc1 for O DP1
Test: N/A
Change-Id: I03eb6e1c8281ec39805a5a91c583120131401909
2017-03-16 01:25:09 +00:00
Logan Chien
3e641efbe6 vndk-def: Don't remove all deps in normalization.
This commit no longer removes all dependencies (including system and
vendor dependencies) when a generic reference library has a dependency
to a library on the vendor partition.  After this commit is merged,
vndk_definition_tool.py will only remove the offending dependencies.

Test: Run vndk_definition_tool.py against bullhead build with tweaked
dependencies.

Change-Id: Id6d23112128d9bbfec9e1e4430677a07f20fd193
2017-03-16 08:52:40 +08:00
Netta P
af27957ba5 Handle RuntimeException in monkey
Bug: 36099611
Test: "adb shell am restart" in the middle of the monkey run
Change-Id: I589885a0f47a0ec66d8c3562946ece27e4729fb0
2017-03-15 14:01:34 -07:00
Logan Chien
747715ae24 vndk-def: Add symbol usages in dependency dumps.
This commit dumps the symbol usages in the dependency.

Test: Run ./vndk_definition_tool.py deps --symbol ...
Change-Id: I474dd0c0184e6dabd06968f953137384e14862c2
2017-03-15 14:55:41 +08:00
Jayant Chowdhary
fc89086489 Merge "Fix tests: export_include_dirs." am: 94af0f2003 am: df1eaafa4d
am: 61e4ccef04

Change-Id: I5acb6e5f10e48fef29715ed49f5d0d9cee9187e4
2017-03-13 22:52:42 +00:00
George Burgess IV
c850a4ba14 Merge "temporarily disable FORTIFY in header-abi-dumper" am: 1e7c8fe0da am: a65b229c34
am: a62f0cf620

Change-Id: Id7c91a89b8fe7d719ed04ab187d2f9ee97bdf8b4
2017-03-13 22:52:29 +00:00
Jayant Chowdhary
61e4ccef04 Merge "Fix tests: export_include_dirs." am: 94af0f2003
am: df1eaafa4d

Change-Id: I09d5e12b262e55b739e3eb0fcddac178d48a151b
2017-03-13 22:48:11 +00:00
George Burgess IV
a62f0cf620 Merge "temporarily disable FORTIFY in header-abi-dumper" am: 1e7c8fe0da
am: a65b229c34

Change-Id: I07245bc50668567598714bd9e94d48fcee762024
2017-03-13 22:47:59 +00:00
Jayant Chowdhary
df1eaafa4d Merge "Fix tests: export_include_dirs."
am: 94af0f2003

Change-Id: I7f638205a969c2862ecfc6b5a2b244089700d43e
2017-03-13 22:43:42 +00:00