diff options
Diffstat (limited to 'opengl/libs/Android.bp')
-rw-r--r-- | opengl/libs/Android.bp | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/opengl/libs/Android.bp b/opengl/libs/Android.bp index 32c2d7e0d5..d43c1648be 100644 --- a/opengl/libs/Android.bp +++ b/opengl/libs/Android.bp @@ -122,6 +122,16 @@ cc_library_static { }, } +cc_library_static { + name: "libEGL_blobCache", + defaults: ["egl_libs_defaults"], + srcs: [ + "EGL/BlobCache.cpp", + "EGL/FileBlobCache.cpp", + ], + export_include_dirs: ["EGL"], +} + cc_library_shared { name: "libEGL", defaults: ["egl_libs_defaults"], @@ -133,7 +143,6 @@ cc_library_shared { "EGL/egl.cpp", "EGL/eglApi.cpp", "EGL/Loader.cpp", - "EGL/BlobCache.cpp", ], shared_libs: [ "libvndksupport", @@ -143,7 +152,10 @@ cc_library_shared { "libhidltransport", "libutils", ], - static_libs: ["libEGL_getProcAddress"], + static_libs: [ + "libEGL_getProcAddress", + "libEGL_blobCache", + ], ldflags: ["-Wl,--exclude-libs=ALL"], export_include_dirs: ["EGL/include"], } |