Fix bpfmt issues and add bpfmt to preupload checks
Test: m nothing Change-Id: I10526a33685335bdd26cc7692815133379d4e0f6
This commit is contained in:
parent
0c6f111d7b
commit
5e291c238f
15
Android.bp
15
Android.bp
|
@ -106,15 +106,24 @@ toolchain_library {
|
|||
},
|
||||
arm64: {
|
||||
src: "prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/lib/gcc/aarch64-linux-android/4.9.x/libgcc.a",
|
||||
repack_objects_to_keep: ["unwind-dw2.o", "unwind-dw2-fde-dip.o"],
|
||||
repack_objects_to_keep: [
|
||||
"unwind-dw2.o",
|
||||
"unwind-dw2-fde-dip.o",
|
||||
],
|
||||
},
|
||||
x86: {
|
||||
src: "prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/lib/gcc/x86_64-linux-android/4.9.x/32/libgcc.a",
|
||||
repack_objects_to_keep: ["unwind-dw2.o", "unwind-dw2-fde-dip.o"],
|
||||
repack_objects_to_keep: [
|
||||
"unwind-dw2.o",
|
||||
"unwind-dw2-fde-dip.o",
|
||||
],
|
||||
},
|
||||
x86_64: {
|
||||
src: "prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/lib/gcc/x86_64-linux-android/4.9.x/libgcc.a",
|
||||
repack_objects_to_keep: ["unwind-dw2.o", "unwind-dw2-fde-dip.o"],
|
||||
repack_objects_to_keep: [
|
||||
"unwind-dw2.o",
|
||||
"unwind-dw2-fde-dip.o",
|
||||
],
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
[Builtin Hooks]
|
||||
gofmt = true
|
||||
bpfmt = true
|
||||
|
|
|
@ -44,11 +44,9 @@ bootstrap_go_package {
|
|||
"bpfix/bpfix.go",
|
||||
],
|
||||
testSrcs: [
|
||||
"bpfix/bpfix_test.go",
|
||||
"bpfix/bpfix_test.go",
|
||||
],
|
||||
deps: [
|
||||
"blueprint-parser",
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ blueprint_go_binary {
|
|||
"golang-protobuf-proto",
|
||||
"soong-cmd-extract_apks-proto",
|
||||
],
|
||||
testSrcs: ["main_test.go"]
|
||||
testSrcs: ["main_test.go"],
|
||||
}
|
||||
|
||||
bootstrap_go_package {
|
||||
|
|
|
@ -22,4 +22,3 @@ blueprint_go_binary {
|
|||
"extract_jar_packages.go",
|
||||
],
|
||||
}
|
||||
|
||||
|
|
|
@ -17,4 +17,3 @@ blueprint_go_binary {
|
|||
srcs: ["main.go"],
|
||||
testSrcs: ["main_test.go"],
|
||||
}
|
||||
|
||||
|
|
|
@ -15,10 +15,10 @@
|
|||
blueprint_go_binary {
|
||||
name: "merge_zips",
|
||||
deps: [
|
||||
"android-archive-zip",
|
||||
"blueprint-pathtools",
|
||||
"soong-jar",
|
||||
"soong-zip",
|
||||
"android-archive-zip",
|
||||
"blueprint-pathtools",
|
||||
"soong-jar",
|
||||
"soong-zip",
|
||||
],
|
||||
srcs: [
|
||||
"merge_zips.go",
|
||||
|
@ -27,4 +27,3 @@ blueprint_go_binary {
|
|||
"merge_zips_test.go",
|
||||
],
|
||||
}
|
||||
|
||||
|
|
|
@ -19,4 +19,3 @@ blueprint_go_binary {
|
|||
"sbox.go",
|
||||
],
|
||||
}
|
||||
|
||||
|
|
|
@ -29,4 +29,3 @@ bootstrap_go_binary {
|
|||
],
|
||||
primaryBuilder: true,
|
||||
}
|
||||
|
||||
|
|
|
@ -22,4 +22,3 @@ bootstrap_go_binary {
|
|||
],
|
||||
default: true,
|
||||
}
|
||||
|
||||
|
|
|
@ -24,4 +24,3 @@ blueprint_go_binary {
|
|||
],
|
||||
testSrcs: ["zip2zip_test.go"],
|
||||
}
|
||||
|
||||
|
|
|
@ -22,4 +22,3 @@ blueprint_go_binary {
|
|||
"zipsync.go",
|
||||
],
|
||||
}
|
||||
|
||||
|
|
|
@ -8,4 +8,4 @@ blueprint_go_binary {
|
|||
"blueprint-pathtools",
|
||||
"blueprint-proptools",
|
||||
],
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
//
|
||||
|
||||
subdirs = [
|
||||
"cmd"
|
||||
"cmd",
|
||||
]
|
||||
|
||||
bootstrap_go_package {
|
||||
|
@ -30,8 +30,6 @@ bootstrap_go_package {
|
|||
"finder_test.go",
|
||||
],
|
||||
deps: [
|
||||
"soong-finder-fs",
|
||||
"soong-finder-fs",
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -22,8 +22,6 @@ blueprint_go_binary {
|
|||
"finder.go",
|
||||
],
|
||||
deps: [
|
||||
"soong-finder"
|
||||
"soong-finder",
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -37,4 +37,3 @@ bootstrap_go_package {
|
|||
],
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
@ -106,7 +106,7 @@ python_binary_host {
|
|||
py3: {
|
||||
enabled: false,
|
||||
},
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
python_binary_host {
|
||||
|
|
|
@ -27,7 +27,6 @@ bootstrap_go_package {
|
|||
"rate_limit.go",
|
||||
],
|
||||
testSrcs: [
|
||||
"zip_test.go",
|
||||
"zip_test.go",
|
||||
],
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue