From b4b462716b331ca22e5876038a0c7a75c30f260c Mon Sep 17 00:00:00 2001 From: zhangqiang Date: Wed, 7 May 2025 17:01:09 +0800 Subject: [PATCH 1/2] relative path Signed-off-by: zhangqiang --- graphic/graphic_2d/GL4/BUILD.gn | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/graphic/graphic_2d/GL4/BUILD.gn b/graphic/graphic_2d/GL4/BUILD.gn index 88b2ee6f4..30caaf996 100644 --- a/graphic/graphic_2d/GL4/BUILD.gn +++ b/graphic/graphic_2d/GL4/BUILD.gn @@ -17,9 +17,9 @@ import("//build/ohos/ndk/ndk.gni") ohos_ndk_headers("GL4_header") { dest_dir = "$ndk_headers_out_dir/GL" sources = [ - "//interface/sdk_c/graphic/graphic_2d/GL4/GL/gl.h", - "//interface/sdk_c/graphic/graphic_2d/GL4/GL/glcorearb.h", - "//interface/sdk_c/graphic/graphic_2d/GL4/GL/glext.h", + "GL/gl.h", + "GL/glcorearb.h", + "GL/glext.h", ] } -- Gitee From e8b35d3226f693c1084bbf0c037315871cfff94d Mon Sep 17 00:00:00 2001 From: zhangqiang Date: Wed, 7 May 2025 17:22:32 +0800 Subject: [PATCH 2/2] third_party relative path Signed-off-by: zhangqiang --- graphic/graphic_2d/GL4/BUILD.gn | 6 +++--- {graphic/graphic_2d/GL4 => third_party/openGLES}/GL/gl.h | 0 .../graphic_2d/GL4 => third_party/openGLES}/GL/glcorearb.h | 0 {graphic/graphic_2d/GL4 => third_party/openGLES}/GL/glext.h | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename {graphic/graphic_2d/GL4 => third_party/openGLES}/GL/gl.h (100%) rename {graphic/graphic_2d/GL4 => third_party/openGLES}/GL/glcorearb.h (100%) rename {graphic/graphic_2d/GL4 => third_party/openGLES}/GL/glext.h (100%) diff --git a/graphic/graphic_2d/GL4/BUILD.gn b/graphic/graphic_2d/GL4/BUILD.gn index 30caaf996..b6c389b18 100644 --- a/graphic/graphic_2d/GL4/BUILD.gn +++ b/graphic/graphic_2d/GL4/BUILD.gn @@ -17,9 +17,9 @@ import("//build/ohos/ndk/ndk.gni") ohos_ndk_headers("GL4_header") { dest_dir = "$ndk_headers_out_dir/GL" sources = [ - "GL/gl.h", - "GL/glcorearb.h", - "GL/glext.h", + "../../../third_party/openGLES/GL/gl.h", + "../../../third_party/openGLES/GL/glcorearb.h", + "../../../third_party/openGLES/GL/glext.h", ] } diff --git a/graphic/graphic_2d/GL4/GL/gl.h b/third_party/openGLES/GL/gl.h similarity index 100% rename from graphic/graphic_2d/GL4/GL/gl.h rename to third_party/openGLES/GL/gl.h diff --git a/graphic/graphic_2d/GL4/GL/glcorearb.h b/third_party/openGLES/GL/glcorearb.h similarity index 100% rename from graphic/graphic_2d/GL4/GL/glcorearb.h rename to third_party/openGLES/GL/glcorearb.h diff --git a/graphic/graphic_2d/GL4/GL/glext.h b/third_party/openGLES/GL/glext.h similarity index 100% rename from graphic/graphic_2d/GL4/GL/glext.h rename to third_party/openGLES/GL/glext.h -- Gitee