Commit Graph

25016 Commits

Author SHA1 Message Date
Jayant Chowdhary
ae789286a4 Merge "header-abi-diff: Fix return code for extension in presence of elf only changes." am: 0aeced009b
am: c6ad943e83

Change-Id: If64138ea61e5aa5a51339820fba9f70bf59de66e
2018-05-24 10:41:30 -07:00
Jayant Chowdhary
c6ad943e83 Merge "header-abi-diff: Fix return code for extension in presence of elf only changes."
am: 0aeced009b

Change-Id: Id2606798507e443cde89073479f0c1a57290b6f2
2018-05-24 07:28:21 -07:00
Ivan Gavrilovic
d8602da2a9 Add d8 to build tools
BUG: 74015795
Test: make -j PRODUCT-sdk_phone_armv7-win_sdk showcommands sdk_repo
Test: make -j PRODUCT-sdk_arm64-sdk showcommands sdk_repo
(cherry picked from commit e05b47b6ea)

Change-Id: I2efb3004f89c4ad9874efce3b33de0132dd6e445
Merged-In: I2efb3004f89c4ad9874efce3b33de0132dd6e445
2018-05-24 09:55:15 +01:00
Treehugger Robot
e0e8ea8f70 Merge "Split OWNERS under development/vndk" 2018-05-24 06:57:33 +00:00
Logan Chien
fabfff02ba vndk-def: Update template makefile
This commit updates template makefile to support versioned VNDK
directory layout.

Bug: 78605339
Test: Replace `device/google/marlin/vndk/Android.mk` and the build
results are not changed in both branches

Change-Id: I6de8546389141a3b2aec359998c890239132caae
2018-05-24 14:36:21 +08:00
Jayant Chowdhary
0aeced009b Merge "header-abi-diff: Fix return code for extension in presence of elf only changes." 2018-05-24 06:21:02 +00:00
Jayant Chowdhary
03c4e279a8 header-abi-diff: Fix return code for extension in presence of elf only changes.
Before this change, an elf symbol change not exported through public
headers would short circuit the check for api extension. As a result,
header-abi-diff would return a compatible return status (0). This isn't
correct, extensions should take precedence over elf only changes and an
extension status should be returned (non zero).

Test: tests/test.py

Change-Id: I6907d0ebaf332d019cdf2e264316f7d521e00d82
2018-05-23 21:11:22 -07:00
Logan Chien
c7b2878154 Split OWNERS under development/vndk
Test: n/a
Change-Id: Iadc28fd9cee89d3f147a1d63b8b4fa30cd946867
2018-05-24 11:01:11 +08:00
Vishwath Mohan
525b21395f [automerger skipped] Merge "Allow collection of abi references for cfi variants as well." into pi-dev
am: c766e77398  -s ours

Change-Id: Idec6fda5dc67ddfd0d9f228d14b5cfe1137b4c8d
2018-05-23 14:15:53 -07:00
Jayant Chowdhary
efbeab8136 [automerger skipped] Allow collection of abi references for cfi variants as well.
am: d39c61bdd0  -s ours

Change-Id: I162a6749df77fefbd54d768b247d1207a9a941a4
2018-05-23 14:12:04 -07:00
Jiyong Park
3f080c7ad7 [automerger skipped] Merge "Stubs lib for org.apache.http.legacy is changed to -.stubs." am: 826e268c59
am: 847e91682c  -s ours

Change-Id: I1603640af0e8072c27197cb05f0de8af6a80a670
2018-05-23 12:55:11 -07:00
Vishwath Mohan
c766e77398 Merge "Allow collection of abi references for cfi variants as well." into pi-dev 2018-05-23 17:47:38 +00:00
Jayant Chowdhary
d88c20c48f Merge "vndk-vtable-dumper: Use demangled name of symbol while handling symbol aliasing." into pi-dev
am: 1c0887bc0d

