Commit Graph

25865 Commits

Author SHA1 Message Date
Logan Chien
b4e8e94a77 Merge "Build header-abi-dumper with clang-r339409b"
am: 051eabbbe6

Change-Id: Ic34eed3a1b2ae84b36c0c061318cfa93edc7e9b1
2018-10-11 20:32:03 -07:00
Logan Chien
051eabbbe6 Merge "Build header-abi-dumper with clang-r339409b" 2018-10-12 03:17:19 +00:00
Jayant Chowdhary
638f53cbfb Build header-abi-dumper with clang-r339409b
Bug: 111579848
Test: header-abi-dumper builds with clang-r339409b prebuilts
Test: create_reference_dumps.py
Change-Id: I7b762548fe586398f98ff05767307c6d71103434
2018-10-12 02:09:37 +00:00
Dan Willemsen
d8929f3cb1 Merge "Clean up sdk building, use built xmllint" am: 1d53d4e194
am: d87a6cc4be

Change-Id: I20a563fb4d0695a1b4dd8781470a22c686f6dec8
2018-10-11 14:04:21 -07:00
Dan Willemsen
d87a6cc4be Merge "Clean up sdk building, use built xmllint"
am: 1d53d4e194

Change-Id: I47b57da8e4b73393387f899051c67561d7934fe1
2018-10-11 13:43:47 -07:00
Treehugger Robot
1d53d4e194 Merge "Clean up sdk building, use built xmllint" 2018-10-11 20:24:01 +00:00
Dan Willemsen
f0407b3cb8 Clean up sdk building, use built xmllint
Instead of relying on xmllint from the path, with could come from the
host, or sometimes a built version, always use the built version
explicitly.

This does some general cleanup of these make rules as well, using fewer
global variables inside make rules, and cleaning variables up at the end
of the file. I added some missing dependencies and removed some uses of
$(TOPDIR) too.

I did not clean up the uses of `zip` that make these rules
non-deterministic, but I filed b/117562080 for that, since it could use
some larger refactoring.

Test: lunch sdk_arm64-userdebug; m sdk sdk_repo dist
Change-Id: Ia0736d5fc7475603cf31f385b3ada11d9e775259
2018-10-10 21:21:20 -07:00
Jack He
3b3805d851 Merge "Remove BluetoothDevice.ACTION_DISAPPEARED" am: 2411e46a1c
am: 8166b7f309

Change-Id: I91754af34cafd8ea2924b6ccd84c1a65e77c165b
2018-10-10 19:28:01 -07:00
Jack He
8166b7f309 Merge "Remove BluetoothDevice.ACTION_DISAPPEARED"
am: 2411e46a1c

Change-Id: I4eb585b03fe5562603d7bec5756541cebdf6b767
2018-10-10 19:19:50 -07:00
Treehugger Robot
2411e46a1c Merge "Remove BluetoothDevice.ACTION_DISAPPEARED" 2018-10-11 02:01:01 +00:00
Jack He
8d0b9b8da2 Remove BluetoothDevice.ACTION_DISAPPEARED
This intent was never sent by the Bluetooth stack

Bug: 112115770
Test: make
Change-Id: I2df8751022149bcdd815279addb16bea3a2c3638
2018-10-09 21:33:31 -07:00
Mathieu Chartier
5dc39fb5a9 Merge "Prevent "index out of range" crash when addr2line aborts in between" am: 076bd27d03
am: f4b0e44285

Change-Id: I464bc585551a84a5f78535adb2c9ef07844dfab5
2018-10-09 10:21:58 -07:00
Mathieu Chartier
f4b0e44285 Merge "Prevent "index out of range" crash when addr2line aborts in between"
am: 076bd27d03

Change-Id: I715d4a6de7b3ded5b9b9fd2475eb79b3daa04863
2018-10-09 10:17:00 -07:00
Mathieu Chartier
076bd27d03 Merge "Prevent "index out of range" crash when addr2line aborts in between" 2018-10-09 17:04:08 +00:00
Logan Chien
5923931206 Merge "header-checker: Cleanup create_reference_dumps.py" am: c5e05f9d7b
am: aee80499b6

Change-Id: I170751e013209a2a2078dfc44187fcd297965004
2018-10-08 23:54:18 -07:00
Logan Chien
aee80499b6 Merge "header-checker: Cleanup create_reference_dumps.py"
am: c5e05f9d7b

Change-Id: If23c83adc2f99444b338a77abd4fa940429fefc3
2018-10-08 23:46:13 -07:00
Treehugger Robot
c5e05f9d7b Merge "header-checker: Cleanup create_reference_dumps.py" 2018-10-09 06:32:51 +00:00
Logan Chien
7db7ff90d6 Merge "Add owners for build_mixed" am: 3ef462cea6
am: 9f08d26ccc

