summaryrefslogtreecommitdiff
path: root/opengl/Android.bp
AgeCommit message (Collapse)Author
2024-08-13Revert^2 "Skip C-verification of GL headers." Dan Albert
92c7e7b2af5f28a5a3b7d1e1cdf3ddec71d130a5 Change-Id: I9e39af3d0409391e54299a2dd2a3389185bc8efb
2024-08-08Revert "Skip C-verification of GL headers." Priyanka Advani (xWF)
Revert submission 3207854-ensure-c-ndk-headers Reason for revert: Droidmonitor created revert due to b/358445530. Reverted changes: /q/submissionid:3207854-ensure-c-ndk-headers Change-Id: I27ff24217f723e6fc02adfb2a45b1fc8622f9a52
2024-08-06Skip C-verification of GL headers. Dan Albert
C-compatibility can't be verified for modules with headers that aren't self-contained. The *ext.h headers in GL aren't self-contained, so disable it here. Bug: http://b/113359184 Test: m ndk Change-Id: Ib88da62338f5de3f1ee8ad2afbda5b188ed06d2c
2023-11-14Make gl_headers available to com.android.virt apex Arve Hjønnevåg
Needed to make crosvm vendor available Bug: 309149829 Test: build aosp_cf_x86_64_phone_trusty_vm-userdebug Change-Id: I1c50d40411d462a32e6b159f965be6f30317d406
2021-05-24opengl: make gl_headers available to host modules Jason Macnak
Cherry-picks ag/13287439 Bug: 188569128 Test: build Merged-In: I3dc40c1443c4db03ccf928dfa43263dc095a2d6c Change-Id: Iee9c3ac8baeb58adc9daaf0cc79e706eceaa1639
2021-04-26Remove llndk_headers module Colin Cross
Use a cc_library_headers module with llndk.llndk_headers: true instead of an llndk_headers module. Bug: 170784825 Test: m checkbuild Test: compare out/soong/build.ninja Change-Id: I6717ab613adde20652f6e861ca7179e202e63a83
2021-02-15[LSC] Add LOCAL_LICENSE_KINDS to frameworks/native Bob 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: I61e7702e6b36f218bebc7c87853001861a92741e Merged-in: I9d9d5fb32033c08cfb517f6cfc0ecb4cf1eee2fe Merged-in: I10f45547b1161e3768a134b38bf40d77a3a82f09
2020-12-17Rearrange opengl llndk libraries to be next to implementations Colin Cross
As an intermediate step towards removing llndk_library modules in favor of using llndk properties in the cc_library directly, move the llndk_library modules next to the cc_library modules so that the paths in the llndk_library properites are correct when Soong copies the properties into the cc_library module. Bug: 170784825 Test: m checkbuild Change-Id: I41674ad253b009d1cf528dc7b480676fb29edabd
2020-10-19Make the connection between implementation and llndk_library explicit Colin Cross
Instead of assuming a module with the .llndk suffix exists, add an llndk_stubs property to every cc_library module that has a corresponding llndk_library. Also rename the llndk_library to have an explicit .llndk suffix. Bug: 170784825 Test: no changes to build.ninja (excluding comments) or Android-${TARGET_PRODUCT}.mk Change-Id: Ic4fa093f126490394909867a08448ed886bc5955
2017-09-20Mark libEGL, GLESv1_CM, GLESv2, and GLESv3 as LLNDK Jiyong Park
They are used by libRSDriver and libRS_internal which are VNDK-SP libraries. Therefore, the EGL/GLES libs must be LLNDK or VNDK-SP. We choose to make them as LLNDK since they already have stable ABIs (as they are NDK). In addition, two more functions of libEGL are exposed to vendors eglQueryStringImplementationANDROID and eglDupNativeFenceFDANDROID are non-NDK symbols but are being used by libgui, which is a library marked with vendor_available:true. In order to provide the symbols to the library, they are added to the map.txt file and tagged as "# vndk" so that they are exposed only when built for vendor libs (and hidden when built for NDK). Furthermore, eglQueryStringImplementationANDROID is changed to C-symbol in order to be mentioned in the map.txt file, where C++ mangled symbol name can't be used. Bug: 64425518 Test: BOARD_VNDK_VERSION=current m -j libRSDriver.vendor Test: BOARD_VNDK_VERSION=current m -j libRS_internal.vendor Merged-In: I4d5bcd5f72fb05a7908887f5192de70fd1d8c8f1 Change-Id: I4d5bcd5f72fb05a7908887f5192de70fd1d8c8f1 (cherry picked from commit 00b15b8f223976d016e16536e4720771ef634695)
2017-09-06Mark EGL/GLES libs as vendor_available Jiyong Park
EGL/GLES libs are marked as vendor_available, otherwise vendors are not able to use OpenGL. The libs were not simply declared as LL-NDK because doing so causes the dual loading of libui.so in vendor processes; platform version of libui.so is loaded since it is depended by libEGL.so whereas there also is vendor version of libui.so in /system/lib/vndk. When libEGL.so is built for vendors, 1) libgraphicsenv is removed from its dependency list as the lib must not be available to vendors and 2) eglGetNativeClientBufferANDROID is unusable since the function relies on AHardwareBuffer_to_ANativeWindowBuffer which isn't available to vendor. Bug: 37731063 Test: BOARD_VNDK_VERSION=current m -j libEGL.vendor Test: BOARD_VNDK_VERSION=current m -j libGLESv2.vendor Change-Id: I83a128b14a5d852bb0f2cd821a8e3f82c66a313f Merged-In: I83a128b14a5d852bb0f2cd821a8e3f82c66a313f
2016-10-20Add licenses to ndk_headers. Dan Albert
Test: make ndk Bug: None Change-Id: Ia113ea42b1d62d87dfbb2fc456428c7db50a98f1
2016-10-05Migrate khrplatform.h to ndk_headers. Dan Albert
Test: make native Bug: http://b/30465923 Change-Id: Idaf0eb973b7569f92b1f1575869d13b8c5e706fd
2016-10-04Migrate libGLESv3 to ndk_library. Dan Albert
Test: make checkbuild Bug: http://b/30465923 Change-Id: I6a2f4df7f409596f487879eb7d43a7774dced894
2016-10-04Migrate libGLESv2 to ndk_library. Dan Albert
Test: make checkbuild Bug: http://b/30465923 Change-Id: I62e108bdd27b6dc40fdf7ede7d579a286cbf3b9b
2016-10-04Migrate libGLESv1_CM to ndk_library. Dan Albert
Test: make checkbuild Bug: http://b/30465923 Change-Id: Icd83a5ef5d6afcde9441f49de14a8e645d15da2f
2016-10-04Migrate libEGL to ndk_library. Dan Albert
Test: make checkbuild Bug: http://b/30465923 Change-Id: I154a95c6fde9c34d770b6fe65bfd71ac51e05574