From 445122a14d81f3999cda8b373501799cbb768aef Mon Sep 17 00:00:00 2001 From: itihobaev Date: Fri, 26 Apr 2024 18:33:04 +0300 Subject: [PATCH] Compile static library Change-Id: I285ab58f2a7b53a373523ff74fc5747fb651cb1a Signed-off-by: itihobaev --- BUILD.gn | 2 +- bundle.json | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index fd26c3b..2a6a397 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -16,6 +16,6 @@ config("libGLES_public_config") { include_dirs = [ "api" ] } -ohos_source_set("libGLES") { +ohos_static_library("libGLES") { public_configs = [ ":libGLES_public_config" ] } diff --git a/bundle.json b/bundle.json index 261d039..83dbb23 100644 --- a/bundle.json +++ b/bundle.json @@ -27,7 +27,15 @@ }, "build": { "sub_component": [], - "inner_kits": [], + "inner_kits": [ + { + "name": "//third_party/openGLES:libGLES", + "header": { + "header_files": [], + "header_base": "//third_party/openGLES/api/" + } + } + ], "test": [] } }