Commit Graph

25865 Commits

Author SHA1 Message Date
Logan Chien
f8954eea51 Merge "def-tool: Add libclang_rt*.so to update_dataset.py" am: 75fbfc74af
am: 1a8e24ce5d

Change-Id: I1860b0bbcb9272f504388e40f3221f3a4164d6a9
2018-11-12 18:14:52 -08:00
Logan Chien
1a8e24ce5d Merge "def-tool: Add libclang_rt*.so to update_dataset.py"
am: 75fbfc74af

Change-Id: Iec63f58effe375a6bc9dc158cdf1cc027d42ca9b
2018-11-12 17:47:28 -08:00
Logan Chien
75fbfc74af Merge "def-tool: Add libclang_rt*.so to update_dataset.py" 2018-11-13 01:20:41 +00:00
Logan Chien
9d56d2a12b Merge "def-tool: Update vndk-lib-extra-list-current.txt" am: 688f152463
am: df67fe342d

Change-Id: I9e29e6aee6437966972aca3ed7885ea9f5867aaa
2018-11-09 01:34:48 -08:00
Logan Chien
df67fe342d Merge "def-tool: Update vndk-lib-extra-list-current.txt"
am: 688f152463

Change-Id: If6561f0869d4fdfbba16c9ea843608f8114f4933
2018-11-09 01:29:41 -08:00
Logan Chien
688f152463 Merge "def-tool: Update vndk-lib-extra-list-current.txt" 2018-11-09 09:15:44 +00:00
Hsin-Yi Chen
eec010ccfb Merge "Update unit tests for -dump-function-declarations" am: 376b57580e
am: e9c44e6e98

Change-Id: I89c75f29a12470b2369c8795a9e674eed31a3018
2018-11-09 00:43:55 -08:00
Hsin-Yi Chen
e9c44e6e98 Merge "Update unit tests for -dump-function-declarations"
am: 376b57580e

Change-Id: Ife847178f6bd837f875ce59ae0cc959e278275a0
2018-11-09 00:38:57 -08:00
Hsin-Yi Chen
376b57580e Merge "Update unit tests for -dump-function-declarations" 2018-11-09 08:22:50 +00:00
Logan Chien
583a639da8 def-tool: Add libclang_rt*.so to update_dataset.py
Test: ./tools/update_dataset_auto.py [eligible_list]
Change-Id: I54ae37d6e3cc65b3fc31cfc6d6f8f29d512761fb
2018-11-09 14:14:13 +08:00
Logan Chien
41606063ed def-tool: Update vndk-lib-extra-list-current.txt
This commit adds libclang_rt.scudo*.so to
vndk-lib-extra-list-current.txt.

Bug: 117997372
Test: vts-tradefed run vts -m VtsVndkFiles
Change-Id: I806188793fa4798950275ea87989ea0d742c0333
2018-11-09 14:14:04 +08:00
Logan Chien
88e49443d3 Merge "header-checker: Fix unit test include directories" am: 3e48f47adc
am: a65d6604df

Change-Id: Ide154d4c5f3063d856ce615578afc25d18419c4b
2018-11-08 21:55:00 -08:00
Logan Chien
a65d6604df Merge "header-checker: Fix unit test include directories"
am: 3e48f47adc