Change-Id: I802cf3f8ea2e414338904f70c387533f5f08f9d5
2018-10-08 20:41:23 -07:00
Logan Chien
9f08d26ccc Merge "Add owners for build_mixed"
am: 3ef462cea6

Change-Id: Ideeeed88832f4f04369aad6d3e2770194527924a
2018-10-08 20:32:13 -07:00
Logan Chien
6dbbe7bf8d header-checker: Cleanup create_reference_dumps.py
This commit refactors the `main()` function, cleans up several
indentation or spacing errors, and rewrites some code in Pythonic way.

Test: ./tests/test.py
Test: ./utils/create_reference_dumps.py
Change-Id: Ie654187bff5b5c49b421814efab0e8f308c93fa8
2018-10-09 11:31:09 +08:00
Logan Chien
3ef462cea6 Merge "Add owners for build_mixed" 2018-10-09 03:14:19 +00:00
Shibin George
7e73f7a7b4 Prevent "index out of range" crash when addr2line aborts in between
addr2line may abort and "result" may be incomplete. This leads to
"index out of range" exceptions. Enclose this in a try & except block
and on exception, default to function:location = ---:---

Test: "python native_heapdump_viewer_tests.py" (after CL:780974)
      passes.

BUG: 117306194

Change-Id: I4fd5c784949f279550aec95b68045df4a671da74
2018-10-09 06:21:03 +05:30
Shibin George
b9f002bec8 Merge "native_heapdump_viewer_tests: update ParseNativeHeap() to pass 4 arguments" am: 3a5c7924a3
am: 89fc7d5d8e

Change-Id: Ied3855b5565d8a93d9788096532826d5cd2870da
2018-10-08 10:48:27 -07:00
Shibin George
89fc7d5d8e Merge "native_heapdump_viewer_tests: update ParseNativeHeap() to pass 4 arguments"
am: 3a5c7924a3

Change-Id: I1ee7f0962d6f1258f4d84c424d53d42b94de1dda
2018-10-08 10:40:14 -07:00
Treehugger Robot
3a5c7924a3 Merge "native_heapdump_viewer_tests: update ParseNativeHeap() to pass 4 arguments" 2018-10-08 17:26:42 +00:00
Logan Chien
1c00eca553 Merge "header-checker: Generate ABI dumps w/o gzip" am: 7bf00c1540
am: dfd21e99a4

Change-Id: I8f1f8102fcfeadd95f09f9d2bdcb48d7c95accc5
2018-10-08 04:39:50 -07:00
Logan Chien
dfd21e99a4 Merge "header-checker: Generate ABI dumps w/o gzip"
am: 7bf00c1540

Change-Id: Ibcf608f3d2fb302080cfa5bac026a7eebc3eb0e6
2018-10-08 04:34:44 -07:00
Treehugger Robot
7bf00c1540 Merge "header-checker: Generate ABI dumps w/o gzip" 2018-10-08 11:25:33 +00:00
Logan Chien
f58bb5f1fe header-checker: Generate ABI dumps w/o gzip
This commit adds an option to generate ABI dumps without compressing
them with gzip.

Bug: 111376916
Test: ./create_reference_dumps.py
Test: ./create_reference_dumps.py --compress
Change-Id: I1ad0781744a9ba6ff34ffed9418576986daeb67d
2018-10-08 16:33:18 +08:00
Logan Chien
e8f39ba170 Add owners for build_mixed
This commit adds justinyun@ to the owner files for `build_mixed`.

Test: n/a
Change-Id: I36d4ac02cb325fcb04ce4dd89db814ce72fe7651
2018-10-08 11:37:44 +08:00
Justin Yun
0643f81e8c Merge "Remove retry routines from mixed_build" am: a3229b0747
am: 5c47b1d190

Change-Id: Id697e9b39b591ff34fbe63c1830e65e19c699249
2018-10-06 09:21:09 -07:00
Justin Yun
5c47b1d190 Merge "Remove retry routines from mixed_build"
am: a3229b0747

Change-Id: Ie9369cf99858bf86033c09bf6cd75bf4df3eef5d
2018-10-06 09:14:02 -07:00
Treehugger Robot
a3229b0747 Merge "Remove retry routines from mixed_build" 2018-10-06 14:39:30 +00:00
Justin Yun
83631d69d8 Remove retry routines from mixed_build
The retry routines are added for testing purpose (aosp/730971).
We may now remove this because it has no effect to remove the flaky
build errors.

