1 # This file is generated by gyp; do not edit. 2 3 include $(CLEAR_VARS) 4 5 LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6 LOCAL_MODULE := third_party_openmax_dl_dl_openmax_dl_gyp 7 LOCAL_MODULE_SUFFIX := .a 8 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 9 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 11 12 # Make sure our deps are built first. 13 GYP_TARGET_DEPENDENCIES := 14 15 GYP_GENERATED_OUTPUTS := 16 17 # Make sure our deps and generated files are built first. 18 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 19 20 LOCAL_GENERATED_SOURCES := 21 22 GYP_COPIED_SOURCE_ORIGIN_DIRS := 23 24 LOCAL_SRC_FILES := \ 25 third_party/openmax_dl/dl/sp/src/armSP_FFT_F32TwiddleTable.c \ 26 third_party/openmax_dl/dl/sp/src/arm/armSP_FFT_S32TwiddleTable.c \ 27 third_party/openmax_dl/dl/sp/src/arm/omxSP_FFTGetBufSize_C_FC32.c \ 28 third_party/openmax_dl/dl/sp/src/arm/omxSP_FFTGetBufSize_C_SC32.c \ 29 third_party/openmax_dl/dl/sp/src/arm/omxSP_FFTGetBufSize_R_F32.c \ 30 third_party/openmax_dl/dl/sp/src/arm/omxSP_FFTGetBufSize_R_S32.c \ 31 third_party/openmax_dl/dl/sp/src/arm/omxSP_FFTInit_C_FC32.c \ 32 third_party/openmax_dl/dl/sp/src/arm/omxSP_FFTInit_R_F32.c \ 33 third_party/openmax_dl/dl/sp/src/arm/omxSP_FFTGetBufSize_C_SC16.c \ 34 third_party/openmax_dl/dl/sp/src/arm/omxSP_FFTGetBufSize_R_S16.c \ 35 third_party/openmax_dl/dl/sp/src/arm/omxSP_FFTGetBufSize_R_S16S32.c \ 36 third_party/openmax_dl/dl/sp/src/arm/omxSP_FFTInit_C_SC16.c \ 37 third_party/openmax_dl/dl/sp/src/arm/omxSP_FFTInit_C_SC32.c \ 38 third_party/openmax_dl/dl/sp/src/arm/omxSP_FFTInit_R_S16.c \ 39 third_party/openmax_dl/dl/sp/src/arm/omxSP_FFTInit_R_S16S32.c \ 40 third_party/openmax_dl/dl/sp/src/arm/omxSP_FFTInit_R_S32.c \ 41 third_party/openmax_dl/dl/sp/src/arm/neon/armSP_FFT_CToC_SC32_Radix2_fs_unsafe_s.S \ 42 third_party/openmax_dl/dl/sp/src/arm/neon/armSP_FFT_CToC_SC32_Radix2_ls_unsafe_s.S \ 43 third_party/openmax_dl/dl/sp/src/arm/neon/armSP_FFT_CToC_SC32_Radix4_fs_unsafe_s.S \ 44 third_party/openmax_dl/dl/sp/src/arm/neon/armSP_FFT_CToC_SC32_Radix4_ls_unsafe_s.S \ 45 third_party/openmax_dl/dl/sp/src/arm/neon/armSP_FFT_CToC_SC32_Radix2_unsafe_s.S \ 46 third_party/openmax_dl/dl/sp/src/arm/neon/armSP_FFT_CToC_SC32_Radix4_unsafe_s.S \ 47 third_party/openmax_dl/dl/sp/src/arm/neon/armSP_FFT_CToC_SC32_Radix8_fs_unsafe_s.S \ 48 third_party/openmax_dl/dl/sp/src/arm/neon/omxSP_FFTInv_CToC_SC32_Sfs_s.S \ 49 third_party/openmax_dl/dl/sp/src/arm/neon/omxSP_FFTFwd_CToC_SC32_Sfs_s.S \ 50 third_party/openmax_dl/dl/sp/src/arm/neon/armSP_FFTInv_CCSToR_S32_preTwiddleRadix2_unsafe_s.S \ 51 third_party/openmax_dl/dl/sp/src/arm/neon/omxSP_FFTFwd_RToCCS_S32_Sfs_s.S \ 52 third_party/openmax_dl/dl/sp/src/arm/neon/omxSP_FFTInv_CCSToR_S32_Sfs_s.S \ 53 third_party/openmax_dl/dl/sp/src/arm/neon/armSP_FFTInv_CCSToR_S16_preTwiddleRadix2_unsafe_s.S \ 54 third_party/openmax_dl/dl/sp/src/arm/neon/armSP_FFT_CToC_SC16_Radix2_fs_unsafe_s.S \ 55 third_party/openmax_dl/dl/sp/src/arm/neon/armSP_FFT_CToC_SC16_Radix2_ls_unsafe_s.S \ 56 third_party/openmax_dl/dl/sp/src/arm/neon/armSP_FFT_CToC_SC16_Radix2_ps_unsafe_s.S \ 57 third_party/openmax_dl/dl/sp/src/arm/neon/armSP_FFT_CToC_SC16_Radix2_unsafe_s.S \ 58 third_party/openmax_dl/dl/sp/src/arm/neon/armSP_FFT_CToC_SC16_Radix4_fs_unsafe_s.S \ 59 third_party/openmax_dl/dl/sp/src/arm/neon/armSP_FFT_CToC_SC16_Radix4_ls_unsafe_s.S \ 60 third_party/openmax_dl/dl/sp/src/arm/neon/armSP_FFT_CToC_SC16_Radix4_unsafe_s.S \ 61 third_party/openmax_dl/dl/sp/src/arm/neon/armSP_FFT_CToC_SC16_Radix8_fs_unsafe_s.S \ 62 third_party/openmax_dl/dl/sp/src/arm/neon/omxSP_FFTFwd_CToC_SC16_Sfs_s.S \ 63 third_party/openmax_dl/dl/sp/src/arm/neon/omxSP_FFTInv_CToC_SC16_Sfs_s.S \ 64 third_party/openmax_dl/dl/sp/src/arm/neon/omxSP_FFTFwd_RToCCS_S16_Sfs_s.S \ 65 third_party/openmax_dl/dl/sp/src/arm/neon/omxSP_FFTInv_CCSToR_S16_Sfs_s.S \ 66 third_party/openmax_dl/dl/sp/src/arm/neon/omxSP_FFTFwd_RToCCS_S16S32_Sfs_s.S \ 67 third_party/openmax_dl/dl/sp/src/arm/neon/omxSP_FFTInv_CCSToR_S32S16_Sfs_s.S \ 68 third_party/openmax_dl/dl/sp/src/arm/neon/armSP_FFT_CToC_FC32_Radix2_fs_unsafe_s.S \ 69 third_party/openmax_dl/dl/sp/src/arm/neon/armSP_FFT_CToC_FC32_Radix2_ls_unsafe_s.S \ 70 third_party/openmax_dl/dl/sp/src/arm/neon/armSP_FFT_CToC_FC32_Radix4_fs_unsafe_s.S \ 71 third_party/openmax_dl/dl/sp/src/arm/neon/armSP_FFT_CToC_FC32_Radix4_ls_unsafe_s.S \ 72 third_party/openmax_dl/dl/sp/src/arm/neon/armSP_FFT_CToC_FC32_Radix2_unsafe_s.S \ 73 third_party/openmax_dl/dl/sp/src/arm/neon/armSP_FFT_CToC_FC32_Radix4_unsafe_s.S \ 74 third_party/openmax_dl/dl/sp/src/arm/neon/armSP_FFT_CToC_FC32_Radix8_fs_unsafe_s.S \ 75 third_party/openmax_dl/dl/sp/src/arm/neon/omxSP_FFTInv_CToC_FC32_Sfs_s.S \ 76 third_party/openmax_dl/dl/sp/src/arm/neon/omxSP_FFTFwd_CToC_FC32_Sfs_s.S \ 77 third_party/openmax_dl/dl/sp/src/arm/neon/armSP_FFTInv_CCSToR_F32_preTwiddleRadix2_unsafe_s.S \ 78 third_party/openmax_dl/dl/sp/src/arm/neon/omxSP_FFTFwd_RToCCS_F32_Sfs_s.S \ 79 third_party/openmax_dl/dl/sp/src/arm/neon/omxSP_FFTInv_CCSToR_F32_Sfs_s.S 80 81 82 # Flags passed to both C and C++ files. 83 MY_CFLAGS_Debug := \ 84 -fstack-protector \ 85 --param=ssp-buffer-size=4 \ 86 -fno-strict-aliasing \ 87 -Wno-unused-parameter \ 88 -Wno-missing-field-initializers \ 89 -fvisibility=hidden \ 90 -pipe \ 91 -fPIC \ 92 -Wno-unused-local-typedefs \ 93 -mfpu=neon \ 94 -Wno-format \ 95 -fno-tree-sra \ 96 -fno-caller-saves \ 97 -Wno-psabi \ 98 -fno-partial-inlining \ 99 -fno-early-inlining \ 100 -fno-tree-copy-prop \ 101 -fno-tree-loop-optimize \ 102 -fno-move-loop-invariants \ 103 -ffunction-sections \ 104 -funwind-tables \ 105 -g \ 106 -fstack-protector \ 107 -fno-short-enums \ 108 -finline-limit=64 \ 109 -Wa,--noexecstack \ 110 -U_FORTIFY_SOURCE \ 111 -Wno-extra \ 112 -Wno-ignored-qualifiers \ 113 -Wno-type-limits \ 114 -Wno-unused-but-set-variable \ 115 -Wno-address \ 116 -Wno-format-security \ 117 -Wno-return-type \ 118 -Wno-sequence-point \ 119 -Os \ 120 -g \ 121 -gdwarf-4 \ 122 -fdata-sections \ 123 -ffunction-sections \ 124 -fomit-frame-pointer \ 125 -funwind-tables 126 127 MY_DEFS_Debug := \ 128 '-DV8_DEPRECATION_WARNINGS' \ 129 '-D_FILE_OFFSET_BITS=64' \ 130 '-DNO_TCMALLOC' \ 131 '-DDISABLE_NACL' \ 132 '-DCHROMIUM_BUILD' \ 133 '-DUSE_LIBJPEG_TURBO=1' \ 134 '-DENABLE_WEBRTC=1' \ 135 '-DUSE_PROPRIETARY_CODECS' \ 136 '-DENABLE_BROWSER_CDMS' \ 137 '-DENABLE_CONFIGURATION_POLICY' \ 138 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 139 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 140 '-DENABLE_EGLIMAGE=1' \ 141 '-DCLD_VERSION=1' \ 142 '-DENABLE_PRINTING=1' \ 143 '-DENABLE_MANAGED_USERS=1' \ 144 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 145 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 146 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 147 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 148 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 149 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 150 '-DVIDEO_HOLE=1' \ 151 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 152 '-DBIG_FFT_TABLE' \ 153 '-DUSE_OPENSSL=1' \ 154 '-DUSE_OPENSSL_CERTS=1' \ 155 '-DANDROID' \ 156 '-D__GNU_SOURCE=1' \ 157 '-DUSE_STLPORT=1' \ 158 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 159 '-DCHROME_BUILD_ID=""' \ 160 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 161 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 162 '-D_DEBUG' 163 164 165 # Include paths placed before CFLAGS/CPPFLAGS 166 LOCAL_C_INCLUDES_Debug := \ 167 $(gyp_shared_intermediate_dir) \ 168 $(LOCAL_PATH)/third_party/openmax_dl \ 169 $(PWD)/frameworks/wilhelm/include \ 170 $(PWD)/bionic \ 171 $(PWD)/external/stlport/stlport 172 173 174 # Flags passed to only C++ (and not C) files. 175 LOCAL_CPPFLAGS_Debug := \ 176 -fno-exceptions \ 177 -fno-rtti \ 178 -fno-threadsafe-statics \ 179 -fvisibility-inlines-hidden \ 180 -Wno-deprecated \ 181 -Wno-abi \ 182 -std=gnu++11 \ 183 -Wno-narrowing \ 184 -Wno-literal-suffix \ 185 -Wno-non-virtual-dtor \ 186 -Wno-sign-promo \ 187 -Wno-non-virtual-dtor 188 189 190 # Flags passed to both C and C++ files. 191 MY_CFLAGS_Release := \ 192 -fstack-protector \ 193 --param=ssp-buffer-size=4 \ 194 -fno-strict-aliasing \ 195 -Wno-unused-parameter \ 196 -Wno-missing-field-initializers \ 197 -fvisibility=hidden \ 198 -pipe \ 199 -fPIC \ 200 -Wno-unused-local-typedefs \ 201 -mfpu=neon \ 202 -Wno-format \ 203 -fno-tree-sra \ 204 -fno-caller-saves \ 205 -Wno-psabi \ 206 -fno-partial-inlining \ 207 -fno-early-inlining \ 208 -fno-tree-copy-prop \ 209 -fno-tree-loop-optimize \ 210 -fno-move-loop-invariants \ 211 -ffunction-sections \ 212 -funwind-tables \ 213 -g \ 214 -fstack-protector \ 215 -fno-short-enums \ 216 -finline-limit=64 \ 217 -Wa,--noexecstack \ 218 -U_FORTIFY_SOURCE \ 219 -Wno-extra \ 220 -Wno-ignored-qualifiers \ 221 -Wno-type-limits \ 222 -Wno-unused-but-set-variable \ 223 -Wno-address \ 224 -Wno-format-security \ 225 -Wno-return-type \ 226 -Wno-sequence-point \ 227 -Os \ 228 -fno-ident \ 229 -fdata-sections \ 230 -ffunction-sections \ 231 -fomit-frame-pointer \ 232 -funwind-tables 233 234 MY_DEFS_Release := \ 235 '-DV8_DEPRECATION_WARNINGS' \ 236 '-D_FILE_OFFSET_BITS=64' \ 237 '-DNO_TCMALLOC' \ 238 '-DDISABLE_NACL' \ 239 '-DCHROMIUM_BUILD' \ 240 '-DUSE_LIBJPEG_TURBO=1' \ 241 '-DENABLE_WEBRTC=1' \ 242 '-DUSE_PROPRIETARY_CODECS' \ 243 '-DENABLE_BROWSER_CDMS' \ 244 '-DENABLE_CONFIGURATION_POLICY' \ 245 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 246 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 247 '-DENABLE_EGLIMAGE=1' \ 248 '-DCLD_VERSION=1' \ 249 '-DENABLE_PRINTING=1' \ 250 '-DENABLE_MANAGED_USERS=1' \ 251 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 252 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 253 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 254 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 255 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 256 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 257 '-DVIDEO_HOLE=1' \ 258 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 259 '-DBIG_FFT_TABLE' \ 260 '-DUSE_OPENSSL=1' \ 261 '-DUSE_OPENSSL_CERTS=1' \ 262 '-DANDROID' \ 263 '-D__GNU_SOURCE=1' \ 264 '-DUSE_STLPORT=1' \ 265 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 266 '-DCHROME_BUILD_ID=""' \ 267 '-DNDEBUG' \ 268 '-DNVALGRIND' \ 269 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' 270 271 272 # Include paths placed before CFLAGS/CPPFLAGS 273 LOCAL_C_INCLUDES_Release := \ 274 $(gyp_shared_intermediate_dir) \ 275 $(LOCAL_PATH)/third_party/openmax_dl \ 276 $(PWD)/frameworks/wilhelm/include \ 277 $(PWD)/bionic \ 278 $(PWD)/external/stlport/stlport 279 280 281 # Flags passed to only C++ (and not C) files. 282 LOCAL_CPPFLAGS_Release := \ 283 -fno-exceptions \ 284 -fno-rtti \ 285 -fno-threadsafe-statics \ 286 -fvisibility-inlines-hidden \ 287 -Wno-deprecated \ 288 -Wno-abi \ 289 -std=gnu++11 \ 290 -Wno-narrowing \ 291 -Wno-literal-suffix \ 292 -Wno-non-virtual-dtor \ 293 -Wno-sign-promo \ 294 -Wno-non-virtual-dtor 295 296 297 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 298 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 299 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 300 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 301 ### Rules for final target. 302 303 LOCAL_SHARED_LIBRARIES := \ 304 libstlport \ 305 libdl 306 307 # Add target alias to "gyp_all_modules" target. 308 .PHONY: gyp_all_modules 309 gyp_all_modules: third_party_openmax_dl_dl_openmax_dl_gyp 310 311 # Alias gyp target name. 312 .PHONY: openmax_dl 313 openmax_dl: third_party_openmax_dl_dl_openmax_dl_gyp 314 315 include $(BUILD_STATIC_LIBRARY) 316