aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-10-26Fix compilation errorstudio-3.1.2gradle_3.1.2android-9.0.0_r47android-9.0.0_r46android-9.0.0_r45android-9.0.0_r44android-9.0.0_r43android-9.0.0_r42android-9.0.0_r41android-9.0.0_r40android-9.0.0_r39android-9.0.0_r38android-9.0.0_r37android-9.0.0_r36android-9.0.0_r35android-9.0.0_r34android-9.0.0_r33android-9.0.0_r32android-9.0.0_r31android-9.0.0_r30android-9.0.0_r22android-9.0.0_r21android-9.0.0_r20android-9.0.0_r19android-9.0.0_r16android-9.0.0_r12android-9.0.0_r11pie-qpr3-s1-releasepie-qpr3-releasepie-qpr3-b-releasepie-qpr2-releasepie-qpr1-s3-releasepie-qpr1-s2-releasepie-qpr1-s1-releasepie-qpr1-releasepie-dr1-releasepie-dr1-devpie-devpie-b4s4-releasepie-b4s4-devEugene Zemtsov
Fix error when compiled without LZMA support. Test: N/A Change-Id: I0db4630c398e9e91de93b51378485bdcdcc66b4e
2017-10-19libunwind is not directly available to vendors am: 506316be20 am: 64403ab46f ↵Jiyong Park
am: c4b010f5d6 am: 41ba0e90f3 Change-Id: I0191c0df658d67d121c8f72f1cdf9d4f2ba7a208
2017-10-19libunwind is not directly available to vendors am: 506316be20 am: 64403ab46fandroid-wear-8.0.0_r1android-p-preview-1android-o-mr1-iot-preview-8android-o-mr1-iot-preview-7android-n-iot-release-lg-thinq-wk7o-mr1-iot-preview-8o-mr1-iot-preview-7Jiyong Park
am: c4b010f5d6 Change-Id: I89355fcccbce16b0466b3efbc2e46e7320d39f08
2017-10-19libunwind is not directly available to vendors am: 506316be20Jiyong Park
am: 64403ab46f Change-Id: I65af4611de948b88d38175d1423f731d6abd1e4f
2017-10-19libunwind is not directly available to vendorsandroid-o-mr1-iot-preview-6o-mr1-iot-preview-6Jiyong Park
am: 506316be20 Change-Id: I9a016b85d864b3399a68267d127bec48fbc69b65
2017-10-16libunwind is not directly available to vendorsJiyong Park
This lib is behind libbacktrace which is again behind libutils.so. This lib is a member of VNDK but is not intented to be used directly by vendors. Furthermore, libunwindbacktrace no longer includes libunwind. This is because libunwindbacktrace which is a vendor_available:true library cannot depend on libunwind which is not available to vendors. Instead of including libunwind inside libunwindbacktrace, libunwind is explicitly added to the dependency list along with libunwindbacktrace when libunwindbacktrace is required by other modules. (see libcompiler_rt) Bug: 64730695 Test: build 2017 pixel device Change-Id: I3fd2eb25efa26dc5fc55d7e64c8f4e9ab13156ea
2017-09-29Remove default libraries am: dfc348fb2b am: 6ea7417777 am: 9e2a5fd924Dan Willemsen
am: 40758bb025 Change-Id: I8aaf5a8c1673c153c83fa8f37e980ec7e2a70704
2017-09-29Remove default libraries am: dfc348fb2b am: 6ea7417777Dan Willemsen
am: 9e2a5fd924 Change-Id: I782eebe0574ecba91c7ccce4e8a489b7966d1f40
2017-09-29Remove default libraries am: dfc348fb2bDan Willemsen
am: 6ea7417777 Change-Id: I395e92856609753f068a68f92efe3632a4e79c09
2017-09-29Remove default librariesDan Willemsen
am: dfc348fb2b Change-Id: I154df01ea4c44b538235c2a6dc133474dfd00654
2017-09-28Remove default librariesDan Willemsen
libdl is part of system_shared_libs now. -ldl -lpthread -lm are now defaults for host_ldlibs on Linux and Darwin. -lrt is a default for host_ldlibs on Linux. Test: m host Test: objdump -x out/host/linux-x86/lib64/libunwind.so Test: nm -a out/host/linux-x86/lib64/libunwind.so | grep __CTOR_END__ Change-Id: I1ae950ef49f741d4df649405449d01f3f16f8ef1
2017-08-23Mark the module as VNDK or VNDK-SP in Android.bp am: 98996149c9 am: ↵Justin Yun
f868a31f16 am: 27c9315e6c -s ours am: fe8be1e7a3 -s ours Change-Id: Id3676dcf137152507528073cd1ae3aa5352189d0
2017-08-23Mark the module as VNDK or VNDK-SP in Android.bp am: 98996149c9 am: f868a31f16Justin Yun
am: 27c9315e6c -s ours Change-Id: Iac43a35ba34ffe48ba82f7d6fc1ecf08df2671ea
2017-08-23Mark the module as VNDK or VNDK-SP in Android.bp am: 98996149c9Justin Yun
am: f868a31f16 Change-Id: Ia432cbae2b086b1006299cb7b95dbb0e7e6e31f9
2017-08-23Mark the module as VNDK or VNDK-SP in Android.bpJustin Yun
am: 98996149c9 Change-Id: Ie47833d72ae4d56608dd2451e6ab92b8284bee56
2017-08-23Mark the module as VNDK or VNDK-SP in Android.bpandroid-o-mr1-preview-2android-o-mr1-preview-1Justin Yun
As a VNDK/VNDK-SP module, Android.bp must have 'vndk' tag as well as 'vendor_available: true'. For a VNDK module, the 'vndk' tag has 'enabled: true'. It will be installed system/lib(64)/vndk as a vendor variant. For a VNDK-SP module, the 'vndk' tag has 'support_system_process: true' as well as 'enabled: true'. It will be installed system/lib(64)/vndk-sp as a vendor variant. Bug: 63866913 Test: build and boot with BOARD_VNDK_VERSION=current Merged-In: I4517a3995efa91afb7fa21cdc0bc0fb8b088149b Change-Id: I4517a3995efa91afb7fa21cdc0bc0fb8b088149b (cherry picked from commit 50103091feb278697c922c91e097e924753fef9a)
2017-08-07Avoid double-free/double-fclose on error. am: 332513d0d2 am: 6c5b3c3fed am: ↵Elliott Hughes
8d222cd40c am: e1b95886e2 am: 85ec116a32 Change-Id: I6e0ac3d3bd9cc300c56eea42875aa96e508552d3
2017-08-07Avoid double-free/double-fclose on error. am: 332513d0d2 am: 6c5b3c3fed am: ↵Elliott Hughes
8d222cd40c am: e1b95886e2 Change-Id: I0e8ccab4919e422d344ed34fce8bb3b81b1d1378
2017-08-07Avoid double-free/double-fclose on error. am: 332513d0d2 am: 6c5b3c3fedElliott Hughes
am: 8d222cd40c Change-Id: I67608072a9309cbf325071c006a1d517e8583d3b
2017-08-07Avoid double-free/double-fclose on error. am: 332513d0d2Elliott Hughes
am: 6c5b3c3fed Change-Id: Id5010c945118920f54086d1a58ba2a671fe6b06f
2017-08-07Avoid double-free/double-fclose on error.Elliott Hughes
am: 332513d0d2 Change-Id: I2832823edc5f85e3308f44e306b285aa83d094cc
2017-08-07Avoid double-free/double-fclose on error.android-o-iot-preview-5o-iot-preview-5Elliott Hughes
Bug: N/A Test: builds Change-Id: I7d55b0b33cc44861ef22450afe68d421bde3f57a Signed-off-by: Ivan Maidanski <i.maidanski@samsung.com>
2017-08-03Mark the module as VNDK or VNDK-SP in Android.bp am: 50103091feJustin Yun
am: d010ccceba Change-Id: Ic0d89bd84d04c599b5f523d8f023e72fa74a220f
2017-08-03Mark the module as VNDK or VNDK-SP in Android.bpJustin Yun
am: 50103091fe Change-Id: Id7c293c2a98017b50c52cfd322c6339a455a9516
2017-07-25Mark the module as VNDK or VNDK-SP in Android.bporeo-mr1-devJustin Yun
As a VNDK/VNDK-SP module, Android.bp must have 'vndk' tag as well as 'vendor_available: true'. For a VNDK module, the 'vndk' tag has 'enabled: true'. It will be installed system/lib(64)/vndk as a vendor variant. For a VNDK-SP module, the 'vndk' tag has 'support_system_process: true' as well as 'enabled: true'. It will be installed system/lib(64)/vndk-sp as a vendor variant. Bug: 63866913 Test: build and boot with BOARD_VNDK_VERSION=current Change-Id: I4517a3995efa91afb7fa21cdc0bc0fb8b088149b
2017-06-13Avoid using arg pointer. am: 76a0b9f6a9 am: 7162c82740 am: 3169fc88c8Christopher Ferris
am: 3d5ff8ecfa Change-Id: If9c5eda9b3348bbacba66aea8d2db9d35827d7fb
2017-06-13Avoid using arg pointer. am: 76a0b9f6a9 am: 7162c82740Christopher Ferris
am: 3169fc88c8 Change-Id: Ie4057e507eee470c3e0759b23287b7f78c95c818
2017-06-13Avoid using arg pointer. am: 76a0b9f6a9Christopher Ferris
am: 7162c82740 Change-Id: I73739fa39a5d4b2b54ccc09b63f1b030e0eee8b6
2017-06-13Avoid using arg pointer.Christopher Ferris
am: 76a0b9f6a9 Change-Id: I91f3f953eb9dd26ba7d010dcdecf6b4c9d3e5a31
2017-06-06Avoid using arg pointer.android-o-preview-4Christopher Ferris
The arg pointer is not really a struct cursor*, so skip the check altogether and do the checks if CONSERVATIVE_CHECKS is defined. Bug: 62350406 Test: Built art and ran test/testrunner/testrunner.py -b --host -t 137 Test: after removing the known failure. Verified before the fix, the test Test: fails and after the fix, the test passes. Change-Id: I4c9999e3292e469cb96080192027a2fc5ef9c857
2017-04-28Work around reversed architecture specific includes am: adfc0a1a32 am: ↵oreo-dr1-devColin Cross
e5e4c49907 am: 1c444ad862 am: 005d9401da Change-Id: I66c9354f7360def6a1225f77fc5a2748b13b7d09
2017-04-27Work around reversed architecture specific includes am: adfc0a1a32 am: ↵Colin Cross
e5e4c49907 am: 1c444ad862 Change-Id: I896f8868e70395fca3ff9ac2649fb8ede6893ff1
2017-04-27Work around reversed architecture specific includes am: adfc0a1a32Colin Cross
am: e5e4c49907 Change-Id: I9f06803d1d1b18036d0a7e1993746e1a36f96837
2017-04-27Work around reversed architecture specific includesColin Cross
am: adfc0a1a32 Change-Id: I27766bd2683bf4b968ffbcfc99dbd65dd152d468
2017-04-26Work around reversed architecture specific includesandroid-wear-o-preview-4android-wear-o-preview-3android-o-preview-3android-o-preview-2android-n-iot-preview-4n-iot-preview-4Colin Cross
Soong is changing to prepend architecture specific include directories to the shared include directories. This breaks libunwind, which expects to find include/libunwind_i.h before include/tdep-<arch>/libunwind_i.h. To keep the includes in the right order, pass "include" as an architecture specific include for every architecture. Test: mega device build Change-Id: I71626492c9b853414d853cd02de832fd30333896
2017-04-13Mark as vendor_available am: f4c419ec42Dan Willemsen
am: bb8d41b644 Change-Id: I2e6c7c495aed4451845374f9febf989ddbba10e1
2017-04-12Mark as vendor_availableDan Willemsen
am: f4c419ec42 Change-Id: Ibcc7c6f8a49efa551242d1b0548003ba4ac00293
2017-04-12Mark as vendor_available am: 5626fc0816 am: 8d643497ec am: 0bda927d40Dan Willemsen
am: 59e32437b0 Change-Id: I8db722b3646bf9284e0747f19f9ce26c170f198a
2017-04-12Mark as vendor_available am: 5626fc0816 am: 8d643497ecDan Willemsen
am: 0bda927d40 Change-Id: I2cf3f524d7951bb3eb9d53233169a88cd373fe07
2017-04-12Mark as vendor_available am: 5626fc0816Dan Willemsen
am: 8d643497ec Change-Id: I4cd9f0de9296c5295482704ec9063e19ae5695cd
2017-04-12Mark as vendor_availableDan Willemsen
am: 5626fc0816 Change-Id: I43f162d74bc6e4d3eb3b681c86dc45f89c545e12
2017-04-11Mark as vendor_availableandroid-vts-8.0_r9android-vts-8.0_r8android-vts-8.0_r7android-vts-8.0_r6android-vts-8.0_r2android-vts-8.0_r13android-vts-8.0_r12android-vts-8.0_r11android-vts-8.0_r10android-vts-8.0_r1android-security-8.0.0_r54android-security-8.0.0_r53android-security-8.0.0_r52android-cts-8.0_r9android-cts-8.0_r8android-cts-8.0_r7android-cts-8.0_r6android-cts-8.0_r5android-cts-8.0_r4android-cts-8.0_r3android-cts-8.0_r26android-cts-8.0_r25android-cts-8.0_r24android-cts-8.0_r23android-cts-8.0_r22android-cts-8.0_r21android-cts-8.0_r20android-cts-8.0_r2android-cts-8.0_r19android-cts-8.0_r18android-cts-8.0_r17android-cts-8.0_r16android-cts-8.0_r15android-cts-8.0_r14android-cts-8.0_r13android-cts-8.0_r12android-cts-8.0_r11android-cts-8.0_r10android-cts-8.0_r1android-8.0.0_r9android-8.0.0_r7android-8.0.0_r51android-8.0.0_r50android-8.0.0_r49android-8.0.0_r48android-8.0.0_r47android-8.0.0_r46android-8.0.0_r45android-8.0.0_r44android-8.0.0_r43android-8.0.0_r42android-8.0.0_r41android-8.0.0_r40android-8.0.0_r4android-8.0.0_r39android-8.0.0_r38android-8.0.0_r37android-8.0.0_r36android-8.0.0_r35android-8.0.0_r32android-8.0.0_r31android-8.0.0_r30android-8.0.0_r3android-8.0.0_r29android-8.0.0_r28android-8.0.0_r2android-8.0.0_r17android-8.0.0_r16android-8.0.0_r15android-8.0.0_r13android-8.0.0_r12android-8.0.0_r11android-8.0.0_r10android-8.0.0_r1security-oc-releaseoreo-vts-releaseoreo-security-releaseoreo-releaseoreo-r6-releaseoreo-r5-releaseoreo-r4-releaseoreo-r3-releaseoreo-r2-releaseoreo-devoreo-cts-releaseDan Willemsen
By setting vendor_available, the following may become true: * a prebuilt library from this release may be used at runtime by in a later releasse (by vendor code compiled against this release). so this library shouldn't depend on runtime state that may change in the future. * this library may be loaded twice into a single process (potentially an old version and a newer version). The symbols will be isolated using linker namespaces, but this may break assumptions about 1 library in 1 process (your singletons will run twice). Background: This means that these modules may be built and installed twice -- once for the system partition and once for the vendor partition. The system version will build just like today, and will be used by the framework components on /system. The vendor version will build against a reduced set of exports and libraries -- similar to, but separate from, the NDK. This means that all your dependencies must also mark vendor_available. At runtime, /system binaries will load libraries from /system/lib*, while /vendor binaries will load libraries from /vendor/lib*. There are some exceptions in both directions -- bionic(libc,etc) and liblog are always loaded from /system. And SP-HALs (OpenGL, etc) may load /vendor code into /system processes, but the dependencies of those libraries will load from /vendor until it reaches a library that's always on /system. In the SP-HAL case, if both framework and vendor libraries depend on a library of the same name, both versions will be loaded, but they will be isolated from each other. It's possible to compile differently -- reducing your source files, exporting different include directories, etc. For details see: https://android-review.googlesource.com/368372 None of this is enabled unless the device opts into the system/vendor split with BOARD_VNDK_VERSION := current. Bug: 36426473 Bug: 36079834 Test: Android-aosp_arm.mk is the same before/after Test: build.ninja is the same before/after Test: build-aosp_arm.ninja is the same before/after Test: attempt to compile with BOARD_VNDK_VERSION := current Merged-In: Ic1c1cfdab14bb24dfb93b6a1ba3d6443e1e3e67e Change-Id: Ic1c1cfdab14bb24dfb93b6a1ba3d6443e1e3e67e
2017-04-10Mark as vendor_availableDan Willemsen
By setting vendor_available, the following may become true: * a prebuilt library from this release may be used at runtime by in a later releasse (by vendor code compiled against this release). so this library shouldn't depend on runtime state that may change in the future. * this library may be loaded twice into a single process (potentially an old version and a newer version). The symbols will be isolated using linker namespaces, but this may break assumptions about 1 library in 1 process (your singletons will run twice). Background: This means that these modules may be built and installed twice -- once for the system partition and once for the vendor partition. The system version will build just like today, and will be used by the framework components on /system. The vendor version will build against a reduced set of exports and libraries -- similar to, but separate from, the NDK. This means that all your dependencies must also mark vendor_available. At runtime, /system binaries will load libraries from /system/lib*, while /vendor binaries will load libraries from /vendor/lib*. There are some exceptions in both directions -- bionic(libc,etc) and liblog are always loaded from /system. And SP-HALs (OpenGL, etc) may load /vendor code into /system processes, but the dependencies of those libraries will load from /vendor until it reaches a library that's always on /system. In the SP-HAL case, if both framework and vendor libraries depend on a library of the same name, both versions will be loaded, but they will be isolated from each other. It's possible to compile differently -- reducing your source files, exporting different include directories, etc. For details see: https://android-review.googlesource.com/368372 None of this is enabled unless the device opts into the system/vendor split with BOARD_VNDK_VERSION := current. Bug: 36426473 Bug: 36079834 Test: Android-aosp_arm.mk is the same before/after Test: build.ninja is the same before/after Test: build-aosp_arm.ninja is the same before/after Test: attempt to compile with BOARD_VNDK_VERSION := current Change-Id: Ic1c1cfdab14bb24dfb93b6a1ba3d6443e1e3e67e
2017-03-24Fix problem finding if in a signal handler. am: 1b47da733e am: b9d4549100Christopher Ferris
am: f4f32399ac Change-Id: I59593e600d6fbf5b6b4d837ca8cb5e4dfa640b2a
2017-03-24Fix problem finding if in a signal handler. am: 1b47da733eChristopher Ferris
am: b9d4549100 Change-Id: I8e3542d04c42e3d22cd7c2b2ca216c52d3c14cc6
2017-03-24Fix problem finding if in a signal handler.Christopher Ferris
am: 1b47da733e Change-Id: I39329e0ba582b8f949c4743385a8534b27ca7b4b
2017-03-23Fix problem finding if in a signal handler.Christopher Ferris
Bug: 34468756 Test: Wrote a new test in system/core/libbacktrace that passes with Test: this fix. Ran all of the other backtrace unit tests. Change-Id: I0be65192f85f05593738a4d3f00c3a2b95d69df5
2016-12-05Move large structure off the stack. am: f7eef920b5Christopher Ferris
am: a51e64dfde Change-Id: Ic7130d8ff4a487571a6953c84d845fcb1f099acf
2016-12-05Move large structure off the stack.Christopher Ferris
am: f7eef920b5 Change-Id: I626d94bcfeee703f9c783c0f8eced9d11666995d
2016-12-05Move large structure off the stack.android-7.1.2_r9android-7.1.2_r8android-7.1.2_r6android-7.1.2_r5android-7.1.2_r4android-7.1.2_r39android-7.1.2_r38android-7.1.2_r37android-7.1.2_r36android-7.1.2_r33android-7.1.2_r32android-7.1.2_r30android-7.1.2_r3android-7.1.2_r29android-7.1.2_r28android-7.1.2_r27android-7.1.2_r25android-7.1.2_r24android-7.1.2_r23android-7.1.2_r2android-7.1.2_r19android-7.1.2_r18android-7.1.2_r17android-7.1.2_r16android-7.1.2_r15android-7.1.2_r14android-7.1.2_r13android-7.1.2_r12android-7.1.2_r11android-7.1.2_r10android-7.1.2_r1nougat-mr2.3-releasenougat-mr2.2-releasenougat-mr2.1-releasenougat-mr2-security-releasenougat-mr2-releasenougat-mr2-pixel-releasenougat-mr2-devChristopher Ferris
The struct unw_addr_space is very large (at least 13624 bytes on arm), but is on the stack in the function map_create_list. Allocate this function when needed instead of putting it on the stack. Bug: 33293182 Test: Built and ran backtrace_test on an angler. Stepped through the Test: modified code and verified it is called and allocated properly. Test: Ran valgrind on the backtrace_test.local_trace to verify that Test: the memory is not leaked. Change-Id: I298e72d6b87d2701111c4659c46246b308f275e9 (cherry picked from commit 50270d3ef2127372c0ae6aefd9be255ab901f573)