Bug: 112250435
Test: build_mixed system_dir device_dir out_dir
Change-Id: Ibdefb7da3188ce42b6cd2deb5e40ad777c2fe5b0
2018-10-06 14:38:52 +00:00
Shibin George
b971e043f7 native_heapdump_viewer_tests: update ParseNativeHeap() to pass 4 arguments
fca3084 introduced an additional argument to ParseNativeHeap().
This CL updates the test to reflect the same.

Test: "python native_heapdump_viewer_tests.py" executes without
      any errors.

Change-Id: I6c196205ead2cb6abd4a646a3ac53e62ae3e5038
2018-10-06 03:54:13 +00:00
Justin Yun
4c5a078c1e Merge "Use prebuilt otatools for mixed build" am: 10fc92d276
am: cd69b1c0dc

Change-Id: I9ed5814f8c1b03058b515b9146fbf493b0f0172a
2018-10-05 01:50:03 -07:00
Justin Yun
cd69b1c0dc Merge "Use prebuilt otatools for mixed build"
am: 10fc92d276

Change-Id: I328526ffc2d62cf49ec359c486688350be1ac850
2018-10-05 01:41:55 -07:00
Treehugger Robot
10fc92d276 Merge "Use prebuilt otatools for mixed build" 2018-10-05 08:29:30 +00:00
Justin Yun
40da678a9f Use prebuilt otatools for mixed build
Enable mixed_build script to use prebuilt otatools for packaging
image files. If we have otatools.zip file, use '-t' option to use
the prebuilt tools instead of building them in mixed branches.

Bug: 112732863
Test: run mixed_build with otatools using the command below:
 $ development/vndk/tools/build_mixed -v 9 \
   -m development/vndk/tools/modify_system_img.sh \
   -p out/prebuilt_cached/artifacts/system/vbmeta.img \
   -t out/prebuilt_cached/artifacts/system/otatools.zip \
   out/prebuilt_cached/artifacts/system \
   out/prebuilt_cached/artifacts/taimen \
   dist \
   out/prebuilt_cached/artifacts/system/checkvintf

Change-Id: I7891a2bad2f4e471baffb987149a39bbbd57f26e
2018-10-05 08:29:05 +00:00
Hsin-Yi Chen
b6daa22d19 Merge "Change default dump format to JSON" am: 963b9c59b3
am: cba7b7d470

Change-Id: I292d7aef8e337bf850d590a385e1bdd4c0c344b9
2018-10-03 19:41:39 -07:00
Hsin-Yi Chen
cba7b7d470 Merge "Change default dump format to JSON"
am: 963b9c59b3

Change-Id: I234dc350277ba4d5f3dde06234781ba8aa695ac3
2018-10-03 19:17:20 -07:00
Hsin-Yi Chen
963b9c59b3 Merge "Change default dump format to JSON" 2018-10-04 01:43:43 +00:00
Hsin-Yi Chen
86bcedcd0c Change default dump format to JSON
Bug: 112877706
Test: ./test.py
Change-Id: I5fd00e75b804a33c982008bc95ea017b480b67cc
2018-10-03 18:05:34 +08:00
android-build-team Robot
38db7cf105 Snap for 5044688 from b0a428fd03 to pi-qpr2-release
Change-Id: Ib95f1790207f199f472b8e55eac13e2d1d1872d4
2018-10-02 22:09:07 +00:00
Hsin-Yi Chen
8ecb7a4c9d Merge "Dump global variables and functions from dynamic symbol table" am: c614b455f2
am: 151f867222

Change-Id: Ie80f041cab607d95413a6a3469d8ec7c0d655012
2018-10-02 02:59:08 -07:00
Hsin-Yi Chen
151f867222 Merge "Dump global variables and functions from dynamic symbol table"
am: c614b455f2

Change-Id: I1f16e36170cb6d30bc4f1568038e20cff44814c5
2018-10-02 02:52:01 -07:00
Hsin-Yi Chen
c614b455f2 Merge "Dump global variables and functions from dynamic symbol table" 2018-10-02 09:33:30 +00:00
Hsin-Yi Chen
e2b86af38a Dump global variables and functions from dynamic symbol table
Bug: 117134474
Test: ./create_reference_dumps.py -products aosp_arm64
Change-Id: Ib00761fad077ec9f3c021233bb8aab6017b882c7
2018-10-02 15:37:22 +08:00
Lorenzo Colitti
fe82e6eba4 Merge changes I1b9dc4d5,I44da96fa am: ee0870d0a2
am: c9ba8a847a

Change-Id: I19a28b527809380f195896cdd13f61007fd38fd9
2018-10-01 21:09:08 -07:00
Lorenzo Colitti
c9ba8a847a Merge changes I1b9dc4d5,I44da96fa
am: ee0870d0a2

Change-Id: I866060252ad6deb9c1dd1f68bdd03113ead866eb
2018-10-01 21:05:08 -07:00