Fix bpfmt issues and add bpfmt to preupload checks am: 5e291c238f am: bdb814261e

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1351548

Change-Id: I1ad9eafad8184f531ee65609a1ee64dc6a9d9187
This commit is contained in:
Thiébaud Weksteen 2020-06-29 12:30:31 +00:00 committed by Automerger Merge Worker
commit 444f71bdfe
18 changed files with 25 additions and 31 deletions

View File

@ -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",
],
},
},
}

View File

@ -1,2 +1,3 @@
[Builtin Hooks]
gofmt = true
bpfmt = true

View File

@ -44,11 +44,9 @@ bootstrap_go_package {
"bpfix/bpfix.go",
],
testSrcs: [
"bpfix/bpfix_test.go",
"bpfix/bpfix_test.go",
],
deps: [
"blueprint-parser",
],
}

View File

@ -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 {

View File

@ -22,4 +22,3 @@ blueprint_go_binary {
"extract_jar_packages.go",
],
}

View File

@ -17,4 +17,3 @@ blueprint_go_binary {
srcs: ["main.go"],
testSrcs: ["main_test.go"],
}

View File

@ -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",
],
}

View File

@ -19,4 +19,3 @@ blueprint_go_binary {
"sbox.go",
],
}

View File

@ -29,4 +29,3 @@ bootstrap_go_binary {
],
primaryBuilder: true,
}

View File

@ -22,4 +22,3 @@ bootstrap_go_binary {
],
default: true,
}

View File

@ -24,4 +24,3 @@ blueprint_go_binary {
],
testSrcs: ["zip2zip_test.go"],
}

View File

@ -22,4 +22,3 @@ blueprint_go_binary {
"zipsync.go",
],
}

View File

@ -8,4 +8,4 @@ blueprint_go_binary {
"blueprint-pathtools",
"blueprint-proptools",
],
}
}

View File

@ -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",
],
}

View File

@ -22,8 +22,6 @@ blueprint_go_binary {
"finder.go",
],
deps: [
"soong-finder"
"soong-finder",
],
}

View File

@ -37,4 +37,3 @@ bootstrap_go_package {
],
},
}

View File

@ -106,7 +106,7 @@ python_binary_host {
py3: {
enabled: false,
},
}
},
}
python_binary_host {

View File

@ -27,7 +27,6 @@ bootstrap_go_package {
"rate_limit.go",
],
testSrcs: [
"zip_test.go",
"zip_test.go",
],
}