Change-Id: I6ac0ac0c3195dd77ea3aefbacdaebf99ccc44352
2018-05-23 10:43:56 -07:00
Jiyong Park
847e91682c Merge "Stubs lib for org.apache.http.legacy is changed to -.stubs."
am: 826e268c59

Change-Id: I7707111271ec43d555486d668d2791ba0192f8d3
2018-05-23 10:43:41 -07:00
Raju Kulkarni
e0fdbd4ce1 Updating build number for SDK Platform, Build Tools, Platform Tools - Pi Beta2 release Test: Treehugger Bug: 79987187 Change-Id: I55510fd414ae1c3d200e30b12efa955ac6ff9801
am: 066563adf6

Change-Id: Ib8038156e9b03426f1ca281536c478fe3ba01671
2018-05-23 10:36:54 -07:00
Jayant Chowdhary
1c0887bc0d Merge "vndk-vtable-dumper: Use demangled name of symbol while handling symbol aliasing." into pi-dev 2018-05-23 16:29:10 +00:00
Jiyong Park
826e268c59 Merge "Stubs lib for org.apache.http.legacy is changed to -.stubs." 2018-05-23 11:35:24 +00:00
TreeHugger Robot
48b68a363b Merge "Stubs lib for org.apache.http.legacy is changed to -.stubs." into pi-dev-plus-aosp 2018-05-23 09:52:16 +00:00
Christopher Ferris
bede9f3b3c Handle num fields that aren't one.
The new version of malloc debug supports using a num field that is more
than one. Modify the parser to handle this case.

Bug: 74361929

Test: Ran on a file that contained non-one numbers and verified the output.
Change-Id: I158922e51ce99afff88f20a80df414d653f95e65
2018-05-22 19:02:41 -07:00
Raju Kulkarni
066563adf6 Updating build number for SDK Platform, Build Tools, Platform Tools - Pi Beta2 release
Test: Treehugger
Bug: 79987187
Change-Id: I55510fd414ae1c3d200e30b12efa955ac6ff9801
2018-05-22 22:48:35 +00:00
Josh Gao
a4e1b1dda6 [automerger skipped] Merge "Update platform tools version for 28.0.0." am: f3abc723dc
am: 5013fb056b  -s ours

Change-Id: I9d782aff1e436111a4fec118af7986cbec02ae00
2018-05-22 12:53:23 -07:00
Josh Gao
5013fb056b Merge "Update platform tools version for 28.0.0."
am: f3abc723dc

Change-Id: I506eb909384764d4ab642aa5ef3fed42fd2c8174
2018-05-22 12:41:19 -07:00
Josh Gao
f3abc723dc Merge "Update platform tools version for 28.0.0." 2018-05-22 19:28:53 +00:00
Josh Gao
648e2ae10c Update platform tools version for 28.0.0.
Test: treehugger
Change-Id: I4c1002c17e77bbe9d2ad6291f29d7b4bcbff1deb
2018-05-22 12:26:21 -07:00
Jayant Chowdhary
f0641b065f vndk-vtable-dumper: Use demangled name of symbol while handling symbol aliasing.
While trying to handle cases where multiple symbols could be aliased, we
were trying to relate a symbol to its class by trying to find the
class' demangled name as a substring of the symbol's mangled name. This
might lead to errors when the class is in a qualified namespace (due to
C++ mangled names having fully qualified namespaces of the form
<num-letters><namespace>. Having <num-letters> interspersed between namespaces
makes finding the substring inaccurate). Now, we try find the class' demangled
name in the demangled symbol name instead.

Bug: 80088849

Test: Without this change, vndk-vtable-dumper for
      libstagefright_bufferqueue_helper.so has an incorrect entry in the
      vtable for android::GraphicsBuffer at offset 20 :
      _ZNK7android6VectorIiE12do_constructEPvj

Test: With this change, vndk-vtable-dumper for
      libstagefright_bufferqueue_helper.so has the correct entry in the
      vtable for android::GraphicsBuffer at offset 20 :
      _ZN7android19GraphicBufferSource23onSidebandStreamChangedEv

