Lines Matching +full:additional +full:- +full:args
5 # Use of this source code is governed by a BSD-style license
7 # tree. An additional intellectual property rights grant can be found
15 .aar-file is just a zip-archive containing the files of the library. The file
17 - AndroidManifest.xml
18 - classes.jar
19 - libs/
20 - armeabi-v7a/
21 - libjingle_peerconnection_so.so
22 - x86/
23 - libjingle_peerconnection_so.so
37 DEFAULT_ARCHS = ['armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64']
56 '--build-dir',
59 parser.add_argument('--output',
63 parser.add_argument('--arch',
67 parser.add_argument('--use-goma',
71 parser.add_argument('--use-remoteexec',
75 parser.add_argument('--use-unstripped-libs',
79 parser.add_argument('--verbose',
84 '--extra-gn-args',
87 help="""Additional GN arguments to be used during Ninja generation.
88 These are passed to gn inside `--args` switch and
92 build_aar.py --extra-gn-args='is_debug=true'""")
94 '--extra-ninja-switches',
97 help="""Additional Ninja switches to be used during compilation.
100 build_aar.py --extra-ninja-switches='-v'""")
102 '--extra-gn-switches',
105 help="""Additional GN switches to be used during compilation.
108 build_aar.py --extra-gn-switches='-v'""")
112 def _RunGN(args): argument
117 cmd.extend(args)
122 def _RunNinja(output_directory, args): argument
124 os.path.join(find_depot_tools.DEPOT_TOOLS_PATH, 'ninja'), '-C',
127 cmd.extend(args)
148 if arch in ['armeabi', 'armeabi-v7a']:
150 if arch == 'arm64-v8a':
163 if arch == 'armeabi-v7a':
165 if arch in ['arm64-v8a', 'x86', 'x86_64']:
187 gn_args_str = '--args=' + ' '.join(
196 ninja_args.extend(['-j', '200'])
202 """Collects architecture independent files into the .aar-archive."""
210 """Collects architecture specific files into the .aar-archive."""
260 args = _ParseArgs()
261 logging.basicConfig(level=logging.DEBUG if args.verbose else logging.INFO)
263 BuildAar(args.arch, args.output, args.use_goma, args.use_remoteexec,
264 args.extra_gn_args, args.build_dir, args.extra_gn_switches,
265 args.extra_ninja_switches, args.use_unstripped_libs)