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('-L', dest='libraries_path', action='append')
51 cc_parser.add_argument('-c', dest='compile', action='store_true')
52 cc_parser.add_argument('-o', dest='target', action='store')
67 path = os.path.realpath(self.ltp_root + os.sep + self.dir_stack[-1]
78 return [self.GetRelativePath(i) for i in paths if i[-1] in extensions]
90 # Support 'ar' command line with or without hyphens (-)
93 # 2. ar -rc "libfoo.a" foo1.o foo2.o; ranlib "libfoo.a"
125 flags.append('-D%s' % define)
127 flags.extend(i for i in unparsed if i.startswith('-Wno'))
146 '''Parses the output of make --dry-run.
149 input_text: string, output of make --dry-run
158 cc_flags['target'] = [ '-flag1', '-flag2', ...]
189 description='Parse the LTP make --dry-run output into a list')
191 '--ltp-root',
196 '--dry-run-file',
199 help='Path to LTP make --dry-run output file')