Home
last modified time | relevance | path

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

1234

/build/soong/cmd/extract_apks/
Dmain_test.go24 bp "android/soong/cmd/extract_apks/bundle_proto" packageName
126 screenDpi: map[bp.ScreenDensity_DensityAlias]bool{
127 bp.ScreenDensity_DENSITY_UNSPECIFIED: true,
129 abis: map[bp.Abi_AbiAlias]int{
130 bp.Abi_ARMEABI_V7A: 0,
131 bp.Abi_ARM64_V8A: 1,
148 screenDpi: map[bp.ScreenDensity_DensityAlias]bool{
149 bp.ScreenDensity_LDPI: true,
151 abis: map[bp.Abi_AbiAlias]int{},
165 screenDpi: map[bp.ScreenDensity_DensityAlias]bool{
[all …]
/build/soong/java/
Ddexpreopt_test.go29 bp string
34 bp: `
44 bp: `
54 bp: `
63 bp: `
72 bp: `
88 bp: `
97 bp: `
106 bp: `
115 bp: `
[all …]
Dlint_test.go128 bp string
133 bp: `
150 bp: `
172 RunTestWithBp(t, testCase.bp)
178 bp := `
206 RunTestWithBp(t, bp)
227 bp := `
241 thisBp := strings.Replace(bp, "XXX", testCase, 1)
267 bp := `
281 thisBp := strings.Replace(bp, "XXX", testCase, 1)
Dapp_test.go38 func testApp(t *testing.T, bp string) *android.TestContext {
40 result := prepareForJavaTest.RunTestWithBp(t, bp)
256 bp string
261 bp: `android_app {
271 bp: `android_app {
281 bp: `android_app {
291 bp: `android_app {
301 bp: `android_app {
311 bp: `android_app {
321 bp: `android_app {
[all …]
Dtesting.go152 bp := fmt.Sprintf(`
166 android.FixtureAddTextFile(path, bp),
266 var bp string
286 bp += fmt.Sprintf(`
297 bp += `
321 bp += fmt.Sprintf(`
335 bp += `
341 return bp
/build/soong/bp2build/
Dbuild_conversion_test.go26 bp string
30 bp: `custom { name: "foo" }
42 bp: `custom {
58 bp: `custom {
74 bp: `custom {
90 bp: `custom {
109 bp: `custom {
139 bp: `custom {
177 config := android.TestConfig(buildDir, nil, testCase.bp, nil)
208 bp string
[all …]
Dcc_library_static_conversion_test.go78 bp string
108 bp: soongCcLibraryStaticPreamble + `
247 bp: soongCcLibraryStaticPreamble + `
276 bp: soongCcLibraryStaticPreamble + `
299 bp: soongCcLibraryStaticPreamble + `
339 bp: soongCcLibraryStaticPreamble,
364 bp: soongCcLibraryStaticPreamble + `
393 bp: soongCcLibraryStaticPreamble + `
417 bp: soongCcLibraryStaticPreamble + `
453 bp: soongCcLibraryStaticPreamble + `
[all …]
Dcc_library_conversion_test.go51 bp string
81 bp: soongCcLibraryPreamble + `
150 bp: soongCcLibraryPreamble + `
244 bp: soongCcLibraryPreamble,
309 bp: soongCcLibraryPreamble,
349 bp: soongCcLibraryPreamble,
382 bp: soongCcLibraryPreamble,
415 bp: soongCcLibraryPreamble,
463 bp: soongCcLibraryPreamble,
503 bp: soongCcLibraryPreamble,
[all …]
/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 := `
129 jsonContent := testProjectJson(t, bp)
156 bp := `
163 jsonContent := testProjectJson(t, bp)
179 bp := `
206 jsonContent := testProjectJson(t, bp)
[all …]
Drust_test.go59 func testRust(t *testing.T, bp string) *android.TestContext {
65 RunTestWithBp(t, bp)
69 func testRustVndk(t *testing.T, bp string) *android.TestContext {
81 ).RunTestWithBp(t, bp)
87 func testRustCov(t *testing.T, bp string) *android.TestContext {
99 ).RunTestWithBp(t, bp)
106 func testRustError(t *testing.T, pattern string, bp string) {
113 RunTestWithBp(t, bp)
117 func testRustVndkError(t *testing.T, pattern string, bp string) {
131 RunTestWithBp(t, bp)
[all …]
/build/soong/android/
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 != "" {
Dmutator.go284 bp blueprint.TopDownMutatorContext member
412 bp blueprint.BottomUpMutatorContext member
422 bp: ctx,
459 bp: ctx,
583 return t.bp.MutatorName()
587 t.bp.Rename(name)
593 module := t.bp.CreateModule(ModuleFactoryAdaptor(factory), append(inherited, props...)...).(Module)
613 module := t.bp.CreateModule(ModuleFactoryAdaptor(factory), props...).(Module)
618 return b.bp.MutatorName()
622 b.bp.Rename(name)
[all …]
Dpath_properties_test.go75 bp string
80 bp: `
107 bp: `
126 bp := test.bp + `
166 FixtureWithRootAndroidBp(bp),
Dsingleton_module_test.go54 bp := `
61 FixtureWithRootAndroidBp(bp),
70 bp := `
83 })).RunTestWithBp(t, bp)
106 bp := `
123 RunTestWithBp(t, bp)
Dsoong_config_modules_test.go94 bp := `
189 run := func(t *testing.T, bp string, fs MockFS) {
293 FixtureWithRootAndroidBp(bp),
306 run(t, configBp+bp, nil)
310 run(t, importBp+bp, map[string][]byte{
316 func testConfigWithVendorVars(buildDir, bp string, fs map[string][]byte, vendorVars map[string]map[…
317 config := TestConfig(buildDir, nil, bp, fs)
Ddefaults_test.go67 bp := `
88 FixtureWithRootAndroidBp(bp),
97 bp := `
120 FixtureWithRootAndroidBp(bp),
Dmutator_test.go60 bp := `
76 FixtureWithRootAndroidBp(bp),
85 bp := `
130 FixtureWithRootAndroidBp(bp),
176 bp := `
226 FixtureWithRootAndroidBp(bp),
Dhooks.go52 bp: ctx,
60 bp blueprint.LoadHookContext member
65 return l.bp.ModuleFactories()
98 module := l.bp.CreateModule(ModuleFactoryAdaptor(factory), append(inherited, props...)...).(Module)
118 l.bp.RegisterScopedModuleType(name, factory)
/build/soong/genrule/
Dgenrule_test.go440 bp := "genrule {\n"
441 bp += "name: \"gen\",\n"
442 bp += test.prop
443 bp += "}\n"
460 RunTestWithBp(t, testGenruleBp()+bp)
486 bp := `
527 result := prepareForGenRuleTest.RunTestWithBp(t, testGenruleBp()+bp)
598 bp := "gensrcs {\n"
599 bp += `name: "gen",` + "\n"
600 bp += `output_extension: "h",` + "\n"
[all …]
/build/soong/tests/
Dbootstrap_test.sh52 cat > a/Android.bp <<'EOF'
63 cat > a/Android.bp <<'EOF'
83 cat > a/Android.bp <<'EOF'
105 cat > a/Android.bp <<'EOF'
116 rm a/Android.bp
135 cat > a/Android.bp <<'EOF'
185 cat > a/Android.bp <<'EOF'
210 cat > cherry/Android.bp <<'EOF'
292 cat > a/Android.bp <<'EOF'
365 cat > a/Android.bp <<'EOF'
[all …]
/build/soong/sdk/
Dtesting.go96 func testSdkWithFs(t *testing.T, bp string, fs android.MockFS) *android.TestResult {
101 ).RunTestWithBp(t, bp)
104 func testSdkError(t *testing.T, pattern, bp string) {
108 RunTestWithBp(t, bp)
145 for _, bp := range buildParams {
146 switch bp.Rule.String() {
148 output := bp.Output
151 src := android.NormalizePathForTesting(bp.Input)
164 dest := bp.Args["destdir"]
171 info.outputZip = android.NormalizePathForTesting(bp.Output)
[all …]
/build/soong/cc/
Dgenrule_test.go38 bp := `
55 config := android.TestArchConfig(t.TempDir(), nil, bp, fs)
81 bp := `
106 ctx := testCc(t, bp)
Dlibrary_test.go193 bp := `
202 config := TestConfig(t.TempDir(), android.Android, nil, bp, nil)
216 bp := `
225 config := TestConfig(t.TempDir(), android.Android, nil, bp, nil)
231 bp := `
241 …"libfoo" .*: versions: "X" could not be parsed as an integer and is not a recognized codename`, bp)
/build/soong/apex/
Dvndk_test.go71 bp := `
105 ctx := testApex(t, bp)
118 ctx := testApex(t, bp,
130 ctx := testApex(t, bp,
/build/soong/bpf/
Dbpf_test.go41 bp := `
55 prepareForBpfTest.RunTestWithBp(t, bp)

1234