Change-Id: I16507f3cef4d9c252aae3d27bef34563e2679703
2018-05-22 18:09:07 +00:00
Jiyong Park
3ae7694f41 Stubs lib for org.apache.http.legacy is changed to -.stubs.
Stubs lib for the sdk library org.apache.http.legacy is renamed to
org.apache.http.legacy.stubs, because the lib is now built using the
standardized build script 'java_sdk_library' where stubs libs are
suffixed with .stubs.

Bug: 77577799
Test: m -j
Merged-In: I5f45410472b0e4003d2d3cda4c9c72af8d6b4919
Change-Id: I5f45410472b0e4003d2d3cda4c9c72af8d6b4919
(cherry picked from commit 5579c00e56)
2018-05-22 20:42:10 +09:00
Jiyong Park
d06181a427 Stubs lib for org.apache.http.legacy is changed to -.stubs.
Stubs lib for the sdk library org.apache.http.legacy is renamed to
org.apache.http.legacy.stubs, because the lib is now built using the
standardized build script 'java_sdk_library' where stubs libs are
suffixed with .stubs.

Bug: 77577799
Test: m -j
Merged-In: I5f45410472b0e4003d2d3cda4c9c72af8d6b4919
Change-Id: I5f45410472b0e4003d2d3cda4c9c72af8d6b4919
(cherry picked from commit 5579c00e56)
2018-05-22 20:15:32 +09:00
Logan Chien
0d3f7dc99a vndk-def: Update eligible-list-28.csv
am: e94e4c2165

Change-Id: I270451e7d964524a88a27b25f2127f66d75be356
2018-05-21 20:40:12 -07:00
Logan Chien
9d3f1a3fbc Merge changes Ie435db0f,Ib7db7e7d,I673a6804 am: c10b21277c
am: 96683f522c

Change-Id: Iaad16af3933c9e2be9e4e892732182190548837c
2018-05-21 18:46:25 -07:00
Logan Chien
96683f522c Merge changes Ie435db0f,Ib7db7e7d,I673a6804
am: c10b21277c

Change-Id: I660fa0953a2ac2928c4ba57068beb95af3a082c6
2018-05-21 18:43:14 -07:00
Logan Chien
c10b21277c Merge changes Ie435db0f,Ib7db7e7d,I673a6804
* changes:
  vndk-def: Add namespaces to update_dataset_auto.py
  sourcedr: Support module namespace
  sourcedr: Cleanup os.path.abspath()
2018-05-22 01:38:45 +00:00
Po-Chien Hsueh
d79b1efebb Merge "Add a tool which compares failed tests" am: 08fb698944
am: 668ca492b3

Change-Id: I772962e2ba299d638e9d32ae49639b7912d60027
2018-05-21 15:30:31 -07:00
Po-Chien Hsueh
668ca492b3 Merge "Add a tool which compares failed tests"
am: 08fb698944

Change-Id: Ia1d45986e9958a32eea823bf48041cbc36c17212
2018-05-21 14:41:57 -07:00
Treehugger Robot
08fb698944 Merge "Add a tool which compares failed tests" 2018-05-21 20:25:32 +00:00
Jayant Chowdhary
2b32b2f7fe Merge "header-abi-diff: -allow-unreferenced-elf-symbol-changes will suppress warnings as well." am: 6fb89e3f30
am: dc78c44049

Change-Id: Ibaea3cce13401b600b6445f59ec9149ed042e138
2018-05-21 11:10:35 -07:00
Jayant Chowdhary
dc78c44049 Merge "header-abi-diff: -allow-unreferenced-elf-symbol-changes will suppress warnings as well."
am: 6fb89e3f30

