• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2023 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #include "bundle_constants.h"
17 
18 namespace OHOS {
19 namespace AppExecFwk {
20 namespace Constants {
21     const std::string PATH_SEPARATOR = "/";
22     const std::string LIBS = "libs/";
23     const std::string AN = "an/";
24     const std::string AP = "ap/";
25     const std::string RES_FILE_PATH = "resources/resfile/";
26     const std::string ALLOW_ENTERPRISE_BUNDLE = "const.bms.allowenterprisebundle";
27     const std::vector<std::string> BUNDLE_EL = {DIR_EL1, DIR_EL2, DIR_EL3, DIR_EL4};
28     const std::map<std::string, std::string> ABI_MAP = {
29         {ARM_EABI, "arm"},
30         {ARM_EABI_V7A, "arm"},
31         {ARM64_V8A, "arm64"},
32         {X86, "x86"},
33         {X86_64, "x86_64"},
34     };
35 }
36 }
37 }