Lines Matching +full:dry +full:- +full:run
2 # Copyright 2016 - The Android Open Source Project
8 # http://www.apache.org/licenses/LICENSE-2.0
29 '''Parses the output of make --dry-run.
42 ar_parser.add_argument('-r', dest='r', action='store_true')
43 ar_parser.add_argument('-c', dest='c', action='store')
47 cc_parser.add_argument('-D', dest='defines', action='append')
48 cc_parser.add_argument('-I', dest='includes', action='append')
49 cc_parser.add_argument('-l', dest='libraries', action='append')
50 cc_parser.add_argument('-c', dest='compile', action='store_true')
51 cc_parser.add_argument('-o', dest='target', action='store')
66 path = os.path.realpath(self.ltp_root + os.sep + self.dir_stack[-1]
77 return [self.GetRelativePath(i) for i in paths if i[-1] in extensions]
89 # Support 'ar' command line with or without hyphens (-)
92 # 2. ar -rc "libfoo.a" foo1.o foo2.o; ranlib "libfoo.a"
124 flags.append('-D%s' % define)
126 flags.extend(i for i in unparsed if i.startswith('-Wno'))
145 '''Parses the output of make --dry-run.
148 input_text: string, output of make --dry-run
157 cc_flags['target'] = [ '-flag1', '-flag2', ...]
188 description='Parse the LTP make --dry-run output into a list')
190 '--ltp-root',
195 '--dry-run-file',
198 help='Path to LTP make --dry-run output file')