Lines Matching +full:dry +full:- +full:run
3 # Copyright 2016 - The Android Open Source Project
9 # http://www.apache.org/licenses/LICENSE-2.0
31 '''Parses the output of make --dry-run.
45 ar_parser.add_argument('-r', dest='r', action='store_true')
46 ar_parser.add_argument('-c', dest='c', action='store')
50 as_parser.add_argument('-c', dest='compile', action='store_true')
51 as_parser.add_argument('-o', dest='target', action='store')
55 cc_parser.add_argument('-D', dest='defines', action='append')
56 cc_parser.add_argument('-I', dest='includes', action='append')
57 cc_parser.add_argument('-l', dest='libraries', action='append')
58 cc_parser.add_argument('-L', dest='libraries_path', action='append')
59 cc_parser.add_argument('-c', dest='compile', action='store_true')
60 cc_parser.add_argument('-o', dest='target', action='store')
75 path = os.path.realpath(self.ltp_root + os.sep + self.dir_stack[-1]
86 return [self.GetRelativePath(i) for i in paths if i[-1] in extensions]
98 # Support 'ar' command line with or without hyphens (-)
101 # 2. ar -rc "libfoo.a" foo1.o foo2.o; ranlib "libfoo.a"
151 flags.append('-D%s' % define)
153 flags.extend(i for i in unparsed if i.startswith('-Wno'))
172 '''Parses the output of make --dry-run.
175 input_text: string, output of make --dry-run
184 cc_flags['target'] = [ '-flag1', '-flag2', ...]
217 description='Parse the LTP make --dry-run output into a list')
219 '--ltp-root',
224 '--dry-run-file',
227 help='Path to LTP make --dry-run output file')