From cfb02048565e98738ef9698f1b6c474c12e455b1 Mon Sep 17 00:00:00 2001 From: longwei Date: Wed, 19 Jan 2022 15:46:58 +0800 Subject: [PATCH] delete BundleFlag.d.ts file Signed-off-by: longwei Change-Id: I341104f82487733c9d33f61bbefa79298655322d --- BUILD.gn | 5 +---- api/bundle/bundleFlag.d.ts | 36 ------------------------------------ 2 files changed, 1 insertion(+), 40 deletions(-) delete mode 100644 api/bundle/bundleFlag.d.ts diff --git a/BUILD.gn b/BUILD.gn index a6eb9c2bdb..f012ffa56c 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -126,10 +126,7 @@ ohos_copy("common_api") { } ohos_copy("bundle_api") { - sources = [ - "api/bundle/bundleFlag.d.ts", - "api/bundle/bundleStatusCallback.d.ts", - ] + sources = [ "api/bundle/bundleStatusCallback.d.ts" ] outputs = [ target_out_dir + "/$target_name/{{source_file_part}}" ] module_source_dir = target_out_dir + "/$target_name" module_install_name = "" diff --git a/api/bundle/bundleFlag.d.ts b/api/bundle/bundleFlag.d.ts deleted file mode 100644 index b2c8c8cadc..0000000000 --- a/api/bundle/bundleFlag.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -declare enum BundleFlag { - GET_BUNDLE_DEFAULT = 0x00000000, - GET_BUNDLE_WITH_ABILITIES = 0x00000001, - GET_ABILITY_INFO_WITH_PERMISSION = 0x00000002, - GET_ABILITY_INFO_WITH_APPLICATION = 0x00000004, - GET_APPLICATION_INFO_WITH_PERMISSION = 0x00000008, - GET_BUNDLE_WITH_REQUESTED_PERMISSION = 0x00000010, - GET_ALL_APPLICATION_INFO = 0xFFFF0000, - /** - * @since 8 - */ - GET_ABILITY_INFO_WITH_METADATA = 0x00000020, - /** - * @since 8 - */ - GET_APPLICATION_INFO_WITH_METADATA = 0x00000040, - /** - * @since 8 - */ - GET_ABILITY_INFO_SYSTEMAPP_ONLY = 0x00000080, - } \ No newline at end of file -- Gitee