From 0d5c26ae7e5587baab07d26de5d4ad9ecaa06248 Mon Sep 17 00:00:00 2001 From: lihong Date: Tue, 31 Aug 2021 14:28:48 +0800 Subject: [PATCH] lihong67@huawei.com Signed-off-by: lihong Change-Id: I96ab7cfa482bdd19270a8872ac2ecb64833e468d --- BUILD.gn | 55 ------------------------------------------------------- 1 file changed, 55 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 55e3b6c606..e1f24e6f1e 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -120,65 +120,10 @@ ohos_copy("common_api") { module_install_name = "" } -template("ohos_declaration_template") { - forward_variables_from(invoker, "*") - action_with_pydeps(target_name) { - script = "//interface/sdk-js/remove_internal.py" - outputs = [ root_out_dir + "/$target_name/" ] - args = [ - "--input", - rebase_path("//interface/sdk-js/api", root_build_dir), - "--output", - rebase_path(root_out_dir + "/ohos_declaration/$target_name/", - root_build_dir), - ] - } - _module_info_target = "/ohos_declaration/${target_name}_info" - _target_name = target_name - generate_module_info(_module_info_target) { - module_type = "jsdoc" - module_install_name = "" - module_name = _target_name - module_source_dir = root_out_dir + "/ohos_declaration/$_target_name" - install_enable = false - } -} - -ohos_declaration_template("ohos_declaration_common") { -} -ohos_declaration_template("ohos_declaration_phone") { -} -ohos_declaration_template("ohos_declaration_tablet") { -} -ohos_declaration_template("ohos_declaration_tv") { -} -ohos_declaration_template("ohos_declaration_wearable") { -} -ohos_declaration_template("ohos_declaration_ets") { -} - ohos_copy("ace_platform") { sources = [ - "api/common", "api/config", - "api/liteWearable", "api/phone", - "api/router", - "api/smartVision", - "api/tablet", - "api/tv", - "api/wearable", - ] - outputs = [ target_out_dir + "/$target_name/{{source_file_part}}" ] - module_source_dir = target_out_dir + "/$target_name" - module_install_name = "" -} - -ohos_copy("form_declaration") { - sources = [ - "api/form/action", - "api/form/css", - "api/form/hml", ] outputs = [ target_out_dir + "/$target_name/{{source_file_part}}" ] module_source_dir = target_out_dir + "/$target_name" -- Gitee