aboutsummaryrefslogtreecommitdiffstats
path: root/Android.bp
Commit message (Collapse)AuthorAgeFilesLines
* Mark libevent as recovery_available for update_engine_sideloadandroid-o-mr1-iot-release-smart-display-r9android-o-mr1-iot-release-smart-display-r8android-o-mr1-iot-release-smart-display-r5android-o-mr1-iot-release-smart-display-r4android-o-mr1-iot-release-smart-display-r22android-o-mr1-iot-release-smart-display-r14android-o-mr1-iot-release-smart-clock-r6android-o-mr1-iot-release-smart-clock-r2android-o-mr1-iot-release-smart-clock-fsiandroid-o-mr1-iot-release-smart-clock-fcsandroid-n-iot-release-ihome-igv1nougat-iot-releaseDan Willemsen2018-10-231-0/+1
| | | | | Test: build update_engine_sideload Change-Id: I6d2a5ca2a6bd121b9bae9d9d5690d545ab11d1ef
* Use target.linux for all linux kernel based targetsDan Willemsen2017-10-161-5/+1
| | | | | | | | | | Now in Android.bp files, target.linux applies to all targets running a linux kernel (android, linux_glibc, linux_bionic). So common flags/sources/etc can be combined instead of copying them to each target. Test: m Change-Id: I621d6be4c06a5ec5bc8c337fff28b5e7bae28927
* Rename target.linux[_x86[_64]] to target.linux_glibc[_x86[_64]]Dan Willemsen2017-10-021-1/+1
| | | | | | | | | | | | | | In the future, target.linux will apply to all targets running a linux kernel (android, linux_glibc, linux_bionic). So move all current users to the specific linux_glibc. There will be another cleanup pass later that will move some instances back to target.linux if the properties should be shared with target.android and target.linux_bionic, but target.linux needs to be removed first. Test: out/soong/build.ninja identical before/after Change-Id: I8216651b226e9b475dccb2497abf2dd6f9391bee Exempt-From-Owner-Approval: build system cleanup
* Remove default librariesDan Willemsen2017-09-281-1/+0
| | | | | | | | | | 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 Change-Id: Ie73147c21d3fd49630b78edfcdff41d1dc03e49b Exempt-From-Owner-Approval: build system cleanup
* Merge "Revert "Revert "Upgrade to 2.1.8-stable (2017-01-22)." and "Probably ↵Narayan Kamath2017-09-141-0/+3
|\ | | | | | | Mac build fix?"""
| * Revert "Revert "Upgrade to 2.1.8-stable (2017-01-22)." and "Probably Mac ↵Narayan Kamath2017-09-131-0/+3
| | | | | | | | | | | | | | | | | | | | | | build fix?"" This reverts commit 83a0c9c65a60a92d3ea5542596b3ba56db492c37. Bug: 64543673 Test: make checkbuild Test: Manual tombstoned test Change-Id: I84bb128d1dec433195f2cbdbf70236ba17fa9955
* | Mark the module as VNDK or VNDK-SP in Android.bpJustin Yun2017-09-071-0/+3
|/ | | | | | | | | | | | | | | | | | 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: I82e0d42be49ab578d8797d596e9915a60900bb47 Change-Id: I82e0d42be49ab578d8797d596e9915a60900bb47 (cherry picked from commit 9f3cfa4a068b94cead9271ae831d4b8bcf9abbbf)
* Revert "Upgrade to 2.1.8-stable (2017-01-22)." and "Probably Mac build fix?"android-o-iot-preview-5o-iot-preview-5Josh Gao2017-08-101-3/+0
| | | | | | | | This reverts commits 2a572d125a91a4aafd3ad8ce87259fc640fa0763 and af241a5c8c2cde0fab7d7d563276c1095b00e3b4, which break tombstoned. Bug: http://b/64543673 Test: manual + treehugger
* Upgrade to 2.1.8-stable (2017-01-22).Elliott Hughes2017-08-071-0/+3
| | | | | | Bug: N/A Test: builds Change-Id: Idbbdc1db3d01984a4f4b60f8fdf455140b6b7ca6
* Mark as vendor_availableandroid-wear-o-preview-4android-wear-o-preview-3android-o-preview-4android-o-preview-3android-o-preview-2android-n-iot-preview-4n-iot-preview-4Dan Willemsen2017-04-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: I3aef3b8f6b7e5eba3e6036a460faf0ca6fc301d3
* Enable libevent on linux_bionic buildsandroid-n-mr2-preview-2Dan Willemsen2017-03-151-0/+4
| | | | | | Bug: 31559095 Test: Enable host bionic, run soong Change-Id: I843c22dc2647d5c60e27812171411359486c0dce
* Add missing host ldlibsColin Cross2016-10-201-0/+1
| | | | | | | | | Host builds were compiling without -Wl,--no-undefined. Add missing host ldlibs so that -Wl,--no-undefined can be added again. Test: m -j host Bug: 32305815 Change-Id: I186dcf9f93d93e1ec2d2b83f18aa334fdfda99f1
* Build static libraries for libevent on host and device.Yabin Cui2016-07-261-1/+1
| | | | | | | It is used by simpleperf. Bug: http://b/30405638 Change-Id: I3fa75ab5f36b2153fd5e72e05e3d054ff35d864e
* Move host library name back to libevent-host.soDan Willemsen2016-07-221-0/+1
| | | | | | | | | | There is an argument that this prevents us from using a system provided library when we intended to use our own. The build system now supports 'unique_host_soname: true' to automatically do this renaming for host libraries, while still using 'libevent' as the reference within the build files. Change-Id: Iefbb7b8f46dbe951d05d9bda262af7998bbc6929
* Convert Android.mk to Android.bpDan Willemsen2016-07-131-0/+74
Change-Id: I1f9740164c690c420e77c9194e2b2addca616e7b