Lines Matching refs:pjoin
74 const pjoin = path.join; constant
77 const VERSION_SCRIPT = pjoin(ROOT_DIR, 'tools/write_version_header.py');
96 outDir: pjoin(ROOT_DIR, 'out/ui'),
139 cfg.outUiDir = ensureDir(pjoin(cfg.outDir, 'ui'), clean);
140 cfg.outExtDir = ensureDir(pjoin(cfg.outUiDir, 'chrome_extension'));
141 cfg.outDistRootDir = ensureDir(pjoin(cfg.outUiDir, 'dist'));
144 cfg.outDistDir = ensureDir(pjoin(cfg.outDistRootDir, cfg.version));
145 cfg.outTscDir = ensureDir(pjoin(cfg.outUiDir, 'tsc'));
146 cfg.outGenDir = ensureDir(pjoin(cfg.outUiDir, 'tsc/gen'));
161 const installBuildDeps = pjoin(ROOT_DIR, 'tools/install-build-deps');
162 const checkDepsPath = pjoin(cfg.outDir, '.check_deps');
208 args.push('--projects', pjoin(ROOT_DIR, 'ui/config', cfgFile));
224 fs.writeFileSync(pjoin(cfg.outDistDir, 'index.html'), html);
232 fs.writeFileSync(pjoin(cfg.outDistRootDir, 'index.html'), html);
238 addTask(cp, [src, pjoin(cfg.outDistDir, 'assets', dst)]);
242 const src = pjoin(ROOT_DIR, 'ui/src/assets/perfetto.scss');
243 const dst = pjoin(cfg.outDistDir, 'perfetto.css');
251 const dstJs = pjoin(cfg.outGenDir, 'protos.js');
252 const dstTs = pjoin(cfg.outGenDir, 'protos.d.ts');
282 [VERSION_SCRIPT, '--ts_out', pjoin(cfg.outGenDir, 'perfetto_version.ts')];
287 mklink(cfg.outUiDir, pjoin(ROOT_DIR, 'ui/out'));
293 pjoin(cfg.outUiDir, 'dist_version'));
296 pjoin(ROOT_DIR, 'ui/node_modules'), pjoin(cfg.outTscDir, 'node_modules'))
305 addTask(exec, [pjoin(ROOT_DIR, 'tools/gn'), gnArgs]);
309 addTask(exec, [pjoin(ROOT_DIR, 'tools/ninja'), ninjaArgs]);
312 const wasmOutDir = pjoin(cfg.outDir, 'wasm');
317 addTask(cp, [src, pjoin(cfg.outDistDir, wasmMod + ext)]);
322 addTask(cp, [pjoin(wasmOutDir, fname), pjoin(cfg.outGenDir, fname)]);
330 const args = ['--project', pjoin(ROOT_DIR, project)];
341 const rcfg = pjoin(ROOT_DIR, 'ui/config', cfgName);
368 fs.writeFileSync(pjoin(cfg.outDistDir, 'manifest.json'), manifestJson);
442 pjoin(ROOT_DIR, 'ui/src/assets/logo-128.png'),
443 pjoin(cfg.outExtDir, 'logo-128.png')
446 pjoin(ROOT_DIR, 'ui/src/chrome_extension/manifest.json'),
447 pjoin(cfg.outExtDir, 'manifest.json')
504 const absDir = path.isAbsolute(dir) ? dir : pjoin(ROOT_DIR, dir);
553 const modPath = pjoin(ROOT_DIR, 'ui/node_modules/.bin', module);
554 const nodeBin = pjoin(ROOT_DIR, 'tools/node');
588 const childPath = pjoin(dir, child);