From 13e5fc194ae1090418313ea4f6002cbcf0b9563f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B1=91=E5=B1=91=E5=B1=91?= Date: Wed, 23 Apr 2025 16:30:21 +0800 Subject: [PATCH] update gn MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 屑屑屑 --- BUILD.gn | 7 +++++-- {CL => opencl-headers-CL/CL}/cl.h | 0 {CL => opencl-headers-CL/CL}/cl_d3d10.h | 0 {CL => opencl-headers-CL/CL}/cl_d3d11.h | 0 {CL => opencl-headers-CL/CL}/cl_dx9_media_sharing.h | 0 {CL => opencl-headers-CL/CL}/cl_dx9_media_sharing_intel.h | 0 {CL => opencl-headers-CL/CL}/cl_egl.h | 0 {CL => opencl-headers-CL/CL}/cl_ext.h | 0 {CL => opencl-headers-CL/CL}/cl_ext_intel.h | 0 {CL => opencl-headers-CL/CL}/cl_function_types.h | 0 {CL => opencl-headers-CL/CL}/cl_gl.h | 0 {CL => opencl-headers-CL/CL}/cl_gl_ext.h | 0 {CL => opencl-headers-CL/CL}/cl_half.h | 0 {CL => opencl-headers-CL/CL}/cl_icd.h | 0 {CL => opencl-headers-CL/CL}/cl_layer.h | 0 {CL => opencl-headers-CL/CL}/cl_platform.h | 0 .../CL}/cl_va_api_media_sharing_intel.h | 0 {CL => opencl-headers-CL/CL}/cl_version.h | 0 {CL => opencl-headers-CL/CL}/opencl.h | 0 19 files changed, 5 insertions(+), 2 deletions(-) rename {CL => opencl-headers-CL/CL}/cl.h (100%) rename {CL => opencl-headers-CL/CL}/cl_d3d10.h (100%) rename {CL => opencl-headers-CL/CL}/cl_d3d11.h (100%) rename {CL => opencl-headers-CL/CL}/cl_dx9_media_sharing.h (100%) rename {CL => opencl-headers-CL/CL}/cl_dx9_media_sharing_intel.h (100%) rename {CL => opencl-headers-CL/CL}/cl_egl.h (100%) rename {CL => opencl-headers-CL/CL}/cl_ext.h (100%) rename {CL => opencl-headers-CL/CL}/cl_ext_intel.h (100%) rename {CL => opencl-headers-CL/CL}/cl_function_types.h (100%) rename {CL => opencl-headers-CL/CL}/cl_gl.h (100%) rename {CL => opencl-headers-CL/CL}/cl_gl_ext.h (100%) rename {CL => opencl-headers-CL/CL}/cl_half.h (100%) rename {CL => opencl-headers-CL/CL}/cl_icd.h (100%) rename {CL => opencl-headers-CL/CL}/cl_layer.h (100%) rename {CL => opencl-headers-CL/CL}/cl_platform.h (100%) rename {CL => opencl-headers-CL/CL}/cl_va_api_media_sharing_intel.h (100%) rename {CL => opencl-headers-CL/CL}/cl_version.h (100%) rename {CL => opencl-headers-CL/CL}/opencl.h (100%) diff --git a/BUILD.gn b/BUILD.gn index d9e96d3..4c817c7 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -23,7 +23,7 @@ config("cl_config") { config("cl_public_config") { include_dirs = [ - "./", + "opencl-headers-CL", "include", ] } @@ -41,7 +41,10 @@ ohos_shared_library("libcl") { } config("opencl_headers_public_config") { - include_dirs = [ "./" ] + include_dirs = [ + "opencl-headers-CL", + "include", + ] } source_set("opencl_headers") { diff --git a/CL/cl.h b/opencl-headers-CL/CL/cl.h similarity index 100% rename from CL/cl.h rename to opencl-headers-CL/CL/cl.h diff --git a/CL/cl_d3d10.h b/opencl-headers-CL/CL/cl_d3d10.h similarity index 100% rename from CL/cl_d3d10.h rename to opencl-headers-CL/CL/cl_d3d10.h diff --git a/CL/cl_d3d11.h b/opencl-headers-CL/CL/cl_d3d11.h similarity index 100% rename from CL/cl_d3d11.h rename to opencl-headers-CL/CL/cl_d3d11.h diff --git a/CL/cl_dx9_media_sharing.h b/opencl-headers-CL/CL/cl_dx9_media_sharing.h similarity index 100% rename from CL/cl_dx9_media_sharing.h rename to opencl-headers-CL/CL/cl_dx9_media_sharing.h diff --git a/CL/cl_dx9_media_sharing_intel.h b/opencl-headers-CL/CL/cl_dx9_media_sharing_intel.h similarity index 100% rename from CL/cl_dx9_media_sharing_intel.h rename to opencl-headers-CL/CL/cl_dx9_media_sharing_intel.h diff --git a/CL/cl_egl.h b/opencl-headers-CL/CL/cl_egl.h similarity index 100% rename from CL/cl_egl.h rename to opencl-headers-CL/CL/cl_egl.h diff --git a/CL/cl_ext.h b/opencl-headers-CL/CL/cl_ext.h similarity index 100% rename from CL/cl_ext.h rename to opencl-headers-CL/CL/cl_ext.h diff --git a/CL/cl_ext_intel.h b/opencl-headers-CL/CL/cl_ext_intel.h similarity index 100% rename from CL/cl_ext_intel.h rename to opencl-headers-CL/CL/cl_ext_intel.h diff --git a/CL/cl_function_types.h b/opencl-headers-CL/CL/cl_function_types.h similarity index 100% rename from CL/cl_function_types.h rename to opencl-headers-CL/CL/cl_function_types.h diff --git a/CL/cl_gl.h b/opencl-headers-CL/CL/cl_gl.h similarity index 100% rename from CL/cl_gl.h rename to opencl-headers-CL/CL/cl_gl.h diff --git a/CL/cl_gl_ext.h b/opencl-headers-CL/CL/cl_gl_ext.h similarity index 100% rename from CL/cl_gl_ext.h rename to opencl-headers-CL/CL/cl_gl_ext.h diff --git a/CL/cl_half.h b/opencl-headers-CL/CL/cl_half.h similarity index 100% rename from CL/cl_half.h rename to opencl-headers-CL/CL/cl_half.h diff --git a/CL/cl_icd.h b/opencl-headers-CL/CL/cl_icd.h similarity index 100% rename from CL/cl_icd.h rename to opencl-headers-CL/CL/cl_icd.h diff --git a/CL/cl_layer.h b/opencl-headers-CL/CL/cl_layer.h similarity index 100% rename from CL/cl_layer.h rename to opencl-headers-CL/CL/cl_layer.h diff --git a/CL/cl_platform.h b/opencl-headers-CL/CL/cl_platform.h similarity index 100% rename from CL/cl_platform.h rename to opencl-headers-CL/CL/cl_platform.h diff --git a/CL/cl_va_api_media_sharing_intel.h b/opencl-headers-CL/CL/cl_va_api_media_sharing_intel.h similarity index 100% rename from CL/cl_va_api_media_sharing_intel.h rename to opencl-headers-CL/CL/cl_va_api_media_sharing_intel.h diff --git a/CL/cl_version.h b/opencl-headers-CL/CL/cl_version.h similarity index 100% rename from CL/cl_version.h rename to opencl-headers-CL/CL/cl_version.h diff --git a/CL/opencl.h b/opencl-headers-CL/CL/opencl.h similarity index 100% rename from CL/opencl.h rename to opencl-headers-CL/CL/opencl.h -- Gitee