Change-Id: If613d84d3faeb4a49188543f9009808a2d06fe30
2018-11-08 21:49:53 -08:00
Logan Chien
3e48f47adc Merge "header-checker: Fix unit test include directories" 2018-11-09 05:27:44 +00:00
Hsin-Yi Chen
b7565950ef Update unit tests for -dump-function-declarations
- Apply -dump-function-declarations to input/*.h.
- Add an explicitly deleted function to input/example1.h.
- Remove gen_expected_output.py and input/func_decl_*.h.

Bug: 71485848
Bug: 117582158
Test: ./test.py
Change-Id: Ic81448a3607c23bfb10781b4df097578814b7118
2018-11-08 18:07:27 +08:00
Hsin-Yi Chen
1581a39521 Merge "Add a command line option to dump function declarations" am: 508383c403
am: 8a01a00c99

Change-Id: I9df8de483934030db971788ba33a8b96a1c7abac
2018-11-08 00:45:54 -08:00
Hsin-Yi Chen
8a01a00c99 Merge "Add a command line option to dump function declarations"
am: 508383c403

Change-Id: I9a7b7380ad746b5b189d7354ef9bfa822d437506
2018-11-08 00:40:59 -08:00
Treehugger Robot
508383c403 Merge "Add a command line option to dump function declarations" 2018-11-08 08:27:26 +00:00
Hsin-Yi Chen
3d1ad14df9 Add a command line option to dump function declarations
If -dump-function-declarations is specified, header-abi-dumper outputs
the functions declared but not defined in the input file. The command
line option can be used to dump header files.

Test: header-abi-dumper -suppress-errors -dump-function-declarations system/libfmq/include/fmq/MessageQueue.h -o test.txt --
Bug: 117582158
Bug: 71485848
Change-Id: I85a3944047e085a032779a69b04ac5211f3b9467
2018-11-08 15:03:25 +08:00
Logan Chien
ce6ea7999f header-checker: Fix unit test include directories
This commit fixes the built-in include directories for header-abi-dumper
unit test cases. Remove the reference to
`prebuilts/sdk/renderscript/clang-include` because we don't check out
`prebuilts/sdk` in `aosp-clang-tools` branch.

Test: PATH=out/soong/dist/bin:$PATH \
development/vndk/tools/header-checker/tests/test.py

Change-Id: Ieb24b0a53b719f4569149251efcdaa3722c0b88c
2018-11-08 14:48:47 +08:00
Hsin-Yi Chen
e8395a287e Merge "Add a command line option to suppress compilation errors" am: 419ef1bf8e
am: 14895d4c88

Change-Id: Id540ebb8ad6523078613abb1776164b37b1a619b
2018-11-06 23:43:45 -08:00
Hsin-Yi Chen
14895d4c88 Merge "Add a command line option to suppress compilation errors"
am: 419ef1bf8e

Change-Id: I47a7612b5000ead27229108f2efac1269be26008
2018-11-06 23:39:56 -08:00
Hsin-Yi Chen
419ef1bf8e Merge "Add a command line option to suppress compilation errors" 2018-11-07 07:28:17 +00:00
Hsin-Yi Chen
46879ef2f2 Add a command line option to suppress compilation errors
Some header files have assumpion on predefined macros or include order,
which causes compilation errors when header-abi-dumper parses each
header individually. This commit adds the -suppress-errors option that
makes header-abi-dumper tolerate the errors.

Bug: 117582158
Test: header-abi-dumper -suppress-errors test.h -o test.txt --
Change-Id: Ie0eb278f8c006d1d05a9dcd92a9944289b930505
2018-11-07 11:52:11 +08:00
Junyu Lai
3c6ed00a0a Merge "Add C++ support for coding style check tool." am: a93b22a51c
am: 7fdbd9c776

Change-Id: Idb0a5c2563c99a21e336c901e9b042b914889f99
2018-11-04 18:19:07 -08:00
Junyu Lai
7fdbd9c776 Merge "Add C++ support for coding style check tool."
am: a93b22a51c

Change-Id: Idee042caad8642fcc9f02a25ef627f7d802ada87
2018-11-04 18:05:43 -08:00
Junyu Lai
a93b22a51c Merge "Add C++ support for coding style check tool." 2018-11-05 01:54:56 +00:00
Logan Chien
823457200a Merge "Fix spelling typos" am: 1b44711662
am: 1d80f85e4d

Change-Id: I29362026527b9034ec0786313e69257581e983b7
2018-10-31 22:28:22 -07:00
Logan Chien
1d80f85e4d Merge "Fix spelling typos"
am: 1b44711662

Change-Id: Ie4d4ec9a07157f9be2841a870bc1c139758ddabe
2018-10-31 22:23:29 -07:00
Logan Chien
1b44711662 Merge "Fix spelling typos" 2018-11-01 05:11:16 +00:00
Logan Chien
d8e3acbad8 Merge "Remove vndk-vtable-dumper" am: c4562868df
am: 9188df76c8

Change-Id: I910b1ad8b23b7759507be7d0491e96a5064f5eaf
2018-10-31 02:10:27 -07:00
Logan Chien
9188df76c8 Merge "Remove vndk-vtable-dumper"
am: c4562868df

Change-Id: Iddae8dc257633284ebaca4227365e6ea3806c9cd
2018-10-31 02:02:47 -07:00
Logan Chien
c4562868df Merge "Remove vndk-vtable-dumper" 2018-10-31 08:50:45 +00:00
Logan Chien
1fcada160f Remove vndk-vtable-dumper
This commit removes `vndk-vtable-dumper` so that the number of users of
`external/llvm` can be reduced.  Removing this should be fine because
VTS test cases now have their own vtable dumper written in Python[1].

[1] a94a811260

Bug: 66510313
Test: n/a
Change-Id: Ic46816f7faeb7eb859d47d2942806cb1be63a455
2018-10-31 09:34:49 +08:00
Andreas Gampe
0eed66500c Merge changes I37eb4151,If40a376d,Ic43b5cc6,Iaa9f304c am: 82f245e9d6
am: 9983327446

Change-Id: Ifa473b7601fc1414bec2f2476c9514f78300b8d4
2018-10-30 14:45:41 -07:00
Andreas Gampe
9983327446 Merge changes I37eb4151,If40a376d,Ic43b5cc6,Iaa9f304c
am: 82f245e9d6

Change-Id: Id3a05f509395ee986bd6a8708814910651788765
2018-10-30 14:41:57 -07:00
Andreas Gampe
82f245e9d6 Merge changes I37eb4151,If40a376d,Ic43b5cc6,Iaa9f304c
* changes:
  Symbol: Add presubmit testing
  NativeHeapDumpViewer: Add tests to presubmit
  NativeHeapDumpViewer: Python 3 compatibility
  Symbol: Python 3 compatibility
2018-10-30 21:22:03 +00:00
Andreas Gampe
e547eb3c9b Symbol: Add presubmit testing
Add symbol's unit tests to presubmit.

Test: atest python-symbol_test
Change-Id: I37eb4151365507ab2a95d7789408504cca78153c
2018-10-30 11:03:17 -07:00
Andreas Gampe
3ee240c6c3 NativeHeapDumpViewer: Add tests to presubmit
Add native_heapdump_viewer_tests to presubmit.

Test: atest python-native_heapdump_viewer_test
Change-Id: If40a376d160e774ef357d9ba2a86b40f6f7d05f0
2018-10-30 11:03:17 -07:00
Andreas Gampe
547631e12a NativeHeapDumpViewer: Python 3 compatibility
Fix some minor compat issues. Also clean up file close.

Test: native_heapdump_viewer_tests
Change-Id: Ic43b5cc61f26dd11fffe4e9b7a06056e4ed1c676
2018-10-30 11:03:17 -07:00
Andreas Gampe
9240b454cc Symbol: Python 3 compatibility
Fix some minor issues.

Test: symbol test
Change-Id: Iaa9f304c079abfc26212de8213fba38f4e311ec1
2018-10-30 11:03:17 -07:00
junyulai
cb1339fd47 Add C++ support for coding style check tool.
Test: manually run this script on both C++ & Java commits
Change-Id: I92f2d89fbe956a04f9547657b7b17357575fb4af
2018-10-30 10:17:14 +08:00
Glenn Kasten
a01f0c4df6 Fix spelling typos
Test: generate library change
Change-Id: If54204a6f7b625e5884a688fa20747315a250543
2018-10-26 13:41:38 -07:00
Justin Yun
20c56311c2 Merge "Unzip bin and libs from otatools.zip for build_mixed" am: 19bb9e6731
am: 5335783cbd

Change-Id: Ib1de9ddccf05e6b15419eee30bd8591ca281c7dd
2018-10-26 08:06:19 -07:00
Justin Yun
5335783cbd Merge "Unzip bin and libs from otatools.zip for build_mixed"
am: 19bb9e6731

Change-Id: I874639e904bc127fdd9179a7278b38f0bf89d2ca
2018-10-26 08:02:12 -07:00
Treehugger Robot
19bb9e6731 Merge "Unzip bin and libs from otatools.zip for build_mixed" 2018-10-26 14:48:56 +00:00
Justin Yun
ec96edb752 Unzip bin and libs from otatools.zip for build_mixed
For build_mixed, only "bin" and "lib64" are required from the
otatools.zip.
Instead of unzipping all files, unzip only the required files from
the otatools.zip.

Also update the usage for -t option.

Bug: 112732863
Test: build_mixed -v 9 -m modify_system_img.sh -p vbmeta.img \
                  -t otatools.zip system product dist checkvintf

Change-Id: I32af5459f6872f15cda01628387357b8e7492609
2018-10-26 12:21:24 +09:00
huans
ba9534e74c Merge "Add feature flag for HWC2" am: 51af54dea4
am: 05e5589c0f

Change-Id: Ia76ff984c6553bb9db47a7a4f82b34aeaa00d0a9
2018-10-24 19:19:55 -07:00
Bill Yi
9079d7b217 [automerger skipped] Merge pie-platform-release to aosp-master - DO NOT MERGE am: b366682def -s ours
am: 48f279a9e2  -s ours

Change-Id: Id204186d0f12e7a879803e4c6167f2c42de4c37b
2018-10-24 18:11:02 -07:00
huans
05e5589c0f Merge "Add feature flag for HWC2"
am: 51af54dea4

Change-Id: I4919553078bfd7c9e2e4e610a74d7d4d8a6c46c7
2018-10-24 16:27:34 -07:00