summaryrefslogtreecommitdiff
path: root/libs/android_runtime_lazy
AgeCommit message (Collapse)Author
2021-02-17[LSC] Add LOCAL_LICENSE_KINDS to frameworks/nativeBob Badour
Added SPDX-license-identifier-Apache-2.0 to: cmds/atrace/Android.bp cmds/bugreport/Android.bp cmds/bugreportz/Android.bp cmds/cmd/Android.bp cmds/dumpstate/Android.bp cmds/dumpsys/Android.bp cmds/dumpsys/tests/Android.bp cmds/flatland/Android.mk cmds/idlcli/Android.bp cmds/installd/Android.bp cmds/installd/tests/Android.bp cmds/ip-up-vpn/Android.mk cmds/lshal/Android.bp cmds/lshal/libprocpartition/Android.bp cmds/rawbu/Android.bp cmds/rss_hwm_reset/Android.bp cmds/service/Android.bp cmds/servicemanager/Android.bp cmds/surfacereplayer/Android.bp cmds/surfacereplayer/replayer/Android.bp libs/adbd_auth/Android.bp libs/android_runtime_lazy/Android.bp libs/arect/Android.bp libs/binder/Android.bp libs/binder/ndk/Android.bp libs/binder/ndk/tests/Android.bp libs/binder/parcel_fuzzer/Android.bp libs/binder/rust/Android.bp libs/binder/rust/tests/Android.bp libs/binder/tests/Android.bp libs/binder/tests/fuzzers/Android.bp libs/binderdebug/Android.bp libs/binderdebug/tests/Android.bp libs/binderthreadstate/1.0/Android.bp libs/binderthreadstate/Android.bp libs/bufferqueueconverter/Android.bp libs/cputimeinstate/Android.bp libs/diskusage/Android.bp libs/dumputils/Android.bp libs/fakeservicemanager/Android.bp libs/gralloc/types/Android.bp libs/gralloc/types/fuzzer/Android.bp libs/gralloc/types/tests/Android.bp libs/graphicsenv/Android.bp libs/gui/Android.bp libs/gui/sysprop/Android.bp libs/gui/tests/Android.bp libs/incidentcompanion/Android.bp libs/input/Android.bp libs/input/tests/Android.bp libs/math/Android.bp libs/math/tests/Android.bp libs/nativebase/Android.bp libs/nativedisplay/Android.bp libs/nativewindow/Android.bp libs/nativewindow/tests/Android.bp libs/renderengine/Android.bp libs/renderengine/tests/Android.bp libs/sensor/Android.bp libs/sensor/tests/Android.bp libs/sensorprivacy/Android.bp libs/ui/Android.bp libs/ui/tests/Android.bp libs/ui/tools/Android.bp libs/vibrator/Android.bp libs/vibrator/fuzzer/Android.bp libs/vr/libpdx/Android.bp libs/vr/libpdx/fuzz/Android.bp libs/vr/libvr_manager/Android.bp opengl/libs/Android.bp opengl/tests/EGLTest/Android.bp opengl/tests/fillrate/Android.bp opengl/tests/finish/Android.bp opengl/tests/gl2_basic/Android.bp opengl/tests/gl2_cameraeye/Android.bp opengl/tests/gl2_copyTexImage/Android.bp opengl/tests/gl2_java/Android.bp opengl/tests/gl2_jni/Android.bp opengl/tests/gl2_yuvtex/Android.bp opengl/tests/gl_jni/Android.bp opengl/tests/gl_perf/Android.bp opengl/tests/gl_perfapp/Android.bp opengl/tests/gl_yuvtex/Android.bp opengl/tests/gldual/Android.bp opengl/tests/gralloc/Android.bp opengl/tests/hwc/Android.bp opengl/tests/lib/Android.bp opengl/tests/lighting1709/Android.bp opengl/tests/linetex/Android.bp opengl/tests/swapinterval/Android.bp opengl/tests/testFramerate/Android.bp opengl/tests/testLatency/Android.bp opengl/tests/testPauseResume/Android.bp opengl/tests/testViewport/Android.bp opengl/tests/textures/Android.bp services/audiomanager/Android.bp services/automotive/display/Android.bp services/batteryservice/Android.bp services/displayservice/Android.bp services/gpuservice/Android.bp services/gpuservice/bpfprogs/Android.bp services/gpuservice/gpumem/Android.bp services/gpuservice/gpustats/Android.bp services/gpuservice/tests/unittests/Android.bp services/gpuservice/tracing/Android.bp services/inputflinger/Android.bp services/inputflinger/benchmarks/Android.bp services/inputflinger/dispatcher/Android.bp services/inputflinger/host/Android.bp services/inputflinger/reader/Android.bp services/inputflinger/reporter/Android.bp services/inputflinger/tests/Android.bp services/inputflinger/tests/fuzzers/Android.bp services/powermanager/Android.bp services/schedulerservice/Android.bp services/sensorservice/Android.bp services/sensorservice/hidl/Android.bp services/sensorservice/tests/Android.bp services/stats/Android.bp services/surfaceflinger/Android.bp services/surfaceflinger/CompositionEngine/Android.bp services/surfaceflinger/TimeStats/Android.bp services/surfaceflinger/TimeStats/timestatsproto/Android.bp services/surfaceflinger/layerproto/Android.bp services/surfaceflinger/sysprop/Android.bp services/surfaceflinger/tests/Android.bp services/surfaceflinger/tests/fakehwc/Android.bp services/surfaceflinger/tests/unittests/Android.bp services/surfaceflinger/tests/vsync/Android.bp services/surfaceflinger/tests/waitforvsync/Android.bp services/utils/Android.bp services/utils/tests/Android.bp services/vr/hardware_composer/Android.bp services/vr/virtual_touchpad/Android.bp vulkan/libvulkan/Android.bp vulkan/nulldrv/Android.bp vulkan/vkjson/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD SPDX-license-identifier-MIT SPDX-license-identifier-Unicode-DFS legacy_notice to: Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD SPDX-license-identifier-MIT legacy_notice to: opengl/Android.bp opengl/tests/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD legacy_notice to: libs/vr/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-MIT to: headers/Android.bp services/vr/Android.bp vulkan/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-MIT SPDX-license-identifier-Unicode-DFS to: cmds/surfacereplayer/proto/Android.bp libs/vr/libbroadcastring/Android.bp libs/vr/libbufferhub/Android.bp libs/vr/libbufferhubqueue/Android.bp libs/vr/libbufferhubqueue/benchmarks/Android.bp libs/vr/libbufferhubqueue/tests/Android.bp libs/vr/libdisplay/Android.bp libs/vr/libdvr/Android.bp libs/vr/libdvr/tests/Android.bp libs/vr/libdvrcommon/Android.bp libs/vr/libpdx_default_transport/Android.bp libs/vr/libpdx_uds/Android.bp libs/vr/libperformance/Android.bp libs/vr/libvrflinger/Android.bp libs/vr/libvrflinger/tests/Android.bp libs/vr/libvrsensor/Android.bp opengl/tests/configdump/Android.bp opengl/tests/filter/Android.bp opengl/tests/gl_basic/Android.bp opengl/tests/tritex/Android.bp services/vr/bufferhubd/Android.bp services/vr/hardware_composer/aidl/Android.bp Added SPDX-license-identifier-BSD SPDX-license-identifier-MIT legacy_notice to: opengl/tests/angeles/Android.bp Added SPDX-license-identifier-MIT to: services/vr/performanced/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Ib1de8cd7b87446de45d79db15cd90b93a591846d Merged-in: Ib1de8cd7b87446de45d79db15cd90b93a591846d
2020-11-05Disable libbinder darwin buildsYifan Hong
libbinder makes heavy use of linux headers, so it won't build on a mac. This gives us cleaner errors when a mac target depends on it. Instead of seeing libbinder build breakages, we will see the missing dependency error. Exempt-From-Owner-Approval: fixing build breakage Test: none Bug: 172023026 Change-Id: I4eadf2c9c09599b5d1bcafdb7d8559946c854e49
2020-01-08libbinder_ndk: AParcel_fromJavaParcelSteven Moreland
This allows creating a view into a Java Parcel. Note, that this doesn't allow conversions of both directions. This is mostly out of convenience: Parcel.obtain(long) only allows us to create a view. Also, there isn't currently a usecase for this other API. Bug: 145227478 Test: atest CtsNdkBinderTestCases Change-Id: Iec043741ec778036e167aaf9a2fb275d4309e8f6
2019-10-15Remove "required:"Marco Nelissen
Remove the required: entry in the Android.bp because the build system treats it like a link-time dependency, which can cause it to complain about circular dependencies even when none exist. Test: build Change-Id: Ie4bfdedd3d66b1f643d9e9127a664f96cf3b9691
2019-09-20Reland "libbinder_ndk: host available"Steven Moreland
This reverts commit f6f0d3b2e7e62e39af41d5802521b6a5c96d0040. Reason for revert: reland original change Bug: 141340885 Test: use on host (breakage was mac build, version script moved to linux only) Change-Id: Id7aba2361405c92cf832e4145ce4ff1fd951a66a
2019-09-20Revert "libbinder_ndk: host available"Steven Moreland
This reverts commit 1bce25ec50cfd4cac19e7043d10809890ec44571. Reason for revert: breaks Mac build Bug: 141340885 Change-Id: I0ae6f9a21e8aebd09646b3f0ba8db0d946c2566e
2019-09-19libbinder_ndk: host availableSteven Moreland
So that unit tests can work on host without needing extra abstractions. Bug: 124524556 Test: build Change-Id: I7951668f96508f4531921e7e9cf869127bbd66b1
2019-07-12Revert "libandroid_runtime_lazy: remove unused deps"Steven Moreland
This reverts commit 66d8028083c1a9b6693bdaea7ca1671559313413. Reason for revert: seems to break some targets Fixes: 137396104 Change-Id: Ibc1367c04d8828cdc8b623ab8d5a038d867a3104
2019-07-11libandroid_runtime_lazy: remove unused depsSteven Moreland
Bug: 137311188 Test: library still builds Change-Id: I534fc5ad28ebb0e2a614f548d80ad918f9dd9433
2019-03-28Mark libandroid_runtime_lazy as double_loadableJooyung Han
Because of following two conditions, - libmediandk(LL-NDK) depends on it. - libandroid_runtime_lazy is vendor_available:true. This lib is vendor_available but actually it is not supposed to be used by vendor processes (which are not app_process and there is no android_runtime). If the vendor variant of this lib is loaded and the delegate functions are called, then dlopen will fail as expected. Bug: 125550121 Test: m -j Change-Id: I7f417d771ccff0679018f9533a5bf1c2b3b43f00 Merged-In: I7f417d771ccff0679018f9533a5bf1c2b3b43f00
2019-03-26Add libandroid_runtime_lazyJooyung Han
Extract lazy loading of libandroid_runtime from libbinder_ndk into its own library. This lib loads libandroid_runtime on demand, so the clients which don't use this can benefit. Do not over-use this lib to mock the build system and pretend not depending on libandroid_runtime. Bug: 125550121 Test: m -j Test: readelf -d $OUT/system/lib64/libbinder_ndk.so | grep NEED # see if there is not libandroid_runtime Test: atest android.binder.cts Change-Id: I4b120686ba34f45e060594641ffc74bc1496c8c9