diff --git a/graphic/graphic_2d/native_buffer/BUILD.gn b/graphic/graphic_2d/native_buffer/BUILD.gn index 9d589b7c26d58635372420a56c1e8af9f338cb3f..121f876a3a6732a68bd564eec6ebbdb9a320021f 100644 --- a/graphic/graphic_2d/native_buffer/BUILD.gn +++ b/graphic/graphic_2d/native_buffer/BUILD.gn @@ -28,5 +28,8 @@ ohos_ndk_library("libnative_buffer_ndk") { output_extension = "so" ndk_description_file = "./libnative_buffer.ndk.json" system_capability = "SystemCapability.Graphic.Graphic2D.NativeBuffer" - system_capability_headers = [ "native_buffer/native_buffer.h" ] + system_capability_headers = [ + "native_buffer/native_buffer.h", + "native_buffer/buffer_common.h", + ] } diff --git a/graphic/graphic_2d/native_buffer/buffer_common.h b/graphic/graphic_2d/native_buffer/buffer_common.h index 20b22fd8733a829f2c4b6c2514bf6adba5b6cc54..752da7f9f74a4951f480961f36a543aa950bbb0d 100644 --- a/graphic/graphic_2d/native_buffer/buffer_common.h +++ b/graphic/graphic_2d/native_buffer/buffer_common.h @@ -19,13 +19,12 @@ * * @brief Provides the common types for native buffer. * - * @syscap SystemCapability.Graphic.Graphic2D.NativeBuffer * @since 12 * @version 1.0 */ /** - * @file native_buffer.h + * @file buffer_common.h * * @brief Defines the common types for native buffer. * diff --git a/graphic/graphic_2d/native_window/BUILD.gn b/graphic/graphic_2d/native_window/BUILD.gn index 054fc6b6da4935c0468db617def42ed335b4c5d6..d76796b1fa86219e099a97dcbf99f57db3a2bc2d 100644 --- a/graphic/graphic_2d/native_window/BUILD.gn +++ b/graphic/graphic_2d/native_window/BUILD.gn @@ -31,5 +31,6 @@ ohos_ndk_library("libnative_window_ndk") { system_capability_headers = [ "native_window/buffer_handle.h", "native_window/external_window.h", + "native_window/graphic_error_code.h", ] } diff --git a/graphic/graphic_2d/native_window/graphic_error_code.h b/graphic/graphic_2d/native_window/graphic_error_code.h index fe1df86f5c29ca60c4afae5d6b519a95e7124115..820636e0854fc87c7436671b66ea443a983e10ba 100644 --- a/graphic/graphic_2d/native_window/graphic_error_code.h +++ b/graphic/graphic_2d/native_window/graphic_error_code.h @@ -19,13 +19,12 @@ * * @brief Provides the error codes for native window. * - * @syscap SystemCapability.Graphic.Graphic2D.NativeWindow * @since 12 * @version 1.0 */ /** - * @file external_window.h + * @file graphic_error_code.h * * @brief Defines the error codes. *