| /developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/module/ohmUrl/ |
| D | ohmUrl.test.ts | 26 const filePath = `${projectConfig.projectRootPath}/entry/src/main/ets/feature/src/main/js/` 39 const filePath = `${projectConfig.projectRootPath}/entry/src/ohosTest/ets/feature/src/main/js/` 84 const filePath = `${projectConfig.projectRootPath}/entry/src/main/ets/pages/test.ts`; 85 const harFilePath = `${projectConfig.projectRootPath}/library/src/main/ets/pages/test.ts`; 97 …const moduleLevelPkgPath = `${projectConfig.projectRootPath}/entry/oh_modules/json5/dist/index.js`; 98 const projectLevelPkgPath = `${projectConfig.projectRootPath}/oh_modules/json5/dist/index.js`; 109 const staticLibraryEntry = `${projectConfig.projectRootPath}/library/index.ets`; 118 … const ohosTestfilePath = `${projectConfig.projectRootPath}/entry/src/ohosTest/ets/pages/test.ts`;
|
| /developtools/ace_ets2bundle/compiler/src/ |
| D | process_visual.ts | 279 const projectRootPath = getProjectRootPath(); constant 281 visualDirPath.replace(projectRootPath, '')); 294 let projectRootPath = projectConfig.projectRootPath; 295 if (!projectRootPath) { 297 projectRootPath = path.resolve(projectConfig.projectPath, '../../../../../'); 299 projectRootPath = path.resolve(projectConfig.projectPath, '../../../../'); 302 return projectRootPath; 317 const projectRootPath = getProjectRootPath(); constant 319 const relativePath = filePath.replace(projectRootPath, ''); 333 etsDirPath = path.join(projectRootPath, moduleName, MODULE_ETS_PATH); [all …]
|
| D | ark_utils.ts | 86 const projectRootPath: string = toUnixPath(projectConfig.projectRootPath); constant 93 const projectFilePath: string = unixFilePath.replace(projectRootPath, ''); 108 projectRootPath, constant 133 projectFilePath, unixFilePath, packageDir, projectRootPath, moduleRootPath, constant 138 const tryProjectPkg: string = toUnixPath(path.join(projectRootPath, packageDir)); 157 const tryProjectPkg: string = toUnixPath(path.join(projectRootPath, packageDir)); 361 const projectRootPath: string = projectConfig.projectRootPath; constant 362 …if (npmModuleIdx === -1 || npmModuleIdx === projectRootPath.search(/(\/|\\)node_modules(\/|\\)/)) { 474 …esInHar.originalDeclarationCachePath).replace(toUnixPath(projectConfig.projectRootPath) + '/', ''); 545 …const fakePkgModulesPath: string = toUnixPath(path.join(projectConfig.projectRootPath, packageDir)… [all …]
|
| D | process_module_files.ts | 61 …eFilePath = toUnixPath(node.fileName).replace(toUnixPath(projectConfig.projectRootPath) + '/', ''); 110 …sourceMapJson['sources'] = [toUnixPath(fileName).replace(toUnixPath(projectConfig.projectRootPath)…
|
| D | utils.ts | 323 …h: string, cachePath: string, buildPath: string, moduleRootPath: string, projectRootPath): string { 327 const moduleName = toUnixPath(moduleRootPath).replace(toUnixPath(projectRootPath), ''); 339 …const projectRootPath: string = toUnixPath(buildInHar ? projectPath : projectConfig.projectRootPat… constant 340 const relativeFilePath: string = filePath.replace(projectRootPath, ''); 347 …const fakePkgModulesPath: string = toUnixPath(path.join(projectConfig.projectRootPath, packageDir)… 350 const hapPath: string = toUnixPath(projectConfig.projectRootPath); 372 const hapPath: string = toUnixPath(projectConfig.projectRootPath); 376 …const fakePkgModulesPath: string = toUnixPath(path.resolve(projectConfig.projectRootPath, packageD… 408 projectConfig.compileShared ? projectConfig.projectRootPath : projectConfig.moduleRootPath, 642 …const newKey: string = projectConfig.projectRootPath ? path.relative(projectConfig.projectRootPath…
|
| D | gen_merged_abc.ts | 64 const sourceFile: string = info.filePath.replace(projectConfig.projectRootPath + path.sep, ''); 120 …tConfig.inOldSymbolTablePath = projectConfig.inOldSymbolTablePath || projectConfig.projectRootPath;
|
| D | gen_abc_plugin.ts | 147 this.sourceFile = filePath.replace(projectConfig.projectRootPath + path.sep, ''); 388 … buildMapFileList.add(toUnixPath(filePath.replace(projectConfig.projectRootPath + path.sep, ''))); 412 buildMapFileList.add(toUnixPath(filePath.replace(projectConfig.projectRootPath + path.sep, ''))); 432 buildMapFileList.add(toUnixPath(filePath.replace(projectConfig.projectRootPath + path.sep, ''))); 451 buildMapFileList.add(toUnixPath(filePath.replace(projectConfig.projectRootPath + path.sep, ''))); 649 if (!isDebug && projectConfig.projectRootPath) { 650 sourceFile = toUnixPath(sourceFile.replace(projectConfig.projectRootPath + path.sep, '')); 1090 …let relativeProjectPath = projectConfig.projectPath.slice(projectConfig.projectRootPath.length + p…
|
| D | ets_checker.ts | 502 let projectRootPath: string = projectConfig.projectRootPath; 503 if (!projectRootPath) { 506 projectRootPath = toUnixPath(projectRootPath); 510 if (!fileName.startsWith(projectRootPath)) {
|
| /developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/mock/rollup_mock/ |
| D | project_config.ts | 36 projectRootPath: string, property 109 projectRootPath: string; 160 this.projectRootPath = `${proPath}`;
|
| D | rollup_plugin_mock.ts | 111 projectRootPath: projectRootDir,
|
| /developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/module/ |
| D | module_mode.ts | 305 let sourceFile: string = filePath.replace(this.projectConfig.projectRootPath + path.sep, ''); 307 … this.genFileCachePath(filePath, this.projectConfig.projectRootPath, this.projectConfig.cachePath); 323 cacheFilePath.replace(toUnixPath(this.projectConfig.projectRootPath) + '/', ''); 343 … moduleId = moduleId.replace(this.projectConfig.projectRootPath, this.projectConfig.cachePath); 352 …st sourceFileAbsolutePath: string = toUnixPath(path.join(this.projectConfig.projectRootPath, key)); 615 private genFileCachePath(filePath: string, projectRootPath: string, cachePath: string): string { 616 const sufStr: string = toUnixPath(filePath).replace(toUnixPath(projectRootPath), ''); 624 const projectRootPath = toUnixPath(this.projectConfig.projectRootPath); constant 625 const projectPkgModulesPath: string = toUnixPath(path.join(projectRootPath, packageDir)); 634 const tempFilePath: string = pkgPath.replace(projectRootPath, ''); [all …]
|
| D | module_hotfix_mode.ts | 36 …OldSymbolTablePath = this.projectConfig.inOldSymbolTablePath || this.projectConfig.projectRootPath;
|
| D | module_hotreload_mode.ts | 124 this.projectConfig.projectRootPath.length + path.sep.length);
|
| D | module_source_file.ts | 368 … toUnixPath(this.moduleId.replace(ModuleSourceFile.projectConfig.projectRootPath + path.sep, ''));
|
| /developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/ |
| D | utils.ts | 88 …const sufStr: string = toUnixPath(filePath).replace(toUnixPath(projectConfig.projectRootPath), ''); 121 projectConfig.compileShared ? projectConfig.projectRootPath : projectConfig.moduleRootPath, 154 …urceFilePath: string = toUnixPath(sourceFilePath).replace(toUnixPath(projectConfig.projectRootPath) 175 return filePath.indexOf(projectConfig.projectRootPath) >= 0;
|
| D | transform.ts | 80 …const relativeSourceFilePath = toUnixPath(sourceFilePath.replace(projectConfig.projectRootPath + p…
|
| /developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/utils/ |
| D | processProjectConfig.ts | 27 projectConfig.projectRootPath = "/testProjectRootPath";
|
| /developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/module/ |
| D | module_mode.test.ts | 731 … toUnixPath(filePath).replace(toUnixPath(this.rollup.share.projectConfig.projectRootPath), ''); 733 moduleMode.genFileCachePath(filePath, this.rollup.share.projectConfig.projectRootPath, 749 … toUnixPath(filePath).replace(toUnixPath(this.rollup.share.projectConfig.projectRootPath), ''); 751 moduleMode.genFileCachePath(filePath, this.rollup.share.projectConfig.projectRootPath, 767 … toUnixPath(filePath).replace(toUnixPath(this.rollup.share.projectConfig.projectRootPath), ''); 769 moduleMode.genFileCachePath(filePath, this.rollup.share.projectConfig.projectRootPath, 783 … toUnixPath(filePath).replace(toUnixPath(this.rollup.share.projectConfig.projectRootPath), ''); 785 moduleMode.genFileCachePath(filePath, this.rollup.share.projectConfig.projectRootPath, 797 const filePath = `${projectConfig.projectRootPath}/${TEST_TS}`; 798 const sufStr = toUnixPath(filePath).replace(toUnixPath(projectConfig.projectRootPath), ''); [all …]
|
| /developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/bundle/ |
| D | bundle_mode.ts | 249 if (!this.arkConfig.isDebug && this.projectConfig.projectRootPath) { 250 sourceFile = sourceFile.replace(this.projectConfig.projectRootPath + path.sep, ''); 405 this.projectConfig.projectRootPath + path.sep, ''));
|
| /developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/common/ |
| D | process_ark_config.ts | 88 arkProjectConfig.projectRootPath = buildJsonInfo.projectRootPath;
|
| /developtools/ace_js2bundle/ace-loader/ |
| D | main.product.js | 163 process.env.projectRootPath = content["projectRootPath"]
|
| D | webpack.rich.config.js | 406 return `webpack:///${info.absoluteResourcePath.replace(process.env.projectRootPath, '')}`;
|
| /developtools/ace_ets2bundle/compiler/ |
| D | webpack.config.js | 266 return `webpack:///${info.absoluteResourcePath.replace(projectConfig.projectRootPath, '')}`;
|
| /developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/common/ |
| D | ark_utils.test.ts | 312 …h(moduleSource.moduleId).replace(toUnixPath(moduleSource.projectConfig.projectRootPath) + '/', '');
|
| /developtools/ace_js2bundle/ace-loader/src/ |
| D | genAbc-plugin.js | 200 sourceFile = toUnixPath(sourceFile.replace(buildJsonInfo.projectRootPath + path.sep, ''));
|