• Home
  • Raw
  • Download

Lines Matching +full:0 +full:- +full:all +full:- +full:deps

11     '-D_DEBUG',
12 '-Werror',
13 '-Xclang'
16 '-DHAVE_ARM64_CRC32C=0',
17 '-DUSE_AURA=1',
18 '-DUSE_GLIB=1',
19 '-DUSE_NSS_CERTS=1',
20 '-DUSE_UDEV',
21 '-DUSE_X11=1',
22 '-DWEBRTC_ANDROID_PLATFORM_BUILD=1',
23 '-DWEBRTC_APM_DEBUG_DUMP=0',
24 '-D_FILE_OFFSET_BITS=64',
25 '-D_GNU_SOURCE',
26 '-D_LARGEFILE64_SOURCE',
27 '-D_LARGEFILE_SOURCE',
28 '-Wno-all',
29 '-Wno-error',
30 '-Wno-everything',
31 '-Wno-implicit-const-int-float-conversion',
32 '-Wno-missing-field-initializers',
33 '-Wno-unreachable-code-aggressive',
34 '-Wno-unreachable-code-break',
38 'x86': ['-mavx2', '-mfma', '-msse2', '-msse3'],
39 'x64': ['-mavx2', '-mfma', '-msse2', '-msse3'],
40 'arm': ['-mthumb'],
84 target['deps'] = sorted([FormatName(d) for d in target['deps']])
97 print('// Added automatically by a large-scale-change that took the approach of')
111 print('// large-scale-change included anything that looked like it might be a license')
115 print('// See: http://go/android-license-faq')
126 print(' "SPDX-license-identifier-Apache-2.0",')
127 print(' "SPDX-license-identifier-BSD",')
128 print(' "SPDX-license-identifier-MIT",')
129 print(' "SPDX-license-identifier-Zlib",')
143 # Iterate through all of the targets for each architecture collecting the flags that
144 # are the same for all targets in that architecture. Use a list instead of a set
145 # to maintain the flag ordering, which may be significant (e.g. -Wno-shadow has to
146 # come after -Wshadow).
166 # Iterate through all of the architectures collecting the flags that are the same
167 # for all targets in all architectures.
179 # Remove the global default flags from the per-architecture default flags
197 for typ in sorted(in_default.keys() - {'arch'}):
199 if len(flags) > 0:
200 print(' {0}: ['.format(FLAG_NAME_MAP[typ]))
202 print(' "{0}",'.format(flag.replace('"', '\\"')))
219 print(' "libprotobuf-cpp-full",')
220 print(' "libprotobuf-cpp-lite",')
233 print(' {0}: {{'.format(ARCH_NAME_MAP[a]))
236 if len(flags) > 0:
237 print(' {0}: ['.format(FLAG_NAME_MAP[typ]))
239 print(' "{0}",'.format(flag.replace('"', '\\"')))
255 if len(target[flag_type]) == 0:
271 for d in target.get('deps', []):
280 for d in x.get('deps', []):
283 target[field][a] -= target[field]['global']
293 # arch is not defined for filegroups so put all the sources in the top level,
298 if len(sources) == 0:
304 print(' name: "{0}",'.format(name))
305 print(' srcs: {0},'.format(FormatList(sources)))
313 print(' name: "{0}",'.format(name))
316 print(' srcs: {0},'.format(FormatList(sources)))
320 if len(asmflags) > 0:
321 print(' asflags: {0},'.format(FormatList(asmflags)))
324 print(' cflags: {0},'.format(FormatList(cflags)))
327 if len(cflags_c) > 0:
328 print(' conlyflags: {0},'.format(FormatList(cflags_c)))
331 if len(cflags_cc) > 0:
332 print(' cppflags: {0},'.format(FormatList(cflags_cc)))
333 …static_libs = sorted([d for d in target.get('deps', []) if targets[d]['type'] == 'static_library'])
334 if len(static_libs) > 0:
335 print(' static_libs: {0},'.format(FormatList(static_libs)))
345 print(' cflags: {0},'.format(FormatList(cflags)))
348 if len(cflags_c) > 0:
349 print(' conlyflags: {0},'.format(FormatList(cflags_c)))
352 if len(cflags_cc) > 0:
353 print(' cppflags: {0},'.format(FormatList(cflags_cc)))
354 if 'deps' in arch:
355 static_libs = [d for d in arch['deps'] if targets[d]['type'] == 'static_library']
356 print(' static_libs: {0},'.format(FormatList(static_libs)))
359 print(' srcs: {0},'.format(FormatList(sources)))
361 print(' enabled: {0},'.format(arch['enabled']))
370 while len(stack) > 0:
375 stack += targets[nxt]['deps']
380 if 'deps' in arch:
381 stack += arch['deps']
395 … target['cflags'] = target.get('cflags', []) + ['-D{0}'.format(d) for d in target['defines']]
400 if len(sources) > 0:
421 # Skip all "action" targets
428 target['deps'] = [d for d in target['deps'] if d not in ignored_targets]
437 deps = set()
439 for ss in [targets[n].get('deps', []) for n in source_sets[a]]:
440 deps |= set(ss)
442 … for ss in [targets[n].get('arch', {}).get(a, {}).get('deps') for n in source_sets[a]]:
443 deps |= set(ss)
444 source_sets_deps[a] = deps
445 … target['deps'] = sorted(set(target['deps']) | source_sets['global'] | source_sets_deps['global'])
447 deps = source_sets[a] | source_sets_deps[a]
448 if len(deps) == 0:
454 if 'deps' not in target['arch'][a]:
455 target['arch'][a]['deps'] = []
456 deps |= set(target['arch'][a]['deps'])
457 target['arch'][a]['deps'] = sorted(deps)
467 target['deps'] = [d for d in target['deps'] if d not in empty_sets]
475 source_sets = {d for d in target['deps'] if targets[d]['type'] == 'source_set'}
476 target['deps'] = sorted(list(set(target['deps']) - source_sets))
481 if 'deps' in arch:
482 source_sets = {d for d in arch['deps'] if targets[d]['type'] == 'source_set'}
483 if len(source_sets) == 0:
485 arch['deps'] = sorted(list(set(arch['deps']) - source_sets))
503 if len(t) == 0:
516 not_common = {a: s - common for a,s in set_by_arch.items()}
518 if len(common) > 0:
521 if len(s) > 0:
526 # or have the union of those fields from all 4 input targets.
534 if len(t) == 0:
538 'deps',
549 if 'deps' not in arch:
551 deps = arch['deps']
552 if 'deps' not in target:
553 target['deps'] = []
554 target['deps'] += deps
555 arch.pop('deps')
556 if 'deps' in target:
557 target['deps'] = sorted(target['deps'])
561 if len(target['arch'][a]) == 0:
563 if len(target['arch']) == 0:
583 if len(disabledArchs) == 0:
590 if 'deps' in t and n in t['deps']:
592 t['deps'] = sorted(set(t['deps']) - {n})
600 if 'deps' not in t['arch'][a]:
601 t['arch'][a]['deps'] = []
602 t['arch'][a]['deps'] += [n]
631 if nf.startswith("-D"):
634 if i > 0:
636 c = os.system(f"find {directory} -name '*.gn*' | xargs grep -q -s -e '{nf}'")
637 if c != 0:
651 path = "{0}/project_{1}.json".format(dir, arch)
676 print('Unknown type: {0} ({1})'.format(typ, target['name']), file = sys.stderr)
685 print(' whole_static_libs: {0},'.format(FormatList(sorted(webrtc_libs['global']) + ['libpffft', …
688 if len(webrtc_libs[a]) > 0:
689 print(' {0}: {{'.format(ARCH_NAME_MAP[a]))
690 print(' whole_static_libs: {0},'.format(FormatList(sorted(webrtc_libs[a]))))
706 print(' whole_static_libs: {0},'.format(FormatList(sorted(audio_proc_libs['global']) + ['libpfff…
709 if len(audio_proc_libs[a]) > 0:
710 print(' {0}: {{'.format(ARCH_NAME_MAP[a]))
711 print(' whole_static_libs: {0},'.format(FormatList(sorted(audio_proc_libs[a]))))