Home
last modified time | relevance | path

Searched refs:projectRootPath (Results 1 – 25 of 26) sorted by relevance

12

/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/module/ohmUrl/
DohmUrl.test.ts26 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/
Dprocess_visual.ts279 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 …]
Dark_utils.ts86 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 …]
Dprocess_module_files.ts61 …eFilePath = toUnixPath(node.fileName).replace(toUnixPath(projectConfig.projectRootPath) + '/', '');
110 …sourceMapJson['sources'] = [toUnixPath(fileName).replace(toUnixPath(projectConfig.projectRootPath)…
Dutils.ts323 …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
Dgen_merged_abc.ts64 const sourceFile: string = info.filePath.replace(projectConfig.projectRootPath + path.sep, '');
120 …tConfig.inOldSymbolTablePath = projectConfig.inOldSymbolTablePath || projectConfig.projectRootPath;
Dgen_abc_plugin.ts147 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…
Dets_checker.ts502 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/
Dproject_config.ts36 projectRootPath: string, property
109 projectRootPath: string;
160 this.projectRootPath = `${proPath}`;
Drollup_plugin_mock.ts111 projectRootPath: projectRootDir,
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/module/
Dmodule_mode.ts305 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 …]
Dmodule_hotfix_mode.ts36 …OldSymbolTablePath = this.projectConfig.inOldSymbolTablePath || this.projectConfig.projectRootPath;
Dmodule_hotreload_mode.ts124 this.projectConfig.projectRootPath.length + path.sep.length);
Dmodule_source_file.ts368 … toUnixPath(this.moduleId.replace(ModuleSourceFile.projectConfig.projectRootPath + path.sep, ''));
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/
Dutils.ts88 …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;
Dtransform.ts80 …const relativeSourceFilePath = toUnixPath(sourceFilePath.replace(projectConfig.projectRootPath + p…
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/utils/
DprocessProjectConfig.ts27 projectConfig.projectRootPath = "/testProjectRootPath";
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/module/
Dmodule_mode.test.ts731 … 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/
Dbundle_mode.ts249 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/
Dprocess_ark_config.ts88 arkProjectConfig.projectRootPath = buildJsonInfo.projectRootPath;
/developtools/ace_js2bundle/ace-loader/
Dmain.product.js163 process.env.projectRootPath = content["projectRootPath"]
Dwebpack.rich.config.js406 return `webpack:///${info.absoluteResourcePath.replace(process.env.projectRootPath, '')}`;
/developtools/ace_ets2bundle/compiler/
Dwebpack.config.js266 return `webpack:///${info.absoluteResourcePath.replace(projectConfig.projectRootPath, '')}`;
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/common/
Dark_utils.test.ts312 …h(moduleSource.moduleId).replace(toUnixPath(moduleSource.projectConfig.projectRootPath) + '/', '');
/developtools/ace_js2bundle/ace-loader/src/
DgenAbc-plugin.js200 sourceFile = toUnixPath(sourceFile.replace(buildJsonInfo.projectRootPath + path.sep, ''));

12