Lines Matching refs:env
42 def isAvailable (self, env):
45 def run (self, env):
56 def run (self, env):
57 args = [pythonExecutable, os.path.join(env.srcDir, self.scriptPath)]
60 args += self.getExtraArgs(env)
72 def isAvailable (self, env):
83 def isAvailable (self, env):
86 def getBuildConfig (self, env, buildDir):
88 return BuildConfig(buildDir, self.buildType, args, env.srcDir)
94 def getBuildConfig (self, env, buildDir):
96 return BuildConfig(buildDir, self.buildType, args, env.srcDir)
107 def isAvailable (self, env):
108 return self.configGen.isAvailable(env) and self.generator != None and self.generator.isAvailable()
110 def run (self, env):
111 # specialize config for env
112 buildDir = os.path.join(env.tmpDir, self.buildDir)
113 curConfig = self.configGen.getBuildConfig(env, buildDir)
121 def run (self, env):
122 pushWorkingDir(env.srcDir)
135 if step.isAvailable(env):
137 step.run(env)
152 RunScript(os.path.join("external", "fetch_sources.py"), lambda env: ["--force"])
193 RunScript(os.path.join("external", "vulkancts", "scripts", "gen_framework.py"), lambda env: ["--api", "SC"] ),
194 RunScript(os.path.join("external", "vulkancts", "scripts", "gen_framework_c.py"), lambda env: ["--api", "SC"] ),
202 lambda env: ["--build-dir", os.path.join(env.tmpDir, "android-mustpass")]),
206 lambda env: ["--build-dir", os.path.join(env.tmpDir, "vulkan-mustpass")]),
210 lambda env: ["--build-type", "Release",
211 "--build-dir", os.path.join(env.tmpDir, "spirv-binaries"),
212 "--dst-path", os.path.join(env.tmpDir, "spirv-binaries")]),
216 lambda env: ["--build-type", "Release",
217 "--build-dir", os.path.join(env.tmpDir, "amber-verify"),
218 "--dst-path", os.path.join(env.tmpDir, "amber-verify")]),
283 env = Environment(args.srcDir, args.tmpDir)
288 if step.isAvailable(env):