Home
last modified time | relevance | path

Searched refs:Local (Results 1 – 25 of 29) sorted by relevance

12

/build/soong/cc/
Dcompiler.go285 flags.Local.CFlags = append(flags.Local.CFlags, esc(compiler.Properties.Cflags)...)
286 flags.Local.CppFlags = append(flags.Local.CppFlags, esc(compiler.Properties.Cppflags)...)
287 flags.Local.ConlyFlags = append(flags.Local.ConlyFlags, esc(compiler.Properties.Conlyflags)...)
288 flags.Local.AsFlags = append(flags.Local.AsFlags, esc(compiler.Properties.Asflags)...)
289 flags.Local.YasmFlags = append(flags.Local.YasmFlags, esc(compiler.Properties.Asflags)...)
297 flags.Local.CommonFlags = append(flags.Local.CommonFlags, f)
298 flags.Local.YasmFlags = append(flags.Local.YasmFlags, f)
303 flags.Local.CommonFlags = append(flags.Local.CommonFlags, f)
304 flags.Local.YasmFlags = append(flags.Local.YasmFlags, f)
309 flags.Local.CommonFlags = append(flags.Local.CommonFlags, "-I"+modulePath)
[all …]
Dstl.go234 flags.Local.CppFlags = append(flags.Local.CppFlags,
239 flags.Local.CppFlags = append(flags.Local.CppFlags, "-nostdinc++")
245 flags.Local.CppFlags = append(flags.Local.CppFlags, "-fsjlj-exceptions")
247 flags.Local.CppFlags = append(flags.Local.CppFlags,
257 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,--exclude-libs,libunwind_llvm.a")
264 flags.Local.CFlags = append(flags.Local.CFlags, "-isystem "+ndkSrcRoot.String())
268 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,--exclude-libs,libunwind.a")
273 flags.Local.CppFlags = append(flags.Local.CppFlags, "-nostdinc++")
Dsanitize.go439 flags.Local.LdFlags = append(flags.Local.LdFlags,
458 flags.Local.CFlags = append(flags.Local.CFlags, asanCflags...)
459 flags.Local.LdFlags = append(flags.Local.LdFlags, asanLdflags...)
464 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,--no-as-needed")
466 flags.Local.CFlags = append(flags.Local.CFlags, "-mllvm", "-asan-globals=0")
479 flags.Local.CFlags = append(flags.Local.CFlags, hwasanCflags...)
483 flags.Local.CFlags = append(flags.Local.CFlags, "-fsanitize=fuzzer-no-link")
486 _, flags.Local.LdFlags = removeFromList("-flto", flags.Local.LdFlags)
487 _, flags.Local.CFlags = removeFromList("-flto", flags.Local.CFlags)
488 flags.Local.LdFlags = append(flags.Local.LdFlags, "-fno-lto")
[all …]
Dpgo.go92 flags.Local.CFlags = append(flags.Local.CFlags, props.Pgo.Cflags...)
94 flags.Local.CFlags = append(flags.Local.CFlags, profileInstrumentFlag)
98 flags.Local.LdFlags = append(flags.Local.LdFlags, "-u__llvm_profile_runtime")
102 flags.Local.CFlags = append(flags.Local.CFlags, props.Pgo.Cflags...)
104 flags.Local.CFlags = append(flags.Local.CFlags, profileSamplingFlag)
105 flags.Local.LdFlags = append(flags.Local.LdFlags, profileSamplingFlag)
174 flags.Local.CFlags = append(flags.Local.CFlags, profileUseFlags...)
175 flags.Local.LdFlags = append(flags.Local.LdFlags, profileUseFlags...)
183 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,-mllvm,-no-warn-sample-unused=true")
Dcoverage.go89 flags.Local.CommonFlags = append(flags.Local.CommonFlags, "--coverage", "-O0")
93 flags.Local.CFlags = append(flags.Local.CFlags, "-Wno-frame-larger-than=", "-O0")
95 …flags.Local.CommonFlags = append(flags.Local.CommonFlags, "-fprofile-instr-generate", "-fcoverage-…
135 flags.Local.LdFlags = append(flags.Local.LdFlags, "--coverage")
140 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,--wrap,getenv")
142 flags.Local.LdFlags = append(flags.Local.LdFlags, "-fprofile-instr-generate")
Dlto.go85 if inList("-fsanitize=fuzzer-no-link", flags.Local.CFlags) {
97 flags.Local.CFlags = append(flags.Local.CFlags, ltoFlag)
98 flags.Local.LdFlags = append(flags.Local.LdFlags, ltoFlag)
104 flags.Local.LdFlags = append(flags.Local.LdFlags, cacheDirFormat+cacheDir)
110 flags.Local.LdFlags = append(flags.Local.LdFlags, cachePolicyFormat+policy)
116 flags.Local.LdFlags = append(flags.Local.LdFlags,
Dutil.go68 localCommonFlags: strings.Join(in.Local.CommonFlags, " "),
69 localAsFlags: strings.Join(in.Local.AsFlags, " "),
70 localYasmFlags: strings.Join(in.Local.YasmFlags, " "),
71 localCFlags: strings.Join(in.Local.CFlags, " "),
72 localToolingCFlags: strings.Join(in.Local.ToolingCFlags, " "),
73 localToolingCppFlags: strings.Join(in.Local.ToolingCppFlags, " "),
74 localConlyFlags: strings.Join(in.Local.ConlyFlags, " "),
75 localCppFlags: strings.Join(in.Local.CppFlags, " "),
76 localLdFlags: strings.Join(in.Local.LdFlags, " "),
Dproto.go117 flags.Local.CFlags = append(flags.Local.CFlags, "-DGOOGLE_PROTOBUF_NO_RTTI")
121 flags.Local.CommonFlags = append(flags.Local.CommonFlags, "-I"+flags.proto.SubDir.String())
123 flags.Local.CommonFlags = append(flags.Local.CommonFlags, "-I"+flags.proto.Dir.String())
Dsabi.go73 …flags.Local.ToolingCFlags = filterOutWithPrefix(flags.Local.CFlags, config.ClangLibToolingUnknownC…
75 …flags.Local.ToolingCppFlags = filterOutWithPrefix(flags.Local.CppFlags, config.ClangLibToolingUnkn…
Dtest.go245 flags.Local.CFlags = append(flags.Local.CFlags, "-DGTEST_HAS_STD_STRING")
247 flags.Local.CFlags = append(flags.Local.CFlags, "-O0", "-g")
251 flags.Local.CFlags = append(flags.Local.CFlags, "-DGTEST_OS_WINDOWS")
253 flags.Local.CFlags = append(flags.Local.CFlags, "-DGTEST_OS_LINUX")
255 flags.Local.CFlags = append(flags.Local.CFlags, "-DGTEST_OS_MAC")
258 flags.Local.CFlags = append(flags.Local.CFlags, "-DGTEST_OS_LINUX_ANDROID")
Dgen_test.go37 if !inList("-I"+filepath.Dir(aidl.Output.String()), libfoo.flags.Local.CommonFlags) {
61 if !inList("-I"+filepath.Dir(aidl.Output.String()), libfoo.flags.Local.CommonFlags) {
Dcompdb.go156 args = append(args, expandAllVars(ctx, ccModule.flags.Local.CommonFlags)...)
158 args = append(args, expandAllVars(ctx, ccModule.flags.Local.CFlags)...)
161 args = append(args, expandAllVars(ctx, ccModule.flags.Local.CppFlags)...)
164 args = append(args, expandAllVars(ctx, ccModule.flags.Local.ConlyFlags)...)
Dlinker.go405 flags.Local.LdFlags = append(flags.Local.LdFlags, linker.Properties.Host_ldlibs...)
431 …flags.Local.LdFlags = append(flags.Local.LdFlags, proptools.NinjaAndShellEscapeList(linker.Propert…
475 flags.Local.LdFlags = append(flags.Local.LdFlags,
481 flags.Local.LdFlags = append(flags.Local.LdFlags,
Dlibrary.go506 flags.Local.CFlags = append(flags.Local.CFlags, library.StaticProperties.Static.Cflags...)
508 flags.Local.CFlags = append(flags.Local.CFlags, library.SharedProperties.Shared.Cflags...)
549 flags.Local.CommonFlags = append(flags.Local.CommonFlags, f)
550 flags.Local.YasmFlags = append(flags.Local.YasmFlags, f)
570 flags.Local.CommonFlags = removeInclude(flags.Local.CommonFlags)
571 flags.Local.CFlags = removeInclude(flags.Local.CFlags)
934 …flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,-unexported_symbols_list,"+unexportedSymbol…
938 …flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,-force_symbols_not_weak_list,"+forceNotWeak…
942 …flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,-force_symbols_weak_list,"+forceWeakSymbols…
948 flags.Local.LdFlags = append(flags.Local.LdFlags, linkerScriptFlags)
[all …]
Dbinary.go260 if !inList("-shared", flags.Local.LdFlags) {
331 flags.Local.LdFlags = append(flags.Local.LdFlags, "$$(cat "+deps.LinkerFlagsFile.String()+")")
336 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,-dynamic-linker,"+flags.DynamicLinker)
338 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,--no-dynamic-linker")
Dccdeps.go215 dpInfo.Local_Common_Flags = parseCompilerCCParameters(ctx, ccModule.flags.Local.CommonFlags)
217 dpInfo.Local_C_flags = parseCompilerCCParameters(ctx, ccModule.flags.Local.CFlags)
219 dpInfo.Local_C_only_flags = parseCompilerCCParameters(ctx, ccModule.flags.Local.ConlyFlags)
221 dpInfo.Local_Cpp_flags = parseCompilerCCParameters(ctx, ccModule.flags.Local.CppFlags)
Dndk_library.go257 if inList("-fvisibility=hidden", flags.Local.CFlags) {
258 flags.Local.CFlags = append(flags.Local.CFlags, "-fvisibility=default")
350 flags.Local.LdFlags = append(flags.Local.LdFlags, linkerScriptFlag)
Dvendor_public_library.go127 flags.Local.LdFlags = append(flags.Local.LdFlags, linkerScriptFlag)
Dcmakelists.go170 localAllParameters := parseCompilerParameters(ccModule.flags.Local.CommonFlags, ctx, f)
178 localCParameters := parseCompilerParameters(ccModule.flags.Local.CFlags, ctx, f)
186 localConlyParameters := parseCompilerParameters(ccModule.flags.Local.ConlyFlags, ctx, f)
194 localCppParameters := parseCompilerParameters(ccModule.flags.Local.CppFlags, ctx, f)
Dobject.go109 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,-T,"+lds.String())
Dcflag_artifacts.go145 cflags := ccModule.flags.Local.CFlags
146 cppflags := ccModule.flags.Local.CppFlags
Dllndk_library.go140 flags.Local.LdFlags = append(flags.Local.LdFlags, linkerScriptFlag)
Dcc.go179 Local LocalOrGlobalFlags member
1523 flags.Local.CFlags, _ = filterList(flags.Local.CFlags, config.IllegalFlags)
1524 flags.Local.CppFlags, _ = filterList(flags.Local.CppFlags, config.IllegalFlags)
1525 flags.Local.ConlyFlags, _ = filterList(flags.Local.ConlyFlags, config.IllegalFlags)
1527 flags.Local.CommonFlags = append(flags.Local.CommonFlags, deps.Flags...)
1530 flags.Local.CommonFlags = append(flags.Local.CommonFlags, "-I"+dir.String())
1533 flags.Local.CommonFlags = append(flags.Local.CommonFlags, "-isystem "+dir.String())
1542 flags.AssemblerWithCpp = inList("-xassembler-with-cpp", flags.Local.AsFlags)
1546 ctx.Variable(pctx, "cflags", strings.Join(flags.Local.CFlags, " "))
1547 ctx.Variable(pctx, "cppflags", strings.Join(flags.Local.CppFlags, " "))
[all …]
Dfuzz.go118 flags.Local.LdFlags = append(flags.Local.LdFlags, `-Wl,-rpath,\$$ORIGIN/../lib`)
119 flags.Local.LdFlags = append(flags.Local.LdFlags, `-Wl,-rpath,\$$ORIGIN/lib`)
/build/make/tools/zipalign/
DREADME.txt22 the "extra" field in the zip Local File Header sections. Existing data

12