summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2021-04-01 15:34:57 -0700
committerElliott Hughes <enh@google.com>2021-04-01 23:27:06 +0000
commiteda17dc0896f564f579a8c57f6b7240755fa9e92 (patch)
tree6602b51e2d7b9f25a7533d204c403ad1f075caf9
parent2e2117c4eab9fecdbfeccbd4b33b1220488562a9 (diff)
downloadhonggfuzz-eda17dc0896f564f579a8c57f6b7240755fa9e92.tar.gz
Just build the executable, not the library.
I can't find any users of the library. (I'm not sure there are any users of the binary either, but first things first.) Bug: http://b/184301511 Test: treehugger Change-Id: I96fa929e60db4385275160e685434c16f4ef98b2
-rw-r--r--Android.bp57
1 files changed, 1 insertions, 56 deletions
diff --git a/Android.bp b/Android.bp
index 1b7ba21a..d8f08aff 100644
--- a/Android.bp
+++ b/Android.bp
@@ -52,61 +52,6 @@ cc_defaults {
clang: true,
}
-cc_library_headers {
- name: "honggfuzz_libcommon_headers",
- export_include_dirs: ["libhfcommon"],
-}
-
-cc_library {
- name: "honggfuzz_libcommon",
-
- defaults: ["honggfuzz-defaults"],
-
- header_libs: ["honggfuzz_libcommon_headers"],
- export_header_lib_headers: ["honggfuzz_libcommon_headers"],
- srcs: [
- "libhfcommon/*.c",
- ],
-
-
- static_libs: [
- "libBlocksRuntime", // -fblocks
- ],
-}
-
-cc_library_headers {
- name: "honggfuzz_libhfuzz_headers",
- export_include_dirs: ["libhfuzz"],
-}
-
-cc_library {
- name: "honggfuzz_libhfuzz",
- defaults: ["honggfuzz-defaults"],
-
- arch: {
- x86: {
- cflags: [
- // Suppress this performance warning for 32-bit x86.
- "-Wno-atomic-alignment",
- ],
- },
- },
-
- header_libs: ["honggfuzz_libhfuzz_headers"],
- export_header_lib_headers: ["honggfuzz_libhfuzz_headers"],
-
- whole_static_libs: [
- "honggfuzz_libcommon",
- "libBlocksRuntime", // -fblocks
- ],
-
- srcs: [
- "libhfuzz/*.c",
- ],
-}
-
-
-
cc_binary {
name: "honggfuzz",
defaults: ["honggfuzz-defaults"],
@@ -121,7 +66,6 @@ cc_binary {
},
whole_static_libs: [
- "honggfuzz_libcommon",
"libcapstone",
"libBlocksRuntime", // -fblocks
@@ -131,6 +75,7 @@ cc_binary {
srcs: [
"*.c",
+ "libhfcommon/*.c",
"linux/*.c",
],
exclude_srcs: [