From ca807aef4bae4f2bc6efea531793c8357c2b5b71 Mon Sep 17 00:00:00 2001 From: houhaoyu Date: Wed, 16 Feb 2022 21:17:55 +0800 Subject: [PATCH] houhaoyu@huawei.com syscap equipment Signed-off-by: houhaoyu Change-Id: I8fa32ae8466d1dc9faa13d7ab283ca098fab3cda --- BUILD.gn | 17 +++++++++++++++++ api/device-define/phone.json | 16 ++++++++++++++++ remove_internal.py | 4 ++-- 3 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 api/device-define/phone.json diff --git a/BUILD.gn b/BUILD.gn index fec6731a5f..a0d7645e08 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 0000000000..23513a932b --- /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 defbb2efc1..8990222b1b 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 -- Gitee