Commit Graph

22539 Commits

Author SHA1 Message Date
Dmitry Dementyev
d172f7a6f6 Merge "Update account visibility test apps to handle O SDK level." into oc-dev
am: 47e13c9735

Change-Id: I9a66c1da447e7b7681d999499a6547af62313d1e
2017-05-31 20:25:59 +00:00
Dmitry Dementyev
47e13c9735 Merge "Update account visibility test apps to handle O SDK level." into oc-dev 2017-05-31 20:18:02 +00:00
TreeHugger Robot
5dc7d1bfa9 Merge "Fix typo in time duration printing in logblame script." 2017-05-31 19:15:01 +00:00
TreeHugger Robot
83a8182e29 Merge "make the logblame power toggle test slightly better" 2017-05-31 18:28:42 +00:00
TreeHugger Robot
ec14b14bf5 Merge "New version of api-generator tool" 2017-05-31 14:04:53 +00:00
Hsin-Yi Chen
9d60602ef5 Merge "Strip more SymbolInfo from dump" am: ddd86bd217 am: 8cf3e6c7d2 am: d6bde12a27
am: 6f4b00f52a

Change-Id: I074e8c69a8dc57b484b89239d229a9235e04f9e8
2017-05-31 05:33:04 +00:00
Hsin-Yi Chen
6f4b00f52a Merge "Strip more SymbolInfo from dump" am: ddd86bd217 am: 8cf3e6c7d2
am: d6bde12a27

Change-Id: Ib68567b05aee577fbd19e89551b9d6f4be39b27f
2017-05-31 05:28:32 +00:00
Hsin-Yi Chen
d6bde12a27 Merge "Strip more SymbolInfo from dump" am: ddd86bd217
am: 8cf3e6c7d2

Change-Id: I037e8c6cc9d8dab4be08c6533a17191ddbf198a0
2017-05-31 05:24:02 +00:00
Hsin-Yi Chen
8cf3e6c7d2 Merge "Strip more SymbolInfo from dump"
am: ddd86bd217

Change-Id: I4697c148b58507848ecc46452266263c46fd1394
2017-05-31 05:19:01 +00:00
Treehugger Robot
ddd86bd217 Merge "Strip more SymbolInfo from dump" 2017-05-31 05:14:33 +00:00
Jayant Chowdhary
fbc8a4258e Add more flexibility to abi checking. am: fbbce47234 -s ours
am: d5fbec5837  -s ours

Change-Id: I8c3e0546364e322024489f3353acf0e522434713
2017-05-31 03:51:31 +00:00
Jayant Chowdhary
d5fbec5837 Add more flexibility to abi checking.
am: fbbce47234  -s ours

Change-Id: Ibe7a7a95fe8cc1b3d41cc65668db0ef9e849494e
2017-05-31 03:47:27 +00:00
Joe Onorato
0e71236dd6 make the logblame power toggle test slightly better
Bug: 37252687
Test: development/tools/logblame/power_toggle_test
Change-Id: Ie218bb0094bf1574de2e9ab51775984f4969307f
2017-05-31 01:25:16 +00:00
Jayant Chowdhary
fbbce47234 Add more flexibility to abi checking.
1) Marking a field "required" robs us of flexibility. Make fields optional
allows us to update the message format without needing to necessarily
update the reference abi-dumps.

2) Allow local warnings with the invocation of header-abi-diff.

Test: Added a function to libjpeg, got a warning claiming abi extended.

3) Introduce a flag which allows us to not filter any abi. This is
useful for cases when libraries do not include what they export. eg :
libsqlite.

Test: abi-dump size of libsqlite:
	without no-filter : 0
	with no-filter : ~9M

Bug: 32750600

Merged-In: I6dcd3ab95053fcac0ed399d82c2bc3724bb46a10
Change-Id: I6cfeacc8711f6df7a4136c2a27b5638988a2c54b
(cherry picked from commit e6a88775e9)
2017-05-30 18:25:15 -07:00
Joe Onorato
5d022704e9 Fix typo in time duration printing in logblame script.
Test: development/tools/logblame/medium_idle_test
Change-Id: I1c21f899ac35260a20eabb2d9af197d015b00ce6
2017-05-31 01:23:56 +00:00
Josh Gao
10d64bd2ee Merge "gdbrunner: take a run-as/su command instead of a user." am: 3099f0c89d am: 83c5325987 am: 3aa3d5814e
am: 8ce1c18ba8

Change-Id: I314b5420ece3f44ece68be43c6427942ee4fe682
2017-05-31 00:53:45 +00:00
Josh Gao
8ce1c18ba8 Merge "gdbrunner: take a run-as/su command instead of a user." am: 3099f0c89d am: 83c5325987
am: 3aa3d5814e

Change-Id: Ib2538d9c996958228ceb6359994035789a507b02
2017-05-31 00:49:44 +00:00
Josh Gao
3aa3d5814e Merge "gdbrunner: take a run-as/su command instead of a user." am: 3099f0c89d
am: 83c5325987

