Home
last modified time | relevance | path

Searched refs:bp (Results 1 – 25 of 141) sorted by relevance

123456

/build/soong/cmd/extract_apks/
Dmain_test.go25 bp "android/soong/cmd/extract_apks/bundle_proto" packageName
127 screenDpi: map[bp.ScreenDensity_DensityAlias]bool{
128 bp.ScreenDensity_DENSITY_UNSPECIFIED: true,
130 abis: map[bp.Abi_AbiAlias]int{
131 bp.Abi_ARMEABI_V7A: 0,
132 bp.Abi_ARM64_V8A: 1,
149 screenDpi: map[bp.ScreenDensity_DensityAlias]bool{
150 bp.ScreenDensity_LDPI: true,
152 abis: map[bp.Abi_AbiAlias]int{},
166 screenDpi: map[bp.ScreenDensity_DensityAlias]bool{
[all …]
/build/soong/cc/
Dobject_test.go25 bp := `
47 ctx := prepareForCcTest.RunTestWithBp(t, bp)
53 ctx = prepareForCcTest.RunTestWithBp(t, bp)
98 bp string
103 bp: `
110 bp: `
117 bp: `
125 bp: `
132 bp: `
140 bp := fmt.Sprintf(`
[all …]
Dgenrule_test.go39 bp := `
55 config := android.TestArchConfig(t.TempDir(), nil, bp, fs)
81 bp := `
106 ctx := testCc(t, bp)
120 bp := `
180 ).RunTestWithBp(t, bp)
192 bp := `
203 ctx := PrepareForIntegrationTestWithCc.RunTestWithBp(t, bp)
219 bp := `
238 result := PrepareForIntegrationTestWithCc.RunTestWithBp(t, bp)
Dorderfile_test.go26 bp := `
40 ).RunTestWithBp(t, bp)
61 bp := `
76 ).RunTestWithBp(t, bp)
91 bp := `
105 ).RunTestWithBp(t, bp)
126 bp := `
141 ).RunTestWithBp(t, bp)
157 bp := `
183 ).RunTestWithBp(t, bp)
[all …]
Dlto_test.go42 bp := `
71 result := LTOPreparer.RunTestWithBp(t, bp)
111 bp := `
139 result := LTOPreparer.RunTestWithBp(t, bp)
172 bp := `
188 result := LTOPreparer.RunTestWithBp(t, bp)
201 bp := `
216 result := LTOPreparer.RunTestWithBp(t, bp)
/build/soong/android/
Dselects_test.go29 bp string
37 bp: `
53 bp: `
69 bp: `
85 bp: `
101 bp: `
115 bp: `
125 …expectedError: `Android.bp:8:5: Found select statement with differing types "string" and "bool" in…
129 bp: `
143 bp: `
[all …]
Dfilegroup_test.go16 bp string
20 bp: `
31 bp: `
45 ).RunTestWithBp(t, testCase.bp)
54 bp := FixtureAddTextFile("p/Android.bp", `
69 bp).RunTest(t)
Dbase_module_context.go226 bp blueprint.BaseModuleContext member
238 return b.bp.OtherModuleName(m)
240 func (b *baseModuleContext) OtherModuleDir(m blueprint.Module) string { return b.bp.OtherModuleDir(…
242 b.bp.OtherModuleErrorf(m, fmt, args...)
245 return b.bp.OtherModuleDependencyTag(m)
247 func (b *baseModuleContext) OtherModuleExists(name string) bool { return b.bp.OtherModuleExists(nam…
249 return b.bp.OtherModuleDependencyVariantExists(variations, name)
252 return b.bp.OtherModuleFarDependencyVariantExists(variations, name)
255 return b.bp.OtherModuleReverseDependencyVariantExists(name)
258 return b.bp.OtherModuleType(m)
[all …]
Dmutator.go209 bp blueprint.TopDownMutatorContext member
352 bp blueprint.BottomUpMutatorContext member
364 bp: ctx,
523 bp blueprint.OutgoingTransitionContext member
527 return c.bp.Module().(Module)
531 return c.bp.DepTag()
535 return c.bp.Config().(Config)
539 return DeviceConfig{c.bp.Config().(Config).deviceConfig}
543 return c.bp.Provider(provider)
552 bp: bpctx,
[all …]
Dsingleton_module.go62 bp string member
116 if smb.bp != "" {
117 ctx.ModuleErrorf("Duplicate SingletonModule %q, previously used in %s", name, smb.bp)
119 smb.bp = ctx.BlueprintsFile()
135 if smsa.sm.singletonModuleBase().bp != "" {
141 if smsa.sm.singletonModuleBase().bp != "" {
Dpath_properties_test.go76 bp string
81 bp: `
108 bp: `
127 bp := test.bp + `
167 FixtureWithRootAndroidBp(bp),
Dsingleton_module_test.go54 bp := `
61 FixtureWithRootAndroidBp(bp),
70 bp := `
83 })).RunTestWithBp(t, bp)
109 bp := `
126 RunTestWithBp(t, bp)
Dpackage_test.go24 `top/Android.bp:5:14: unrecognized property "licenses"`,
25 `top/Android.bp:3:10: unrecognized property "name"`,
26 `top/Android.bp:4:16: unrecognized property "visibility"`,
Ddefaults_test.go70 bp := `
91 FixtureWithRootAndroidBp(bp),
100 bp := `
123 FixtureWithRootAndroidBp(bp),
138 bp := `
156 FixtureWithRootAndroidBp(bp),
/build/soong/aconfig/
Daconfig_declarations_test.go25 bp := `
37 result := runTest(t, android.FixtureExpectsNoErrors, bp)
55 bp := `
66 result := runTest(t, android.FixtureExpectsNoErrors, bp)
74 bp := `
84 result := runTest(t, android.FixtureExpectsNoErrors, bp)
95 bp string
99 bp: `
109 bp: `
119 bp: `
[all …]
/build/soong/bpf/
Dbpf_test.go42 bp := `
56 prepareForBpfTest.RunTestWithBp(t, bp)
64 bp := `
71 …`\QAndroid.bp:2:3: module "bpf_invalid_name.o" variant "android_common": invalid character '_' in …
72 RunTestWithBp(t, bp)
/build/soong/aconfig/codegen/
Djava_aconfig_library_test.go29 func runJavaAndroidMkTest(t *testing.T, bp string) {
34 RunTestWithBp(t, bp+`
69 bp := `
83 runJavaAndroidMkTest(t, bp)
87 bp := `
101 runJavaAndroidMkTest(t, bp)
105 bp := `
120 runJavaAndroidMkTest(t, bp)
124 bp := `
138 runJavaAndroidMkTest(t, bp)
[all …]
/build/soong/java/
Ddexpreopt_test.go35 bp string
42 bp: `
52 bp: `
62 bp: `
72 bp: `
81 bp: `
97 bp: `
106 bp: `
115 bp: `
124 bp: `
[all …]
Dlint_test.go106 bp string
111 bp: `
128 bp: `
150 RunTestWithBp(t, testCase.bp)
156 bp := `
188 RunTestWithBp(t, bp)
236 bp := `
250 thisBp := strings.Replace(bp, "XXX", testCase.sdk_version, 1)
267 bp := `
282 RunTestWithBp(t, bp)
Dgenerated_java_library_test.go43 func testGenLib(t *testing.T, errorHandler android.FixtureErrorHandler, bp string) *android.TestRes…
51 RunTestWithBp(t, bp)
55 bp := `
61 result := testGenLib(t, android.FixtureExpectsNoErrors, bp)
Dandroid_manifest_test.go24 bp := `
81 result := PrepareForTestWithJavaDefaultModules.RunTestWithBp(t, bp)
103 bp := `
128 result := PrepareForTestWithJavaDefaultModules.RunTestWithBp(t, bp)
/build/bazel/scripts/incremental_build/
Dclone_test.py27 self.bp = textwrap.dedent(
50 defs = list(module_defs(StringIO(self.bp)))
87 cloners = _extract_templates_helper(StringIO(self.bp), name_in("not-a-name"))
91 cloners = _extract_templates_helper(StringIO(self.bp), type_in("genrule"))
112 cloners = _extract_templates_helper(StringIO(self.bp), name_in("a", "b"))
/build/soong/rust/
Dproject_json_test.go30 func testProjectJson(t *testing.T, bp string) []byte {
34 ).RunTestWithBp(t, bp)
103 bp := `
116 jsonContent := testProjectJson(t, bp)
121 bp := `
134 jsonContent := testProjectJson(t, bp)
173 bp := `
181 jsonContent := testProjectJson(t, bp)
208 bp := `
215 jsonContent := testProjectJson(t, bp)
[all …]
/build/soong/apex/
Daconfig_test.go38 bp string
42 bp: apex_default_bp + `
81 bp: apex_default_bp + `
129 bp: apex_default_bp + `
210 bp: apex_default_bp + `
302 RunTestWithBp(t, test.bp)
311 bp string
315 bp: apex_default_bp + `
353 bp: apex_default_bp + `
400 bp: apex_default_bp + `
[all …]
/build/soong/genrule/
Dgenrule_test.go423 bp := fmt.Sprintf(`
446 RunTestWithBp(t, testGenruleBp()+bp)
472 bp := `
513 result := prepareForGenRuleTest.RunTestWithBp(t, testGenruleBp()+bp)
630 bp := "gensrcs {\n"
631 bp += `name: "gen",` + "\n"
632 bp += `output_extension: "h",` + "\n"
633 bp += test.prop
634 bp += "}\n"
643 RunTestWithBp(t, testGenruleBp()+bp)
[all …]

123456