• Home
  • Raw
  • Download

Lines Matching refs:options

105   (options, args) = ParseOptions()
106 outdir = options.out
108 if options.app == 'gmscore':
109 options.version = options.version or 'v9'
111 elif options.app == 'youtube':
112 options.version = options.version or '12.22'
114 elif options.app == 'gmail':
115 options.version = options.version or '170604.16'
120 if not options.version in data.VERSIONS.keys():
122 .format(options.version, options.app))
126 version = data.VERSIONS[options.version]
128 if not options.type:
129 options.type = 'deploy' if options.compiler == 'r8' \
132 if options.type not in version:
133 print('No type {} for version {}'.format(options.type, options.version))
136 values = version[options.type]
140 if 'inputs' in values and (options.compiler != 'r8'
141 or options.type != 'deploy'):
148 if options.compiler == 'r8':
151 if 'pgconf' in values and not options.k:
155 if options.k:
156 args.extend(['--pg-conf', options.k])
161 if not options.no_libraries and 'libraries' in values:
169 if options.compiler == 'r8':
173 if options.compiler_flags:
174 args.extend(options.compiler_flags.split(' '))
175 if options.r8_flags:
176 args.extend(options.r8_flags.split(' '))
182 if options.dump_args_file:
183 with open(options.dump_args_file, 'w') as args_file:
187 if options.print_memoryuse and not options.track_memory_to_file:
188 options.track_memory_to_file = os.path.join(temp,
190 if options.compiler == 'd8':
191 d8.run(args, not options.no_build, not options.no_debug,
192 options.profile, options.track_memory_to_file)
204 r8.run(args, not options.no_build, not options.no_debug,
205 options.profile, options.track_memory_to_file)
206 if options.print_memoryuse:
208 .format(options.print_memoryuse,
209 utils.grep_memoryuse(options.track_memory_to_file)))
211 if options.print_runtimeraw:
213 .format(options.print_runtimeraw, 1000.0 * (time.time() - t0)))
215 if options.print_dexsegments:
217 utils.print_dexsegments(options.print_dexsegments, dex_files)