Change-Id: Iafad9ff5c46a638465805fc050238efc4a62eece
2017-05-31 00:46:13 +00:00
Josh Gao
83c5325987 Merge "gdbrunner: take a run-as/su command instead of a user."
am: 3099f0c89d

Change-Id: Ib2b38ad645459273214f76abb648bcc2ba0ed478
2017-05-31 00:42:13 +00:00
Treehugger Robot
3099f0c89d Merge "gdbrunner: take a run-as/su command instead of a user." 2017-05-31 00:35:47 +00:00
Makoto Onuki
8c445e5b1f Use support lib shortcut manager in sample apps
Bug 62193112
Test: manual

Change-Id: I157f13b4fffbe5ffd48cf97094362ae1be1c0658
2017-05-30 16:37:49 -07:00
Jayant Chowdhary
98b20c7579 Merge abi diffs, improve linking performance. am: 1a9b3e2fc9 -s ours
am: 90aedb165b  -s ours

Change-Id: I33fbc5c0943d8e382a00b30aef9185d6a2d39930
2017-05-30 23:22:50 +00:00
Jayant Chowdhary
90aedb165b Merge abi diffs, improve linking performance.
am: 1a9b3e2fc9  -s ours

Change-Id: Idc4b692ddd28fdedea1ed0c1daac326207d2590b
2017-05-30 23:16:21 +00:00
Sergey Prigogin
1c6c892938 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
2017-05-30 11:31:45 -07:00
Jayant Chowdhary
1a9b3e2fc9 Merge abi diffs, improve linking performance.
Bug: 38325544

Test:
As shown by out/build.trace.gz when using built header-abi-linker to
link .sdump files produced by header-abi-linker.

Without fix:
Time taken to produce libc.so.lsdump by header-abi-linker => ~51 sec
With fix:
Time taken to produce libc.so.lsdump by header-abi-linker => ~3 sec

Bug: 38325929

Test: merged abiff reports of libjpeg, libc.

Merged-In: Ibfa85507b3f035f85b4678ac7a0a7bd0d4a9b966
Change-Id: Iae54f4754d8b0407fabdb8bc8550a7f7b3479f8f
(cherry picked from commit eb755c1323)
2017-05-30 11:15:57 -07:00
Hsin-Yi Chen
6573ce0115 Strip more SymbolInfo from dump
Test: ./strip_debug_info.pl libhidlbase.so.dump
Bug: 37488823
Change-Id: Ifa18edf45cd5310633bec7ab0cb85018d4c74c9a
2017-05-26 17:35:48 +08:00
GuangHui Liu
1765f5187c Merge "Add Soong rule for python adb library." am: 1a5b9104fd am: 25801f1a99 am: 89d05bd82d
am: 913daae933

Change-Id: I124771cd193669e1d5c7413b04f96208f2e99d31
2017-05-25 17:11:11 +00:00
GuangHui Liu
913daae933 Merge "Add Soong rule for python adb library." am: 1a5b9104fd am: 25801f1a99
am: 89d05bd82d

Change-Id: I7e787adb4c98918bb2f0734beea34c0edc2946af
2017-05-25 17:01:40 +00:00
GuangHui Liu
89d05bd82d Merge "Add Soong rule for python adb library." am: 1a5b9104fd
am: 25801f1a99

Change-Id: I3392d87e0aba573212e4814baf294c897de510a4
2017-05-25 16:57:15 +00:00
GuangHui Liu
25801f1a99 Merge "Add Soong rule for python adb library."
am: 1a5b9104fd

Change-Id: I70417cf4a0726ce88ed69e572e42cb57d6eb2c3c
2017-05-25 16:54:24 +00:00
GuangHui Liu
1a5b9104fd Merge "Add Soong rule for python adb library." 2017-05-25 16:48:19 +00:00
Josh Gao
057c2739fc gdbrunner: take a run-as/su command instead of a user.
Switch from assuming that "root" meant su to an explicit prepended
argument, to allow things like `gdbclient.py --user shell`.

Test: gdbclient.py --user shell -r /system/bin/ls
Change-Id: I9d02eea7c6d79898ed8b13817e009630b0f9536a
2017-05-24 18:32:25 -07:00
Jayant Chowdhary
18861e8f76 Merge "Add more flexibility to abi checking." am: 9bfbde9ef9 am: 89754eb489 am: a6062e94ea
am: cdeccd8b05

Change-Id: Idb4cb321228c962d4ae57cb7d5e4051be11c51f0
2017-05-24 18:51:06 +00:00
Jayant Chowdhary
cdeccd8b05 Merge "Add more flexibility to abi checking." am: 9bfbde9ef9 am: 89754eb489
am: a6062e94ea

Change-Id: I2c5519b464a8249699c655729d18509461d3f65d
2017-05-24 18:48:08 +00:00
Jayant Chowdhary
a6062e94ea Merge "Add more flexibility to abi checking." am: 9bfbde9ef9
am: 89754eb489

