Lines Matching full:print
72 print('/* From target:')
74 print(json.dumps(target, sort_keys = True, indent = 4))
76 print(target['original_name'])
77 print('*/')
96 print('package {')
97 print(' default_applicable_licenses: ["external_webrtc_license"],')
98 print('}')
99 print('')
100 print('// Added automatically by a large-scale-change that took the approach of')
101 print('// \'apply every license found to every target\'. While this makes sure we respect')
102 print('// every license restriction, it may not be entirely correct.')
103 print('//')
104 print('// e.g. GPL in an MIT project might only apply to the contrib/ directory.')
105 print('//')
106 print('// Please consider splitting the single license below into multiple licenses,')
107 print('// taking care not to lose any license_kind information, and overriding the')
108 print('// default license using the \'licenses: [...]\' property on targets as needed.')
109 print('//')
110 print('// For unused files, consider creating a \'fileGroup\' with "//visibility:private"')
111 print('// to attach the license to, and including a comment whether the files may be')
112 print('// used in the current project.')
113 print('//')
114 print('// large-scale-change included anything that looked like it might be a license')
115 print('// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc.')
116 print('//')
117 print('// Please consider removing redundant or irrelevant files from \'license_text:\'.')
118 print('// See: http://go/android-license-faq')
119 print('')
120 print('///////////////////////////////////////////////////////////////////////////////')
121 print('// Do not edit this file directly, it\'s automatically generated by a script. //')
122 print('// Modify android_tools/generate_android_bp.py and run that instead. //')
123 print('///////////////////////////////////////////////////////////////////////////////')
124 print('')
125 print('license {')
126 print(' name: "external_webrtc_license",')
127 print(' visibility: [":__subpackages__"],')
128 print(' license_kinds: [')
129 print(' "SPDX-license-identifier-Apache-2.0",')
130 print(' "SPDX-license-identifier-BSD",')
131 print(' "SPDX-license-identifier-MIT",')
132 print(' "SPDX-license-identifier-Zlib",')
133 print(' "legacy_notice",')
134 print(' "legacy_unencumbered",')
135 print(' ],')
136 print(' license_text: [')
137 print(' "LICENSE",')
138 print(' "PATENTS",')
139 print(' "license_template.txt",')
140 print(' ],')
141 print('}')
193 print('cc_defaults {')
194 print(' name: "webrtc_defaults",')
195 print(' local_include_dirs: [')
196 print(' ".",')
197 print(' "webrtc",')
198 print(' "third_party/crc32c/src/include",')
199 print(' ],')
203 print(' {0}: ['.format(FLAG_NAME_MAP[typ]))
205 print(' "{0}",'.format(flag.replace('"', '\\"')))
206 print(' ],')
207 print(' header_libs: [')
208 print(' "libwebrtc_absl_headers",')
209 print(' ],')
210 print(' static_libs: [')
211 print(' "libaom",')
212 print(' "libevent",')
213 print(' "libopus",')
214 print(' "libsrtp2",')
215 print(' "libvpx",')
216 print(' "libyuv",')
217 print(' "libpffft",')
218 print(' "rnnoise_rnn_vad",')
219 print(' ],')
220 print(' shared_libs: [')
221 print(' "libcrypto",')
222 print(' "libprotobuf-cpp-full",')
223 print(' "libprotobuf-cpp-lite",')
224 print(' "libssl",')
225 print(' ],')
226 print(' host_supported: true,')
227 print(' // vendor needed for libpreprocessing effects.')
228 print(' vendor: true,')
229 print(' target: {')
230 print(' darwin: {')
231 print(' enabled: false,')
232 print(' },')
233 print(' },')
234 print(' arch: {')
236 print(' {0}: {{'.format(ARCH_NAME_MAP[a]))
240 print(' {0}: ['.format(FLAG_NAME_MAP[typ]))
242 print(' "{0}",'.format(flag.replace('"', '\\"')))
243 print(' ],')
244 print(' },')
245 print(' },')
246 print(' visibility: [')
247 print(' "//frameworks/av/media/libeffects/preprocessing:__subpackages__",')
248 print(' "//device/google/cuttlefish/host/frontend/webrtc:__subpackages__",')
249 print(' ],')
250 print('}')
297 print('cc_library_static {')
298 print(' name: "{0}",'.format(name))
299 print(' defaults: ["webrtc_defaults"],')
301 print(' srcs: {0},'.format(FormatList(sources)))
302 print(' host_supported: true,')
306 print(' asflags: {0},'.format(FormatList(asmflags)))
309 print(' cflags: {0},'.format(FormatList(cflags)))
313 print(' conlyflags: {0},'.format(FormatList(cflags_c)))
317 print(' cppflags: {0},'.format(FormatList(cflags_cc)))
319 print(' arch: {')
324 print(' ' + ARCH_NAME_MAP[arch_name] + ': {')
327 print(' cflags: {0},'.format(FormatList(cflags)))
331 print(' conlyflags: {0},'.format(FormatList(cflags_c)))
335 print(' cppflags: {0},'.format(FormatList(cflags_cc)))
338 print(' srcs: {0},'.format(FormatList(sources)))
340 print(' enabled: {0},'.format(arch['enabled']))
341 print(' },')
342 print(' },')
343 print('}')
587 print('wrong number of arguments', file = sys.stderr)
609 print('\n\n')
618 print('Unknown type: {0} ({1})'.format(typ, target['name']), file = sys.stderr)
620 print('\n\n')
623 print('cc_library_static {')
624 print(' name: "libwebrtc",')
625 print(' defaults: ["webrtc_defaults"],')
626 print(' export_include_dirs: ["."],')
627 print(' whole_static_libs: {0},'.format(FormatList(sorted(webrtc_libs['global']) + ['libpffft', …
628 print(' arch: {')
631 print(' {0}: {{'.format(ARCH_NAME_MAP[a]))
632 print(' whole_static_libs: {0},'.format(FormatList(sorted(webrtc_libs[a]))))
633 print(' },')
634 print(' },')
635 print('}')
637 print('\n\n')
640 print('cc_library_static {')
641 print(' name: "webrtc_audio_processing",')
642 print(' defaults: ["webrtc_defaults"],')
643 print(' export_include_dirs: [')
644 print(' ".",')
645 print(' "modules/include",')
646 print(' "modules/audio_processing/include",')
647 print(' ],')
648 print(' whole_static_libs: {0},'.format(FormatList(sorted(audio_proc_libs['global']) + ['libpfff…
649 print(' arch: {')
652 print(' {0}: {{'.format(ARCH_NAME_MAP[a]))
653 print(' whole_static_libs: {0},'.format(FormatList(sorted(audio_proc_libs[a]))))
654 print(' },')
655 print(' },')
656 print('}')