diff --git a/arkui/napi/BUILD.gn b/arkui/napi/BUILD.gn index eea7bc4512e1bcc3fb6dfc06bac9da94e855a452..d6f8ce10e8e47e13d9161b83ac9775c80847cc7f 100644 --- a/arkui/napi/BUILD.gn +++ b/arkui/napi/BUILD.gn @@ -11,14 +11,17 @@ # See the License for the specific language governing permissions and # limitations under the License. - import("//build/ohos.gni") - ohos_ndk_library("libnapi_ndk") { ndk_description_file = "./libnapi.ndk.json" min_compact_version = "1" output_name = "ace_napi" + system_capability = "SystemCapability.ArkUI.ArkUI.Napi" + system_capability_headers = [ + "napi/common.h", + "napi/native_api.h", + ] } ohos_ndk_headers("napi_header") { @@ -27,4 +30,4 @@ ohos_ndk_headers("napi_header") { "./common.h", "./native_api.h", ] -} \ No newline at end of file +}