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 rollupObject 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 16export const SDK_VERSION: number = 10; 17export const SDK_VERSION_MOCK: number = 1; 18export const ETS_LOADER_VERSION: string = '4.1.2.3'; 19 20export const BUNDLE_NAME_DEFAULT: string = 'com.example.app'; 21export const ENTRY_MODULE_NAME_DEFAULT: string = 'entry'; 22export const ENTRY_MODULE_VERSION_DEFAULT: string = '1.0.0'; 23 24export const RUNTIME_OS_OPENHARMONY: string = 'OpenHarmony'; 25export const MODULE_NAME_HASH_DEFAULT: string = '1043bfc77febe75fafec0c4309faccf1'; 26export const RESOURCE_TABLE_HASH_DEFAULT: string = '790527e39c8c2be7fbbc762f7966104e'; 27export const DEVICE_TYPE: string = 'default,tablet'; 28 29export const NODE_JS_PATH: string = '/usr/local/nodejs'; 30export const PORT_DEFAULT: string = '29900'; 31 32export const CMD_DEBUG_INFO: string = '--debug-info'; 33export const NODE: string = 'node'; 34export const META: string = 'meta'; 35 36export const ENTRYABILITY_TS_PATH_DEFAULT: string = '/src/main/entryability/EntryAbility.ts'; 37export const ENTRYABILITY_JS_PATH_DEFAULT: string = '/src/main/entryability/EntryAbility.js'; 38export const INDEX_ETS_PATH_DEFAULT: string = '/src/main/pages/Index.ets'; 39export const INDEX_JS_PATH_DEFAULT: string = '/src/main/pages/Index.js'; 40export const INDEX_SOURCE_PATH: string = 'entry/src/main/pages/Index.ets'; 41export const INDEX_JS_CACHE_PATH: string = 'entry/build/entry/src/main/pages/Index.js'; 42export const INDEX_TS_CACHE_PATH: string = 'entry/build/entry/src/main/pages/Index.ts'; 43export const ENTRYABILITY_SOURCE_PATH: string = 'entry/src/main/pages/EntryAbility.ts'; 44export const ENTRYABILITY_JS_CACHE_PATH: string = 'entry/build/entry/src/main/pages/EntryAbility.js'; 45export const ENTRYABILITY_TS_CACHE_PATH: string = 'entry/build/entry/src/main/pages/EntryAbility.ts'; 46 47export const ENTRYABILITY_TS_RECORDNAME: string = '/entry/src/main/entryability/EntryAbility'; 48export const ENTRYABILITY_JS_RECORDNAME: string = '/entry/src/main/entryability/EntryAbility'; 49export const INDEX_ETS_RECORDNAME: string = '/entry/src/main/pages/Index'; 50export const EXTNAME_MAP: string = '.map'; 51 52export const ENTRYABILITY_TS_NORMALIZED_RECORDNAME: string = 'entry/src/main/entryability/EntryAbility'; 53export const ENTRYABILITY_JS_NORMALIZED_RECORDNAME: string = 'entry/src/main/entryability/EntryAbility'; 54export const INDEX_ETS_NORMALIZED_RECORDNAME: string = 'entry/src/main/pages/Index'; 55 56export const ENTRYABILITY_TS_PATH: string = '/main/entryability/EntryAbility.ts'; 57export const INDEX_ETS_PATH: string = '/main/pages/Index.ets'; 58export const ENTRYABILITY_TS: string = 'EntryAbility.ts'; 59export const INDEX_ETS: string = 'Index.ets'; 60export const OH_UIABILITY: string = '@ohos:app.ability.UIAbility'; 61export const OH_HILOG: string = '@ohos:hilog'; 62export const OHURL_RES: string = '@bundle:com.example.app/entry/src/main/pages/Index'; 63export const OHURL_SHAREDLIBRARY: string = "@bundle:UtTestApplication/sharedLibrary/ets/index"; 64 65export const FILE: string = 'file'; 66export const SOURCE: string = 'sources'; 67export const ENTRY_PACKAGE_INFO: string = 'entry-package-info'; 68export const DYNAMICIMPORT_ETS: string = 'DynamicImport.ets'; 69 70export const PKG_MODULES: string = 'pkg_modules'; 71export const DEBUG: string = 'debug'; 72export const EXPOSE_GC: string = 'expose-gc'; 73export const JSONSTRING: string = `{"mCompact":false,"mDisableHilog":false,"mDisableConsole":false,"mSimplify":false,"mTopLevel":false,"mNameObfuscation":{"mEnable":true,"mNameGeneratorType":1,"mReservedNames":[],"mRenameProperties":false,"mReservedProperties":[],"mKeepStringProperty":true},"mEnableSourceMap":true,"mEnableNameCache":true}`; 74export const MODULES: string = 'oh-modules'; 75export const LOADER_AOTMODE: string = 'loader_aotMode.json'; 76export const UPDATESOURCEMAP: string = 'updateSourceMap.json'; 77export const ENTRYABILITY_JS: string = 'entry/src/main/entryability/EntryAbility.js'; 78export const TEST: string = 'test'; 79export const NEWFILE: string = 'newFile';