diff --git a/BUILD.gn b/BUILD.gn index fec6731a5f197f2a72dab7091906e8b7277f4861..a0d7645e083b730f91103e5b2198cb826258a8bb 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -194,6 +194,23 @@ ohos_copy("syscap_check") { module_install_name = "" } +ohos_copy("device_define") { + sources = [ "api/device-define/phone.json" ] + outputs = [ target_out_dir + "/$target_name/{{source_file_part}}" ] + module_source_dir = target_out_dir + "/$target_name" + module_install_name = "" +} + +ohos_copy("config") { + sources = [ + "api/config/css", + "api/config/hml", + ] + outputs = [ target_out_dir + "/$target_name/{{source_file_part}}" ] + module_source_dir = target_out_dir + "/$target_name" + module_install_name = "" +} + ohos_copy("system_api") { sources = [ "api/common/@system.app.d.ts", diff --git a/api/device-define/phone.json b/api/device-define/phone.json new file mode 100644 index 0000000000000000000000000000000000000000..23513a932be9efcfcad0b0d9c2090750c1c14d95 --- /dev/null +++ b/api/device-define/phone.json @@ -0,0 +1,16 @@ +{ + "SysCaps": [ + "SystemCapability.ArkUI.ArkUI.Full", + "SystemCapability.ArkUI.ArkUI.Lite", + "SystemCapability.ArkUI.ArkUI.Napi", + "SystemCapability.ArkUI.ArkUI.Libuv", + "SystemCapability.BundleManager.BundleFramework", + "SystemCapability.BundleManager.DistributedBundleFramework", + "SystemCapability.BundleManager.BundleTool", + "SystemCapability.BundleManager.Zlib", + "SystemCapability.BundleManager.PackingTool", + "SystemCapability.Graphic.Graphic2D.WebGL", + "SystemCapability.Graphic.Graphic2D.WebGL2", + "SystemCapability.WindowManager.WindowManager.Core" + ] +} \ No newline at end of file diff --git a/remove_internal.py b/remove_internal.py index defbb2efc141e7b1268316fa09b94793a79c6625..8990222b1b283535e8787e160d0aa6488fc808ce 100755 --- a/remove_internal.py +++ b/remove_internal.py @@ -8,8 +8,8 @@ import optparse import shutil # d.ts directories to be deleted -remove_list = ["@internal", "common", "form", "liteWearable", "phone", - "router", "smartVision", "tablet", "tv", "wearable", "syscapCheck"] +remove_list = ["@internal", "common", "form", "liteWearable", "phone", "config" + "router", "smartVision", "tablet", "tv", "wearable", "syscapCheck", "device-define"] # traversal all fill in project folder