Home
last modified time | relevance | path

Searched refs:projectPath (Results 1 – 3 of 3) sorted by relevance

/arkcompiler/ets_frontend/arkguard/src/common/
DApiReader.ts70 for (const projectPath of projectPaths) { constant
71 if (!fs.existsSync(projectPath)) {
72 console.error(`File ${FileUtils.getFileName(projectPath)} is not found.`);
76 const sourcPath = isOHProject ? path.join(projectPath, 'src', 'main') : projectPath;
78 const sdkProperties: string[] = readThirdPartyLibProperties(projectPath);
93 function readThirdPartyLibProperties(projectPath: string): string[] {
96 if (!fs.lstatSync(projectPath).isDirectory()) {
101 const fileNames: string[] = fs.readdirSync(projectPath);
108 throw new Error(`There are both node_modules and oh_modules folders in ${projectPath}`);
113 filePath = path.join(projectPath, 'node_modules');
[all …]
DApiExtractor.ts542 export function parseCommonProject(projectPath): string[] {
545 if (fs.lstatSync(projectPath).isFile()) {
546 … if (projectPath.endsWith('.ets') || projectPath.endsWith('.ts') || projectPath.endsWith('.js')) {
547 parseFile(projectPath, ApiType.PROJECT);
550 traverseApiFiles(projectPath, ApiType.PROJECT);
/arkcompiler/ets_frontend/legacy_bin/api8/src/
Dindex.js2projectPath:n,buildOrder:a,getCompilerOptions:function(){return i.options},getCurrentDirectory:fun…