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(' static_libs: [')
208 print(' "libabsl",')
209 print(' "libaom",')
210 print(' "libevent",')
211 print(' "libopus",')
212 print(' "libsrtp2",')
213 print(' "libvpx",')
214 print(' "libyuv",')
215 print(' "libpffft",')
216 print(' "rnnoise_rnn_vad",')
217 print(' ],')
218 print(' shared_libs: [')
219 print(' "libcrypto",')
220 print(' "libprotobuf-cpp-full",')
221 print(' "libprotobuf-cpp-lite",')
222 print(' "libssl",')
223 print(' ],')
224 print(' host_supported: true,')
225 print(' // vendor needed for libpreprocessing effects.')
226 print(' vendor: true,')
227 print(' target: {')
228 print(' darwin: {')
229 print(' enabled: false,')
230 print(' },')
231 print(' },')
232 print(' arch: {')
234 print(' {0}: {{'.format(ARCH_NAME_MAP[a]))
238 print(' {0}: ['.format(FLAG_NAME_MAP[typ]))
240 print(' "{0}",'.format(flag.replace('"', '\\"')))
241 print(' ],')
242 print(' },')
243 print(' },')
244 print(' visibility: [')
245 print(' "//frameworks/av/media/libeffects/preprocessing:__subpackages__",')
246 print(' "//device/google/cuttlefish/host/frontend/webrtc:__subpackages__",')
247 print(' ],')
248 print('}')
295 print('cc_library_static {')
296 print(' name: "{0}",'.format(name))
297 print(' defaults: ["webrtc_defaults"],')
299 print(' srcs: {0},'.format(FormatList(sources)))
300 print(' host_supported: true,')
304 print(' asflags: {0},'.format(FormatList(asmflags)))
307 print(' cflags: {0},'.format(FormatList(cflags)))
311 print(' conlyflags: {0},'.format(FormatList(cflags_c)))
315 print(' cppflags: {0},'.format(FormatList(cflags_cc)))
317 print(' arch: {')
322 print(' ' + ARCH_NAME_MAP[arch_name] + ': {')
325 print(' cflags: {0},'.format(FormatList(cflags)))
329 print(' conlyflags: {0},'.format(FormatList(cflags_c)))
333 print(' cppflags: {0},'.format(FormatList(cflags_cc)))
336 print(' srcs: {0},'.format(FormatList(sources)))
338 print(' enabled: {0},'.format(arch['enabled']))
339 print(' },')
340 print(' },')
341 print('}')
591 print('wrong number of arguments', file = sys.stderr)
613 print('\n\n')
622 print('Unknown type: {0} ({1})'.format(typ, target['name']), file = sys.stderr)
624 print('\n\n')
627 print('cc_library_static {')
628 print(' name: "libwebrtc",')
629 print(' defaults: ["webrtc_defaults"],')
630 print(' export_include_dirs: ["."],')
631 print(' whole_static_libs: {0},'.format(FormatList(sorted(webrtc_libs['global']) + ['libpffft', …
632 print(' arch: {')
635 print(' {0}: {{'.format(ARCH_NAME_MAP[a]))
636 print(' whole_static_libs: {0},'.format(FormatList(sorted(webrtc_libs[a]))))
637 print(' },')
638 print(' },')
639 print('}')
641 print('\n\n')
644 print('cc_library_static {')
645 print(' name: "webrtc_audio_processing",')
646 print(' defaults: ["webrtc_defaults"],')
647 print(' export_include_dirs: [')
648 print(' ".",')
649 print(' "modules/include",')
650 print(' "modules/audio_processing/include",')
651 print(' ],')
652 print(' whole_static_libs: {0},'.format(FormatList(sorted(audio_proc_libs['global']) + ['libpfff…
653 print(' arch: {')
656 print(' {0}: {{'.format(ARCH_NAME_MAP[a]))
657 print(' whole_static_libs: {0},'.format(FormatList(sorted(audio_proc_libs[a]))))
658 print(' },')
659 print(' },')
660 print('}')