aboutsummaryrefslogtreecommitdiffstats
path: root/fuzzer/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'fuzzer/Android.bp')
-rw-r--r--fuzzer/Android.bp52
1 files changed, 44 insertions, 8 deletions
diff --git a/fuzzer/Android.bp b/fuzzer/Android.bp
index 28a21b9..6739798 100644
--- a/fuzzer/Android.bp
+++ b/fuzzer/Android.bp
@@ -18,17 +18,21 @@
* Originally developed and contributed by Ittiam Systems Pvt. Ltd, Bangalore
*/
-cc_fuzz {
- name: "aac_dec_fuzzer",
- host_supported:true,
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "external_aac_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["external_aac_license"],
+}
+
+cc_defaults {
+ name: "aac_fuzz_defaults",
+ host_supported: true,
static_libs: [
"libFraunhoferAAC",
- "liblog",
- ],
-
- srcs: [
- "aac_dec_fuzzer.cpp",
],
target: {
@@ -44,3 +48,35 @@ cc_fuzz {
componentid: 155276,
},
}
+
+cc_fuzz {
+ name: "aac_dec_fuzzer",
+
+ srcs: [
+ "aac_dec_fuzzer.cpp",
+ ],
+
+ static_libs: [
+ "liblog",
+ ],
+
+ defaults: [
+ "aac_fuzz_defaults"
+ ],
+}
+
+cc_fuzz {
+ name: "aac_enc_fuzzer",
+
+ srcs: [
+ "aac_enc_fuzzer.cpp",
+ ],
+
+ defaults: [
+ "aac_fuzz_defaults"
+ ],
+
+ include_dirs: [
+ "external/aac/libAACenc/"
+ ],
+}