Lines Matching refs:input_dir

100 def ErrorIfStyleResourceExistsInDir(input_dir):
101 """If a style resource is in input_dir, raises an exception."""
102 for input_filename in build_utils.FindInDirectory(input_dir, '*.xml'):
106 ' should be under ' + input_dir +
206 def GenerateV14LayoutResourcesInDir(input_dir, output_v14_dir, output_v17_dir):
207 """Convert layout resources to API 14 compatible resources in input_dir."""
208 for input_filename in build_utils.FindInDirectory(input_dir, '*.xml'):
209 rel_filename = os.path.relpath(input_filename, input_dir)
216 def GenerateV14StyleResourcesInDir(input_dir, output_v14_dir):
217 """Convert style resources to API 14 compatible resources in input_dir."""
218 for input_filename in build_utils.FindInDirectory(input_dir, '*.xml'):
219 rel_filename = os.path.relpath(input_filename, input_dir)
224 def VerifyV14ResourcesInDir(input_dir, resource_type):
225 """Verify that the resources in input_dir is compatible with v14, i.e., they
228 for input_filename in build_utils.FindInDirectory(input_dir, '*.xml'):
243 def AssertNoDeprecatedAttributesInDir(input_dir, resource_type):
244 """Raises an exception if resources in input_dir have deprecated attributes,
246 for input_filename in build_utils.FindInDirectory(input_dir, '*.xml'):
304 input_dir = os.path.abspath(os.path.join(res_dir, name))
308 VerifyV14ResourcesInDir(input_dir, resource_type)
310 AssertNoDeprecatedAttributesInDir(input_dir, resource_type)
321 GenerateV14LayoutResourcesInDir(input_dir, output_v14_dir,
330 GenerateV14StyleResourcesInDir(input_dir, output_v14_dir)
332 ErrorIfStyleResourceExistsInDir(input_dir)