Change-Id: Ia26ef45e141fd9a1446f59f0dc7e280167177517
2017-05-24 18:45:37 +00:00
Jayant Chowdhary
89754eb489 Merge "Add more flexibility to abi checking."
am: 9bfbde9ef9

Change-Id: I6dcd3ab95053fcac0ed399d82c2bc3724bb46a10
2017-05-24 18:42:37 +00:00
Treehugger Robot
9bfbde9ef9 Merge "Add more flexibility to abi checking." 2017-05-24 18:34:35 +00:00
Elliott Hughes
a51ed9afc6 Merge "Fix NDK x86 build." am: be49ee652a am: e8a86aa60c am: 75cf91a0f6
am: 156bbcd854

Change-Id: I4cc52a8be7784c4eb71d358f4dd0ec395bb6737c
2017-05-24 17:18:30 +00:00
Elliott Hughes
156bbcd854 Merge "Fix NDK x86 build." am: be49ee652a am: e8a86aa60c
am: 75cf91a0f6

Change-Id: I6ecb3282484bf00a5d0336dd1e376be2c2a9e2d5
2017-05-24 17:16:00 +00:00
Elliott Hughes
75cf91a0f6 Merge "Fix NDK x86 build." am: be49ee652a
am: e8a86aa60c

Change-Id: I17aac83cf55a109a150c5ce99a14a4cb047b4277
2017-05-24 17:13:00 +00:00
Logan Chien
df9de8d4e9 vndk-def: Add libvndksupport to LL-NDK
This commit adds libvndksupport.so to LL-NDK list.  libvndksupport.so
is a wrapper library over some platform-only libdl.so APIs.

Test: ./tests/test_ndk_libs.py
Change-Id: I25465f6d94441a22da3bf9a7c8417e2388c764da
2017-05-25 01:11:41 +08:00
Logan Chien
9435d22d7c vndk-def: Update vndk-sp list
This commit updates the vndk-sp list according to b/36705501.  Some
libs are still under discussion and might be removed in the future.

Bug: 36705501
Test: ./tests/test_elf_linker.py
Change-Id: I55d4b4e31ac326218f2048f69b7a9a2c51045291
2017-05-25 01:11:36 +08:00
Elliott Hughes
e8a86aa60c Merge "Fix NDK x86 build."
am: be49ee652a

Change-Id: Ia7a63044a9e99e63f4eaa0dd89a9d4ee49eebb07
2017-05-24 17:10:18 +00:00
Treehugger Robot
be49ee652a Merge "Fix NDK x86 build." 2017-05-24 17:04:55 +00:00
Logan Chien
9ebe7bfc7f vndk-def: Remove obsolete warning options
This commit removes `--warn-high-level-ndk-deps` and
`--warn-banned-vendor-lib-deps`.  These options are removed in favor of
the eligible vndk list.  In next CL, a user can specify an eligible VNDK
list with `--tag-file`. VNDK definition tool will print warnings if
vendor modules are using ineligible framework libraries.

Test: ./tests/run.py
Change-Id: I0bb11de70c93f1447bb041561e80e342aa400fd4
2017-05-24 23:47:00 +08:00
Elliott Hughes
64eee24852 Fix NDK x86 build.
Because gen-platforms.sh includes the current *bionic* directories, this
mistake in the android-9 crtbegin.c wasn't being noticed. It was using
the platform __stack_chk_fail_local.h instead of the missing local one.

  crtbegin.c:63:59: fatal error: ../../arch-x86/bionic/__stack_chk_fail_local.h: No such file or directory
   # include "../../arch-x86/bionic/__stack_chk_fail_local.h"

Bug: N/A
Test: builds
Change-Id: I8306cee1cf6d974ac5c3dae0c2927af3ceeb2cf6
2017-05-24 08:27:26 -07:00
Logan Chien
51b083038f vndk-def: Add --aosp-system option
This commit adds `--aosp-system` option to simplify the command line
usages.  The user can specify the aosp image system directory directly
and skip the `create-generic-ref` subcommand.

Test: Compare the output with `--load-generic-refs` and `--aosp-system`.
Change-Id: Ibb76bd59ea504808545775562feefcd8a95ee267
2017-05-24 22:02:16 +08:00
Logan Chien
ea60a6cce6 vndk-def: Remove unused code.
Test: ./tests/run.py
Change-Id: I7bf782fae485114faa9836fe1e8415810c1d6c78
2017-05-24 22:01:43 +08:00
Logan Chien
59d615f82d Merge changes I2c8b84b6,I0ce00cca,I78a83448 am: 08c51d9f2b am: 4ae4793721 am: 9caec6b454
am: 287fad90c6

Change-Id: I915bf58df63ed6552ea8593d62d8eecf015be3e2
2017-05-24 02:26:29 +00:00
Logan Chien
287fad90c6 Merge changes I2c8b84b6,I0ce00cca,I78a83448 am: 08c51d9f2b am: 4ae4793721
am: 9caec6b454

Change-Id: Ide9d5171967c8a924bbc1c01aa684b9ce4020732
2017-05-24 02:23:58 +00:00