diff --git a/BUILD.gn b/BUILD.gn index 31c4395..48529cd 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -13,8 +13,13 @@ import("//build/ohos.gni") -ohos_copy("css_what_sources") { - sources = [ "src" ] - outputs = [ target_out_dir + "/../jsframework/runtime" ] +ohos_prebuilt_etc("css_what_sources") { + source = "src" + output = "../jsframework/runtime" license_file = "LICENSE" + + install_enable = false + + part_name = "css-what" + subsystem_name = "thirdparty" }