aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-10-17Use target.linux for all linux kernel based targetsandroid-o-mr1-iot-preview-6o-mr1-iot-preview-6Dan Willemsen
am: 98a4ebedce Change-Id: I5bd09d084b8403c8c2462b700f64c5a2698c961a
2017-10-16Use target.linux for all linux kernel based targetsDan Willemsen
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
2017-10-03Rename target.linux[_x86[_64]] to target.linux_glibc[_x86[_64]]Dan Willemsen
am: 707de56c3c Change-Id: I82dd51f8ff45d2130f7e8e58c567e3e5fbbb354d
2017-10-02Rename target.linux[_x86[_64]] to target.linux_glibc[_x86[_64]]Dan Willemsen
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
2017-09-29Remove default librariesDan Willemsen
am: fe51bcc4db Change-Id: Ie77535785b0659daf2c14ac8595b637fa0e19a9c
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 Change-Id: Ie73147c21d3fd49630b78edfcdff41d1dc03e49b Exempt-From-Owner-Approval: build system cleanup
2017-09-14Merge "Revert "Revert "Upgrade to 2.1.8-stable (2017-01-22)." and "Probably ↵Narayan Kamath
Mac build fix?""" am: d78626f7ab Change-Id: If8d11daaa3a8bf7de9f60eae5cbdbda269cc2960
2017-09-14Merge "Revert "Revert "Upgrade to 2.1.8-stable (2017-01-22)." and "Probably ↵Narayan Kamath
Mac build fix?"""
2017-09-14Mark the module as VNDK or VNDK-SP in Android.bpJustin Yun
am: f109eb43e0 Change-Id: I014c1fb8d03771bfb56f20666b841431e5efef51
2017-09-13Revert "Revert "Upgrade to 2.1.8-stable (2017-01-22)." and "Probably Mac ↵Narayan Kamath
build fix?"" This reverts commit 83a0c9c65a60a92d3ea5542596b3ba56db492c37. Bug: 64543673 Test: make checkbuild Test: Manual tombstoned test Change-Id: I84bb128d1dec433195f2cbdbf70236ba17fa9955
2017-09-07Mark the module as VNDK or VNDK-SP in Android.bpJustin 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: I82e0d42be49ab578d8797d596e9915a60900bb47 Change-Id: I82e0d42be49ab578d8797d596e9915a60900bb47 (cherry picked from commit 9f3cfa4a068b94cead9271ae831d4b8bcf9abbbf)
2017-08-10Revert "Upgrade to 2.1.8-stable (2017-01-22)." and "Probably Mac build fix?" ↵Josh Gao
am: 83a0c9c65a am: 9dfd4017ad am: c826852a83 Change-Id: Ie6768eaa734a8468c17d4ca9e3a11369500a633b
2017-08-10Revert "Upgrade to 2.1.8-stable (2017-01-22)." and "Probably Mac build fix?" ↵Josh Gao
am: 83a0c9c65a am: 9dfd4017ad Change-Id: If85b3b43a876a5a47af3511249f6020d74fb8c35
2017-08-10Revert "Upgrade to 2.1.8-stable (2017-01-22)." and "Probably Mac build fix?"android-o-mr1-preview-2android-o-mr1-preview-1Josh Gao
am: 83a0c9c65a Change-Id: I85971d6fea543156667f6d5d04176396c531759f
2017-08-10Revert "Upgrade to 2.1.8-stable (2017-01-22)." and "Probably Mac build fix?"android-o-iot-preview-5o-iot-preview-5Josh Gao
This reverts commits 2a572d125a91a4aafd3ad8ce87259fc640fa0763 and af241a5c8c2cde0fab7d7d563276c1095b00e3b4, which break tombstoned. Bug: http://b/64543673 Test: manual + treehugger
2017-08-09Probably Mac build fix? am: af241a5c8c am: 3a1d885864Elliott Hughes
am: 1c5a871624 Change-Id: Ieff93dcda142ddb701eac7cf85d6f003ab6cb21c
2017-08-09Probably Mac build fix? am: af241a5c8cElliott Hughes
am: 3a1d885864 Change-Id: Id9abd1e042aa31a3267301f53d0d6a328f082df2
2017-08-09Probably Mac build fix?Elliott Hughes
am: af241a5c8c Change-Id: I2dc280d0601d79b48d7bb9a7e05de0b41f41c339
2017-08-09Probably Mac build fix?Elliott Hughes
Bug: N/A Test: N/A Change-Id: Ia8c59a699e9b2780775f8a1c3afb2e3af5389892
2017-08-09Upgrade to 2.1.8-stable (2017-01-22). am: 2a572d125a am: 63e3b66149Elliott Hughes
am: 89f71fbd95 Change-Id: I5fefb5532dba9c26f7b2ae07a05cd8209aee06cf
2017-08-09Upgrade to 2.1.8-stable (2017-01-22). am: 2a572d125aElliott Hughes
am: 63e3b66149 Change-Id: I962ad5e7c1c6de4fbfefd1c666a5fb8146459939
2017-08-09Upgrade to 2.1.8-stable (2017-01-22).Elliott Hughes
am: 2a572d125a Change-Id: I581ad152167e9e035898d7e5968783f4552dded4
2017-08-07Upgrade to 2.1.8-stable (2017-01-22).Elliott Hughes
Bug: N/A Test: builds Change-Id: Idbbdc1db3d01984a4f4b60f8fdf455140b6b7ca6
2017-04-13Mark as vendor_available am: c86ec64f26oreo-dr1-devDan Willemsen
am: 7f95a9fe80 Change-Id: Ic52a77c29130477567d0f26956baf6520a7b39dc
2017-04-12Mark as vendor_availableDan Willemsen
am: c86ec64f26 Change-Id: I714c7ff17f93d9ae95d37340b1862559482197d6
2017-04-12Mark as vendor_available am: 596447c7ff am: f3e6fea61d am: 84acae10c9Dan Willemsen
am: c8c083d034 Change-Id: Iec93f29d791cf9c3fbc35d38ddfcbcc75ee9489d
2017-04-12Mark as vendor_available am: 596447c7ff am: f3e6fea61dDan Willemsen
am: 84acae10c9 Change-Id: I97083c5b629b843b1bc29ce16d0a833132f7102a
2017-04-12Mark as vendor_available am: 596447c7ffDan Willemsen
am: f3e6fea61d Change-Id: I743fba95a8ae1202ff3414eafdb94e5b09a1ee5c
2017-04-12Mark as vendor_availableDan Willemsen
am: 596447c7ff Change-Id: I4f3eb943cf78b554dee380d2e145a1c2669090e9
2017-04-11Mark as vendor_availableandroid-vts-8.0_r2android-vts-8.0_r1oreo-devDan 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: I3aef3b8f6b7e5eba3e6036a460faf0ca6fc301d3 Change-Id: I3aef3b8f6b7e5eba3e6036a460faf0ca6fc301d3
2017-04-10Mark 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 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: I3aef3b8f6b7e5eba3e6036a460faf0ca6fc301d3
2017-03-16Enable libevent on linux_bionic builds am: 520e022201 am: fce43d3b06Dan Willemsen
am: 3f34c2084f Change-Id: Ie756f4b89057de1f3cb7161c9b1752da0577a5f0
2017-03-16Enable libevent on linux_bionic builds am: 520e022201Dan Willemsen
am: fce43d3b06 Change-Id: I85fa6c9082353e1006e6886710884a229184e891
2017-03-16Enable libevent on linux_bionic buildsDan Willemsen
am: 520e022201 Change-Id: I36cb3434d3c1a95e60d916d31dfc0806ce5c1feb
2017-03-15Enable libevent on linux_bionic buildsandroid-n-mr2-preview-2Dan Willemsen
Bug: 31559095 Test: Enable host bionic, run soong Change-Id: I843c22dc2647d5c60e27812171411359486c0dce
2016-10-20Add missing host ldlibs am: e6958d7c60 am: 2730e7ae9dColin Cross
am: 308e6c93eb Change-Id: I14e68af69a5eedb364de7c8ba5df3ab70887f312
2016-10-20Add missing host ldlibs am: e6958d7c60Colin Cross
am: 2730e7ae9d Change-Id: Ia0ff6ccd458f54cb30e67a685daa468b717dd40b
2016-10-20Add missing host ldlibsandroid-o-preview-1android-n-mr2-preview-1o-previewColin Cross
am: e6958d7c60 Change-Id: If3489061f6124a74120f48304f62c5d775492887
2016-10-20Add missing host ldlibsColin Cross
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
2016-08-12DO NOT MERGE: Build static libevent for the target. am: 96109b593a -s oursAlex Deymo
am: c706e2cc9e -s ours Change-Id: I592f36beaf6b753c0fbb145c27c95989d3e62dc8
2016-08-12DO NOT MERGE: Build static libevent for the target.Alex Deymo
am: 96109b593a -s ours Change-Id: I46a6c662495330648156834778436a9a9f5aa70b
2016-08-12DO NOT MERGE ANYWHERE: Build static libevent for the target. am: a5dd84c710 ↵Alex Deymo
-s ours am: 5fb7f7dc8f -s ours am: 94b2016f4c -s ours Change-Id: I5404cff92cf915dacc04a8e320a7b9c0c1570d40
2016-08-12DO NOT MERGE ANYWHERE: Build static libevent for the target. am: a5dd84c710 ↵Alex Deymo
-s ours am: 5fb7f7dc8f -s ours Change-Id: I95872c0e077fa0dcde4c5f0d9b6df7b12f9d0855
2016-08-12DO NOT MERGE: Build static libevent for the target.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-devAlex Deymo
libevent is already built as a static library in master since it was converted to a .bp file. This patch builds it as a static library using the legacy .mk file in this branch. Bug: 27178350 Change-Id: Ic677b45a5ba806f688d766265f746be33dde7409 Cherry-pick needed on this branch but not on the downstream ones. (cherry picked from commit a5dd84c71082d993bd8273d674daf89e4e9853a7) Change-Id: Ied4bae6a46a48929b142cab8dfbcd325cf09ff18
2016-08-12DO NOT MERGE ANYWHERE: Build static libevent for the target.Alex Deymo
am: a5dd84c710 -s ours Change-Id: I81df3d3eb291ab3b64e35f70fb709a12233cbd53
2016-08-01DO NOT MERGE ANYWHERE: Build static libevent for the target.android-cts_7.1_r1android-cts-7.1_r9android-cts-7.1_r8android-cts-7.1_r7android-cts-7.1_r6android-cts-7.1_r5android-cts-7.1_r4android-cts-7.1_r3android-cts-7.1_r29android-cts-7.1_r28android-cts-7.1_r27android-cts-7.1_r26android-cts-7.1_r25android-cts-7.1_r24android-cts-7.1_r23android-cts-7.1_r22android-cts-7.1_r21android-cts-7.1_r20android-cts-7.1_r2android-cts-7.1_r19android-cts-7.1_r18android-cts-7.1_r17android-cts-7.1_r16android-cts-7.1_r15android-cts-7.1_r14android-cts-7.1_r13android-cts-7.1_r12android-cts-7.1_r11android-cts-7.1_r10android-cts-7.1_r1android-7.1.1_r9android-7.1.1_r8android-7.1.1_r7android-7.1.1_r61android-7.1.1_r60android-7.1.1_r6android-7.1.1_r59android-7.1.1_r58android-7.1.1_r57android-7.1.1_r56android-7.1.1_r55android-7.1.1_r54android-7.1.1_r53android-7.1.1_r52android-7.1.1_r51android-7.1.1_r50android-7.1.1_r49android-7.1.1_r48android-7.1.1_r47android-7.1.1_r46android-7.1.1_r45android-7.1.1_r44android-7.1.1_r43android-7.1.1_r42android-7.1.1_r41android-7.1.1_r40android-7.1.1_r4android-7.1.1_r39android-7.1.1_r38android-7.1.1_r35android-7.1.1_r33android-7.1.1_r32android-7.1.1_r31android-7.1.1_r3android-7.1.1_r28android-7.1.1_r27android-7.1.1_r26android-7.1.1_r25android-7.1.1_r24android-7.1.1_r23android-7.1.1_r22android-7.1.1_r21android-7.1.1_r20android-7.1.1_r2android-7.1.1_r17android-7.1.1_r16android-7.1.1_r15android-7.1.1_r14android-7.1.1_r13android-7.1.1_r12android-7.1.1_r11android-7.1.1_r10android-7.1.1_r1android-7.1.0_r7android-7.1.0_r6android-7.1.0_r5android-7.1.0_r4android-7.1.0_r3android-7.1.0_r2android-7.1.0_r1nougat-mr1.8-releasenougat-mr1.7-releasenougat-mr1.6-releasenougat-mr1.5-releasenougat-mr1.4-releasenougat-mr1.3-releasenougat-mr1.2-releasenougat-mr1.1-releasenougat-mr1-volantis-releasenougat-mr1-security-releasenougat-mr1-releasenougat-mr1-flounder-releasenougat-mr1-devnougat-mr1-cts-releasenougat-dr1-releaseAlex Deymo
libevent is already built as a static library in master since it was converted to a .bp file. This patch builds it as a static library using the legacy .mk file in this branch. Bug: 27178350 Change-Id: Ic677b45a5ba806f688d766265f746be33dde7409
2016-07-28Build static libraries for libevent on host and device. am: 848a1b6779 am: ↵Yabin Cui
e62e764d92 am: 2626dfc146 am: bf81972e29 Change-Id: I5d826b3022079920c4582991687c94b7def6fe9b
2016-07-28Build static libraries for libevent on host and device. am: 848a1b6779 am: ↵Yabin Cui
e62e764d92 am: 2626dfc146 Change-Id: I6026e576544a8d5124d1efdd28384aec49a26d94
2016-07-27Build static libraries for libevent on host and device. am: 848a1b6779Yabin Cui
am: e62e764d92 Change-Id: I953273694bf820d98b650c5dc51446dff91b4d25
2016-07-27Build static libraries for libevent on host and device.android-n-mr1-preview-2android-n-mr1-preview-1Yabin Cui
am: 848a1b6779 Change-Id: I4580a8fc1331bba01b4e91af9005d89e1d9b7049