Change-Id: I14044e97aef7aaead96c556f6f17b74eaa211bbf
2018-05-21 11:06:02 -07:00
Jayant Chowdhary
6fb89e3f30 Merge "header-abi-diff: -allow-unreferenced-elf-symbol-changes will suppress warnings as well." 2018-05-21 18:00:17 +00:00
Logan Chien
b82d82a8f0 vndk-def: Add namespaces to update_dataset_auto.py
This commit adds hardware/google/av and hardware/google/interfaces to as
default module namespaces that should be included in the output.

Test: Run update_dataset_auto.py on latest build
Change-Id: Ie435db0f6bdb77b1a14497f079d7d99889105ee8
2018-05-21 19:12:11 +08:00
Logan Chien
4225369f56 sourcedr: Support module namespace
Test: Run list_vndk_module.py without hacks
Change-Id: Ib7db7e7ddb624562a6e28425cbc0a8a0013bda0e
2018-05-21 19:11:20 +08:00
Logan Chien
e94e4c2165 vndk-def: Update eligible-list-28.csv
This commit adds libpcap and removes libtimestats_proto.

Bug: 77781837
Test: ./vndk_definition_tool.py check-dep --tag-file ...
Change-Id: I30bb47073ca6b035ae8cab09231df30561021e7a
2018-05-21 19:04:14 +08:00
Logan Chien
0ddebeadf8 sourcedr: Cleanup os.path.abspath()
This commit lifts os.path.abspath() to the first function call to
RecursiveParser.

Test: ./tests/run_tests.sh
Test: list_vndk_module.py Android.bp
Change-Id: I673a6804727ab13a76df0b3bab2227fd009ec0d4
2018-05-21 17:56:48 +08:00
Jayant Chowdhary
da3d352ffd header-abi-diff: -allow-unreferenced-elf-symbol-changes will suppress warnings as well.
Bug:79928919

Test: tests/test.py

Change-Id: Icec65e5e18987fd60fb8e5532983947b335b6951
2018-05-18 15:38:54 -07:00
Po-Chien Hsueh
d08e072414 Add a tool which compares failed tests
Given two test_result.xml's (A and B), this script lists all failed
tests in A, and shows result of the same test in B. This is usually
used for regression detection or device stability analysis.

Bug: 79442777
Test: ./compare_failed_tests.py test_result_a.xml test_result_b.xml
Change-Id: I7778b5d748daccdeadabe6a539e1ce9622e535c5
2018-05-18 17:40:13 +08:00
Jayant Chowdhary
af91f22241 Merge "Mark two records as different if the access specifier is downgraded." am: 849a934bb4
am: 6128f0a47c

Change-Id: Ic3e7a229885a52340fe7cee5eeea679edf501d18
2018-05-17 10:51:01 -07:00
Jayant Chowdhary
6128f0a47c Merge "Mark two records as different if the access specifier is downgraded."
am: 849a934bb4

Change-Id: I476ec356d7b0d320b9b1e4204b119e6bdc87472c
2018-05-17 10:43:07 -07:00
Jayant Chowdhary
849a934bb4 Merge "Mark two records as different if the access specifier is downgraded." 2018-05-17 17:07:02 +00:00
Ivan Gavrilovic
9c4edf9ab3 Merge "Add d8 to build tools" am: 5e56071da1
am: a473af1733

Change-Id: I7d6fd32bb17c27247356ebc517db3142b9b7c650
2018-05-17 06:41:19 -07:00
Ivan Gavrilovic
a473af1733 Merge "Add d8 to build tools"
am: 5e56071da1

Change-Id: I464ef228adbb05b117e5dcaad90cb4cd741aa459
2018-05-17 06:36:47 -07:00
Ivan Gavrilovic
5e56071da1 Merge "Add d8 to build tools" 2018-05-17 13:28:02 +00:00
Ivan Gavrilovic
e05b47b6ea Add d8 to build tools
BUG: 74015795
Test: make -j PRODUCT-sdk_phone_armv7-win_sdk showcommands sdk_repo
Test: make -j PRODUCT-sdk_arm64-sdk showcommands sdk_repo
2018-05-17 12:54:38 +00:00