Home
last modified time | relevance | path

Searched refs:cflags (Results 1 – 25 of 27) sorted by relevance

12

/build/soong/rust/
Dbindgen.go134 var cflags []string
140 cflags = append(cflags, "${cc_config.CommonClangGlobalCflags}")
142 cflags = append(cflags, "${cc_config.DeviceClangGlobalCflags}")
146 cflags = append(cflags, "-target "+ccToolchain.ClangTriple())
147 cflags = append(cflags, strings.ReplaceAll(ccToolchain.ClangCflags(), "${config.", "${cc_config."))
148cflags = append(cflags, strings.ReplaceAll(ccToolchain.ToolchainClangCflags(), "${config.", "${cc_…
151 cflags = append(cflags, deps.depClangFlags...)
153 cflags = append(cflags, "-I"+include.String())
156 cflags = append(cflags, "-isystem "+include.String())
174 cflags = append(cflags, esc(b.ClangProperties.Cflags)...)
[all …]
Dbindgen_test.go32 cflags: ["--clang-flag()"],
51 cflags: ["--default-flag"],
155 cflags: ["-x c++"]
167 cflags: ["-std=foo"]
/build/soong/android/
Dsoong_config_modules_test.go97 cflags: ["DEFAULT"],
102 cflags: ["-DGENERIC"],
107 cflags: ["-DSOC_A"],
110 cflags: ["-DSOC_B"],
114 cflags: ["-DSOC_CONDITIONS_DEFAULT"],
118 cflags: ["-DSIZE=%s"],
120 cflags: ["-DSIZE=CONDITIONS_DEFAULT"],
125 cflags: ["-DF1_CONDITIONS_DEFAULT"],
127 cflags: ["-DFEATURE1"],
130 cflags: ["-DFEATURE2"],
[all …]
Dneverallow_test.go164 cflags: ["-DSHOULD_NOT_EXIST"],
182 cflags: ["-DSHOULD_NOT_EXIST"],
199 cflags: ["-DSHOULD_NOT_EXIST"],
Dvariable_test.go175 cflags: ["-DBAR"],
/build/soong/cc/
Dlibrary_headers_test.go37 cflags := cc.Args["cFlags"]
38 if !strings.Contains(cflags, " -Imy_include ") {
39 t.Errorf("cflags for libsystem must contain -Imy_include, but was %#v.", cflags)
58 cflags := cc.Args["cFlags"]
59 if !strings.Contains(cflags, " -Imy_include ") {
60 t.Errorf("cflags for libsystem must contain -Imy_include, but was %#v.", cflags)
Dvendor_public_library_test.go74 cflags := cc.Args["cFlags"]
75 if !strings.Contains(cflags, "-Imy_include") {
76 t.Errorf("cflags for libsystem must contain -Imy_include, but was %#v.", cflags)
Dcflag_artifacts.go145 cflags := ccModule.flags.Local.CFlags
152 if inList(flag, cflags) || inList(flag, cppflags) {
Dlibrary_test.go109 cflags: ["-DFOO"],
135 cflags: ["-DFOO"],
Dcmakelists.go210 func translateToCMake(c compilerParameters, f *os.File, cflags bool, cppflags bool) {
213 if cflags {
Dbuilder.go468 cflags := flags.globalCommonFlags + " " +
503 cflags += " ${config.NoOverrideClangGlobalCflags}"
572 moduleFlags = cflags
/build/soong/bp2build/
Dcc_object_conversion_test.go49 cflags: [
97 cflags: [
273 cflags: ["-fPIC"], // string list
309 cflags: ["-fPIC"],
313 cflags: ["-fPIC"],
317 cflags: ["-Wall"],
321 cflags: ["-Wall"],
359 cflags: ["-fPIC"],
362 cflags: ["-fPIC"],
365 cflags: ["-Wall"],
Dcc_library_conversion_test.go86 cflags: ["-Wall"],
155 cflags: [
235 cflags: [
269 cflags: ["bothflag"],
275 cflags: ["staticflag"],
282 cflags: ["sharedflag"],
498 cflags: ["-include header.h",],
524 cflags: [
/build/soong/bpf/
Dbpf.go74 cflags := []string{
93 cflags = append(cflags, "-I "+dir.String())
96 cflags = append(cflags, bpf.properties.Cflags...)
108 "cFlags": strings.Join(cflags, " "),
/build/make/tools/libhost/
DAndroid.bp14 cflags: [
22 cflags: ["-Wno-unused-parameter"],
/build/soong/cc/config/
Dclang.go232 func ClangFilterUnknownCflags(cflags []string) []string {
233 result, _ := android.FilterList(cflags, ClangUnknownCflags)
Dx86_device.go130 for variant, cflags := range x86ArchVariantCflags {
132 strings.Join(ClangFilterUnknownCflags(cflags), " "))
Dx86_64_device.go119 for variant, cflags := range x86_64ArchVariantCflags {
121 strings.Join(ClangFilterUnknownCflags(cflags), " "))
/build/make/tools/zipalign/
DAndroid.bp31 cflags: ["-Wall", "-Werror"],
52 cflags: ["-Wall", "-Werror"],
/build/soong/cc/libbuildversion/
DAndroid.bp11 cflags: ["-fvisibility=hidden"],
/build/make/tools/fs_get_stats/
DAndroid.bp13 cflags: ["-Wall", "-Werror"],
/build/make/tools/acp/
DAndroid.bp17 cflags: ["-Wall", "-Werror"],
/build/make/tools/atree/
DAndroid.bp21 cflags: ["-Wall", "-Werror"],
/build/make/tools/fs_config/
DAndroid.bp44 cflags: ["-Werror"],
/build/soong/androidmk/androidmk/
Dandroid.go63 "LOCAL_CFLAGS": cflags,
717 func cflags(ctx variableAssignmentContext) error { func

12