Lines Matching full:print
78 print('/* From target:')
80 print(json.dumps(target, sort_keys = True, indent = 4))
82 print(target['original_name'])
83 print('*/')
102 print('package {')
103 print(' default_applicable_licenses: ["external_webrtc_license"],')
104 print('}')
105 print('')
106 print('// Added automatically by a large-scale-change that took the approach of')
107 print('// \'apply every license found to every target\'. While this makes sure we respect')
108 print('// every license restriction, it may not be entirely correct.')
109 print('//')
110 print('// e.g. GPL in an MIT project might only apply to the contrib/ directory.')
111 print('//')
112 print('// Please consider splitting the single license below into multiple licenses,')
113 print('// taking care not to lose any license_kind information, and overriding the')
114 print('// default license using the \'licenses: [...]\' property on targets as needed.')
115 print('//')
116 print('// For unused files, consider creating a \'fileGroup\' with "//visibility:private"')
117 print('// to attach the license to, and including a comment whether the files may be')
118 print('// used in the current project.')
119 print('//')
120 print('// large-scale-change included anything that looked like it might be a license')
121 print('// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc.')
122 print('//')
123 print('// Please consider removing redundant or irrelevant files from \'license_text:\'.')
124 print('// See: http://go/android-license-faq')
125 print('')
126 print('///////////////////////////////////////////////////////////////////////////////')
127 print('// Do not edit this file directly, it\'s automatically generated by a script. //')
128 print('// Modify android_tools/generate_android_bp.py and run that instead. //')
129 print('///////////////////////////////////////////////////////////////////////////////')
130 print('')
131 print('license {')
132 print(' name: "external_webrtc_license",')
133 print(' visibility: [":__subpackages__"],')
134 print(' license_kinds: [')
135 print(' "SPDX-license-identifier-Apache-2.0",')
136 print(' "SPDX-license-identifier-BSD",')
137 print(' "SPDX-license-identifier-MIT",')
138 print(' "SPDX-license-identifier-Zlib",')
139 print(' "legacy_notice",')
140 print(' "legacy_unencumbered",')
141 print(' ],')
142 print(' license_text: [')
143 print(' "LICENSE",')
144 print(' "PATENTS",')
145 print(' "license_template.txt",')
146 print(' ],')
147 print('}')
199 print('cc_defaults {')
200 print(' name: "webrtc_defaults",')
201 print(' local_include_dirs: [')
202 print(' ".",')
203 print(' "webrtc",')
204 print(' "third_party/crc32c/src/include",')
205 print(' ],')
209 print(' {0}: ['.format(FLAG_NAME_MAP[typ]))
211 print(' "{0}",'.format(flag.replace('"', '\\"')))
212 print(' ],')
213 print(' static_libs: [')
214 print(' "libabsl",')
215 print(' "libaom",')
216 print(' "libevent",')
217 print(' "libopus",')
218 print(' "libsrtp2",')
219 print(' "libvpx",')
220 print(' "libyuv",')
221 print(' "libpffft",')
222 print(' "rnnoise_rnn_vad",')
223 print(' ],')
224 print(' shared_libs: [')
225 print(' "libcrypto",')
226 print(' "libprotobuf-cpp-full",')
227 print(' "libprotobuf-cpp-lite",')
228 print(' "libssl",')
229 print(' ],')
230 print(' host_supported: true,')
231 print(' // vendor needed for libpreprocessing effects.')
232 print(' vendor: true,')
233 print(' target: {')
234 print(' darwin: {')
235 print(' enabled: false,')
236 print(' },')
237 print(' },')
238 print(' arch: {')
240 print(' {0}: {{'.format(ARCH_NAME_MAP[a]))
244 print(' {0}: ['.format(FLAG_NAME_MAP[typ]))
246 print(' "{0}",'.format(flag.replace('"', '\\"')))
247 print(' ],')
248 print(' },')
249 print(' },')
250 print(' visibility: [')
251 print(' "//frameworks/av/media/libeffects/preprocessing:__subpackages__",')
252 print(' "//device/google/cuttlefish/host/frontend/webrtc:__subpackages__",')
253 print(' ],')
254 print('}')
301 print('cc_library_static {')
302 print(' name: "{0}",'.format(name))
303 print(' defaults: ["webrtc_defaults"],')
305 print(' srcs: {0},'.format(FormatList(sources)))
306 print(' host_supported: true,')
310 print(' asflags: {0},'.format(FormatList(asmflags)))
313 print(' cflags: {0},'.format(FormatList(cflags)))
317 print(' conlyflags: {0},'.format(FormatList(cflags_c)))
321 print(' cppflags: {0},'.format(FormatList(cflags_cc)))
323 print(' arch: {')
328 print(' ' + ARCH_NAME_MAP[arch_name] + ': {')
331 print(' cflags: {0},'.format(FormatList(cflags)))
335 print(' conlyflags: {0},'.format(FormatList(cflags_c)))
339 print(' cppflags: {0},'.format(FormatList(cflags_cc)))
342 print(' srcs: {0},'.format(FormatList(sources)))
344 print(' enabled: {0},'.format(arch['enabled']))
345 print(' },')
346 print(' },')
347 print('}')
597 print('wrong number of arguments', file = sys.stderr)
619 print('\n\n')
628 print('Unknown type: {0} ({1})'.format(typ, target['name']), file = sys.stderr)
630 print('\n\n')
633 print('cc_library_static {')
634 print(' name: "libwebrtc",')
635 print(' defaults: ["webrtc_defaults"],')
636 print(' export_include_dirs: ["."],')
637 print(' whole_static_libs: {0},'.format(FormatList(sorted(webrtc_libs['global']) + ['libpffft', …
638 print(' arch: {')
641 print(' {0}: {{'.format(ARCH_NAME_MAP[a]))
642 print(' whole_static_libs: {0},'.format(FormatList(sorted(webrtc_libs[a]))))
643 print(' },')
644 print(' },')
645 print('}')
647 print('\n\n')
650 print('cc_library_static {')
651 print(' name: "webrtc_audio_processing",')
652 print(' defaults: ["webrtc_defaults"],')
653 print(' export_include_dirs: [')
654 print(' ".",')
655 print(' "modules/include",')
656 print(' "modules/audio_processing/include",')
657 print(' ],')
658 print(' whole_static_libs: {0},'.format(FormatList(sorted(audio_proc_libs['global']) + ['libpfff…
659 print(' arch: {')
662 print(' {0}: {{'.format(ARCH_NAME_MAP[a]))
663 print(' whole_static_libs: {0},'.format(FormatList(sorted(audio_proc_libs[a]))))
664 print(' },')
665 print(' },')
666 print('}')