Ray Essick | 247da04 | 2018-11-29 14:14:00 -0800 | [diff] [blame] | 1 | cc_library_static { |
| 2 | name: "libaom", |
Harish Mahendrakar | aab07a4 | 2019-09-06 11:05:23 -0700 | [diff] [blame] | 3 | host_supported: true, |
Ray Essick | 247da04 | 2018-11-29 14:14:00 -0800 | [diff] [blame] | 4 | vendor_available: true, |
| 5 | cflags: [ |
| 6 | "-O3", |
| 7 | ], |
| 8 | |
| 9 | export_include_dirs: [ |
| 10 | "libaom", |
| 11 | ], |
| 12 | |
Ray Essick | 247da04 | 2018-11-29 14:14:00 -0800 | [diff] [blame] | 13 | arch: { |
| 14 | arm64: { |
| 15 | local_include_dirs: [ |
Johann | 39f1322 | 2019-01-09 11:48:14 -0800 | [diff] [blame] | 16 | "config/", |
Ray Essick | 247da04 | 2018-11-29 14:14:00 -0800 | [diff] [blame] | 17 | "config/arm64/", |
| 18 | ], |
Johann | 39f1322 | 2019-01-09 11:48:14 -0800 | [diff] [blame] | 19 | srcs: aom_av1_common_sources + |
Johann | 38edf10 | 2019-01-11 12:45:55 -0800 | [diff] [blame] | 20 | aom_av1_decoder_sources + |
| 21 | aom_dsp_common_sources + |
| 22 | aom_dsp_decoder_sources + |
| 23 | aom_mem_sources + |
| 24 | ["libaom/aom_ports/arm_cpudetect.c"] + |
| 25 | aom_rtcd_sources + |
| 26 | aom_scale_sources + |
| 27 | aom_sources + |
| 28 | aom_util_sources + |
| 29 | aom_av1_common_intrin_neon + |
| 30 | aom_dsp_common_intrin_neon, |
Ray Essick | 247da04 | 2018-11-29 14:14:00 -0800 | [diff] [blame] | 31 | }, |
| 32 | |
Ray Essick | bbd26a9 | 2018-12-10 21:34:38 -0800 | [diff] [blame] | 33 | // configured to require the neon unit |
Johann | 39f1322 | 2019-01-09 11:48:14 -0800 | [diff] [blame] | 34 | arm: { |
Johann | 38edf10 | 2019-01-11 12:45:55 -0800 | [diff] [blame] | 35 | neon: { |
Johann | 39f1322 | 2019-01-09 11:48:14 -0800 | [diff] [blame] | 36 | local_include_dirs: [ |
| 37 | "config/", |
| 38 | "config/arm/", |
| 39 | ], |
| 40 | srcs: aom_av1_common_sources + |
Johann | 38edf10 | 2019-01-11 12:45:55 -0800 | [diff] [blame] | 41 | aom_av1_decoder_sources + |
| 42 | aom_dsp_common_sources + |
| 43 | aom_dsp_decoder_sources + |
| 44 | aom_mem_sources + |
| 45 | aom_rtcd_sources + |
| 46 | ["libaom/aom_ports/arm_cpudetect.c"] + |
| 47 | aom_scale_sources + |
| 48 | aom_sources + |
| 49 | aom_util_sources + |
| 50 | aom_av1_common_intrin_neon + |
| 51 | aom_dsp_common_intrin_neon, |
| 52 | }, |
Johann | 39f1322 | 2019-01-09 11:48:14 -0800 | [diff] [blame] | 53 | }, |
Ray Essick | 247da04 | 2018-11-29 14:14:00 -0800 | [diff] [blame] | 54 | |
| 55 | x86_64: { |
| 56 | local_include_dirs: [ |
Johann | 39f1322 | 2019-01-09 11:48:14 -0800 | [diff] [blame] | 57 | "config/", |
Ray Essick | 247da04 | 2018-11-29 14:14:00 -0800 | [diff] [blame] | 58 | "config/x86_64/", |
| 59 | ], |
Harish Mahendrakar | aab07a4 | 2019-09-06 11:05:23 -0700 | [diff] [blame] | 60 | cflags: [ |
| 61 | "-mssse3", |
| 62 | ], |
Johann | 39f1322 | 2019-01-09 11:48:14 -0800 | [diff] [blame] | 63 | srcs: aom_av1_common_sources + |
Johann | 38edf10 | 2019-01-11 12:45:55 -0800 | [diff] [blame] | 64 | aom_av1_decoder_sources + |
| 65 | aom_dsp_common_sources + |
| 66 | aom_dsp_decoder_sources + |
| 67 | aom_mem_sources + |
| 68 | aom_rtcd_sources + |
| 69 | aom_scale_sources + |
| 70 | aom_sources + |
| 71 | aom_util_sources + |
| 72 | aom_dsp_common_asm_sse2 + |
| 73 | aom_dsp_common_asm_ssse3 + |
| 74 | aom_ports_asm_x86 + |
| 75 | aom_av1_common_intrin_sse2 + |
| 76 | aom_dsp_common_intrin_sse2 + |
| 77 | aom_av1_common_intrin_ssse3 + |
| 78 | aom_dsp_common_intrin_ssse3, |
Ray Essick | 247da04 | 2018-11-29 14:14:00 -0800 | [diff] [blame] | 79 | }, |
| 80 | |
| 81 | x86: { |
| 82 | local_include_dirs: [ |
Johann | 39f1322 | 2019-01-09 11:48:14 -0800 | [diff] [blame] | 83 | "config/", |
Ray Essick | 247da04 | 2018-11-29 14:14:00 -0800 | [diff] [blame] | 84 | "config/x86/", |
| 85 | ], |
Harish Mahendrakar | aab07a4 | 2019-09-06 11:05:23 -0700 | [diff] [blame] | 86 | cflags: [ |
| 87 | "-mssse3", |
| 88 | ], |
Johann | 39f1322 | 2019-01-09 11:48:14 -0800 | [diff] [blame] | 89 | srcs: aom_av1_common_sources + |
Johann | 38edf10 | 2019-01-11 12:45:55 -0800 | [diff] [blame] | 90 | aom_av1_decoder_sources + |
| 91 | aom_dsp_common_sources + |
| 92 | aom_dsp_decoder_sources + |
| 93 | aom_mem_sources + |
| 94 | aom_rtcd_sources + |
| 95 | aom_scale_sources + |
| 96 | aom_sources + |
| 97 | aom_util_sources + |
Johann | 3d220f9 | 2019-01-11 12:43:22 -0800 | [diff] [blame] | 98 | aom_dsp_common_asm_sse2 + |
| 99 | aom_dsp_common_asm_ssse3 + |
| 100 | aom_ports_asm_x86 + |
| 101 | aom_av1_common_intrin_sse2 + |
| 102 | aom_dsp_common_intrin_sse2 + |
| 103 | aom_av1_common_intrin_ssse3 + |
| 104 | aom_dsp_common_intrin_ssse3, |
Ray Essick | 247da04 | 2018-11-29 14:14:00 -0800 | [diff] [blame] | 105 | }, |
| 106 | |
| 107 | }, |
| 108 | |
Liu, Kai1 | 85035c2 | 2019-08-22 09:44:23 +0800 | [diff] [blame] | 109 | sanitize: { |
| 110 | blacklist: "libaom_blacklist.txt", |
| 111 | }, |
| 112 | |
Ray Essick | 247da04 | 2018-11-29 14:14:00 -0800 | [diff] [blame] | 113 | } |
Harish Mahendrakar | 5ad98b0 | 2019-09-06 11:10:39 -0700 | [diff] [blame] | 114 | |
| 115 | cc_fuzz { |
| 116 | name: "av1_dec_fuzzer", |
| 117 | host_supported: true, |
| 118 | srcs: [ |
| 119 | "libaom/examples/av1_dec_fuzzer.cc", |
| 120 | ], |
| 121 | arch: { |
| 122 | arm: { |
| 123 | neon: { |
| 124 | local_include_dirs: [ |
| 125 | "config/", |
| 126 | "config/arm/", |
| 127 | ], |
| 128 | }, |
| 129 | }, |
| 130 | |
| 131 | arm64: { |
| 132 | local_include_dirs: [ |
| 133 | "config/", |
| 134 | "config/arm64/", |
| 135 | ], |
| 136 | }, |
| 137 | |
| 138 | x86: { |
| 139 | local_include_dirs: [ |
| 140 | "config/", |
| 141 | "config/x86/", |
| 142 | ], |
| 143 | }, |
| 144 | |
| 145 | x86_64: { |
| 146 | local_include_dirs: [ |
| 147 | "config/", |
| 148 | "config/x86_64/", |
| 149 | ], |
| 150 | }, |
| 151 | }, |
| 152 | static_libs: [ |
| 153 | "libaom", |
| 154 | ], |
| 155 | } |