Home
last modified time | relevance | path

Searched refs:moduleDir (Results 1 – 4 of 4) sorted by relevance

/development/tools/idegen/src/com/android/idegen/
DModuleCache.java54 public Module getAndCacheByDir(File moduleDir) throws IOException { in getAndCacheByDir() argument
55 Preconditions.checkNotNull(moduleDir); in getAndCacheByDir()
57 if (moduleDir.exists()) { in getAndCacheByDir()
58 Module module = getModule(moduleDir); in getAndCacheByDir()
60 module = new Module(moduleDir); in getAndCacheByDir()
62 putModule(moduleDir, module); in getAndCacheByDir()
89 private void putModule(File moduleDir, Module module) throws IOException { in putModule() argument
90 modulesByPath.put(moduleDir.getCanonicalPath(), module); in putModule()
93 private Module getModule(File moduleDir) throws IOException { in getModule() argument
94 return modulesByPath.get(moduleDir.getCanonicalPath()); in getModule()
DModule.java92 public Module(File moduleDir) throws IOException { in Module() argument
93 this(moduleDir, true); in Module()
96 public Module(File moduleDir, boolean parseMakeFileForSource) throws IOException { in Module() argument
97 this.moduleRoot = Preconditions.checkNotNull(moduleDir); in Module()
98 this.makeFile = new File(moduleDir, "Android.mk"); in Module()
230 String moduleDir = getDir().getCanonicalPath(); in buildImlFile() local
236 String relative = src.getCanonicalPath().substring(moduleDir.length()); in buildImlFile()
248 String relative = src.getCanonicalPath().substring(moduleDir.length()); in buildImlFile()
267 imlFile = new File(moduleDir, getName() + ".iml"); in buildImlFile()
DFrameworkModule.java42 public FrameworkModule(File moduleDir) throws IOException { in FrameworkModule() argument
43 super(Preconditions.checkNotNull(moduleDir), false); in FrameworkModule()
DIntellijProject.java72 for (String moduleDir : moduleDirs) { in build()
74 File dir = new File(repoRoot, moduleDir); in build()
76 logger.info("Directory " + moduleDir + " does not exist in " + repoRoot + in build()