bpfmt Android.bp
Bug: None
Test: None
Change-Id: Ib4f542ea21f39ccc0f8ae604bebd5bdeb82bb5a9
diff --git a/Android.bp b/Android.bp
index 0ca6d21..28637e2 100644
--- a/Android.bp
+++ b/Android.bp
@@ -41,15 +41,24 @@
cmd: "$(location gen_wayland_version_header.sh) $(location configure.ac) < $(in) > $(out)",
srcs: ["src/wayland-version.h.in"],
out: ["wayland-version.h"],
- tool_files: ["gen_wayland_version_header.sh", "configure.ac"],
+ tool_files: [
+ "gen_wayland_version_header.sh",
+ "configure.ac",
+ ],
}
// Build wayland_scanner, used to generate code
cc_binary_host {
name: "wayland_scanner",
defaults: ["wayland_defaults"],
- srcs: ["src/scanner.c", "src/wayland-util.c"],
- cflags: ["-Wall", "-Werror"],
+ srcs: [
+ "src/scanner.c",
+ "src/wayland-util.c",
+ ],
+ cflags: [
+ "-Wall",
+ "-Werror",
+ ],
static_libs: ["libexpat"],
generated_headers: ["wayland_version_header"],
}
@@ -88,23 +97,26 @@
host_supported: true,
defaults: ["wayland_defaults"],
srcs: [
- "src/connection.c",
- "src/wayland-client.c",
- "src/wayland-os.c",
- "src/wayland-util.c",
+ "src/connection.c",
+ "src/wayland-client.c",
+ "src/wayland-os.c",
+ "src/wayland-util.c",
],
- cflags: ["-Wall", "-Werror"],
+ cflags: [
+ "-Wall",
+ "-Werror",
+ ],
generated_sources: ["wayland_core_protocol_sources"],
static_libs: ["libffi"],
local_include_dirs: ["src"],
generated_headers: [
"wayland_version_header",
- "wayland_core_client_protocol_headers"
+ "wayland_core_client_protocol_headers",
],
export_include_dirs: ["src"],
export_generated_headers: [
"wayland_version_header",
- "wayland_core_client_protocol_headers"
+ "wayland_core_client_protocol_headers",
],
}
@@ -122,7 +134,10 @@
"src/wayland-shm.c",
"src/event-loop.c",
],
- cflags: ["-Wall", "-Werror"],
+ cflags: [
+ "-Wall",
+ "-Werror",
+ ],
generated_sources: ["wayland_core_protocol_sources"],
static_libs: ["libffi"],
local_include_dirs: ["src"],