Home | History | Annotate | Download | only in dl
      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/x86/omxSP_FFTFwd_RToCCS_F32_Sfs.c \
     27 	third_party/openmax_dl/dl/sp/src/x86/omxSP_FFTGetBufSize_R_F32.c \
     28 	third_party/openmax_dl/dl/sp/src/x86/omxSP_FFTInit_R_F32.c \
     29 	third_party/openmax_dl/dl/sp/src/x86/omxSP_FFTInv_CCSToR_F32_Sfs.c \
     30 	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Fwd_Radix2_fs.c \
     31 	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Fwd_Radix2_ls.c \
     32 	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Fwd_Radix2_ls_sse.c \
     33 	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Fwd_Radix2_ms.c \
     34 	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Fwd_Radix4_fs.c \
     35 	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Fwd_Radix4_fs_sse.c \
     36 	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Fwd_Radix4_ls.c \
     37 	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Fwd_Radix4_ls_sse.c \
     38 	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Fwd_Radix4_ms.c \
     39 	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Fwd_Radix4_ms_sse.c \
     40 	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Inv_Radix2_fs.c \
     41 	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Inv_Radix2_ls.c \
     42 	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Inv_Radix2_ls_sse.c \
     43 	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Inv_Radix2_ms.c \
     44 	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Inv_Radix4_fs.c \
     45 	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Inv_Radix4_fs_sse.c \
     46 	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Inv_Radix4_ls.c \
     47 	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Inv_Radix4_ls_sse.c \
     48 	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Inv_Radix4_ms.c \
     49 	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_CToC_FC32_Inv_Radix4_ms_sse.c \
     50 	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_F32_radix2_kernel.c \
     51 	third_party/openmax_dl/dl/sp/src/x86/x86SP_FFT_F32_radix4_kernel.c
     52 
     53 
     54 # Flags passed to both C and C++ files.
     55 MY_CFLAGS_Debug := \
     56 	--param=ssp-buffer-size=4 \
     57 	-fno-strict-aliasing \
     58 	-Wno-unused-parameter \
     59 	-Wno-missing-field-initializers \
     60 	-fvisibility=hidden \
     61 	-pipe \
     62 	-fPIC \
     63 	-Wno-unused-local-typedefs \
     64 	-msse2 \
     65 	-Wno-format \
     66 	-msse2 \
     67 	-mfpmath=sse \
     68 	-mmmx \
     69 	-m32 \
     70 	-ffunction-sections \
     71 	-funwind-tables \
     72 	-g \
     73 	-fno-short-enums \
     74 	-finline-limit=64 \
     75 	-Wa,--noexecstack \
     76 	-U_FORTIFY_SOURCE \
     77 	-Wno-extra \
     78 	-Wno-ignored-qualifiers \
     79 	-Wno-type-limits \
     80 	-Wno-unused-but-set-variable \
     81 	-fno-stack-protector \
     82 	-Wno-address \
     83 	-Wno-format-security \
     84 	-Wno-return-type \
     85 	-Wno-sequence-point \
     86 	-Os \
     87 	-g \
     88 	-gdwarf-4 \
     89 	-fdata-sections \
     90 	-ffunction-sections \
     91 	-fomit-frame-pointer \
     92 	-funwind-tables
     93 
     94 MY_DEFS_Debug := \
     95 	'-DV8_DEPRECATION_WARNINGS' \
     96 	'-D_FILE_OFFSET_BITS=64' \
     97 	'-DNO_TCMALLOC' \
     98 	'-DDISABLE_NACL' \
     99 	'-DCHROMIUM_BUILD' \
    100 	'-DUSE_LIBJPEG_TURBO=1' \
    101 	'-DENABLE_WEBRTC=1' \
    102 	'-DUSE_PROPRIETARY_CODECS' \
    103 	'-DENABLE_BROWSER_CDMS' \
    104 	'-DENABLE_CONFIGURATION_POLICY' \
    105 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    106 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    107 	'-DENABLE_EGLIMAGE=1' \
    108 	'-DCLD_VERSION=1' \
    109 	'-DENABLE_PRINTING=1' \
    110 	'-DENABLE_MANAGED_USERS=1' \
    111 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    112 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
    113 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
    114 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    115 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    116 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    117 	'-DVIDEO_HOLE=1' \
    118 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
    119 	'-DBIG_FFT_TABLE' \
    120 	'-DUSE_OPENSSL=1' \
    121 	'-DUSE_OPENSSL_CERTS=1' \
    122 	'-DANDROID' \
    123 	'-D__GNU_SOURCE=1' \
    124 	'-DUSE_STLPORT=1' \
    125 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    126 	'-DCHROME_BUILD_ID=""' \
    127 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    128 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    129 	'-D_DEBUG'
    130 
    131 
    132 # Include paths placed before CFLAGS/CPPFLAGS
    133 LOCAL_C_INCLUDES_Debug := \
    134 	$(gyp_shared_intermediate_dir) \
    135 	$(LOCAL_PATH)/third_party/openmax_dl \
    136 	$(PWD)/frameworks/wilhelm/include \
    137 	$(PWD)/bionic \
    138 	$(PWD)/external/stlport/stlport
    139 
    140 
    141 # Flags passed to only C++ (and not C) files.
    142 LOCAL_CPPFLAGS_Debug := \
    143 	-fno-exceptions \
    144 	-fno-rtti \
    145 	-fno-threadsafe-statics \
    146 	-fvisibility-inlines-hidden \
    147 	-Wno-deprecated \
    148 	-std=gnu++11 \
    149 	-Wno-narrowing \
    150 	-Wno-literal-suffix \
    151 	-Wno-non-virtual-dtor \
    152 	-Wno-sign-promo \
    153 	-Wno-non-virtual-dtor
    154 
    155 
    156 # Flags passed to both C and C++ files.
    157 MY_CFLAGS_Release := \
    158 	--param=ssp-buffer-size=4 \
    159 	-fno-strict-aliasing \
    160 	-Wno-unused-parameter \
    161 	-Wno-missing-field-initializers \
    162 	-fvisibility=hidden \
    163 	-pipe \
    164 	-fPIC \
    165 	-Wno-unused-local-typedefs \
    166 	-msse2 \
    167 	-Wno-format \
    168 	-msse2 \
    169 	-mfpmath=sse \
    170 	-mmmx \
    171 	-m32 \
    172 	-ffunction-sections \
    173 	-funwind-tables \
    174 	-g \
    175 	-fno-short-enums \
    176 	-finline-limit=64 \
    177 	-Wa,--noexecstack \
    178 	-U_FORTIFY_SOURCE \
    179 	-Wno-extra \
    180 	-Wno-ignored-qualifiers \
    181 	-Wno-type-limits \
    182 	-Wno-unused-but-set-variable \
    183 	-fno-stack-protector \
    184 	-Wno-address \
    185 	-Wno-format-security \
    186 	-Wno-return-type \
    187 	-Wno-sequence-point \
    188 	-Os \
    189 	-fno-ident \
    190 	-fdata-sections \
    191 	-ffunction-sections \
    192 	-fomit-frame-pointer \
    193 	-funwind-tables
    194 
    195 MY_DEFS_Release := \
    196 	'-DV8_DEPRECATION_WARNINGS' \
    197 	'-D_FILE_OFFSET_BITS=64' \
    198 	'-DNO_TCMALLOC' \
    199 	'-DDISABLE_NACL' \
    200 	'-DCHROMIUM_BUILD' \
    201 	'-DUSE_LIBJPEG_TURBO=1' \
    202 	'-DENABLE_WEBRTC=1' \
    203 	'-DUSE_PROPRIETARY_CODECS' \
    204 	'-DENABLE_BROWSER_CDMS' \
    205 	'-DENABLE_CONFIGURATION_POLICY' \
    206 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    207 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    208 	'-DENABLE_EGLIMAGE=1' \
    209 	'-DCLD_VERSION=1' \
    210 	'-DENABLE_PRINTING=1' \
    211 	'-DENABLE_MANAGED_USERS=1' \
    212 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    213 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
    214 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
    215 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    216 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    217 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    218 	'-DVIDEO_HOLE=1' \
    219 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
    220 	'-DBIG_FFT_TABLE' \
    221 	'-DUSE_OPENSSL=1' \
    222 	'-DUSE_OPENSSL_CERTS=1' \
    223 	'-DANDROID' \
    224 	'-D__GNU_SOURCE=1' \
    225 	'-DUSE_STLPORT=1' \
    226 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    227 	'-DCHROME_BUILD_ID=""' \
    228 	'-DNDEBUG' \
    229 	'-DNVALGRIND' \
    230 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0'
    231 
    232 
    233 # Include paths placed before CFLAGS/CPPFLAGS
    234 LOCAL_C_INCLUDES_Release := \
    235 	$(gyp_shared_intermediate_dir) \
    236 	$(LOCAL_PATH)/third_party/openmax_dl \
    237 	$(PWD)/frameworks/wilhelm/include \
    238 	$(PWD)/bionic \
    239 	$(PWD)/external/stlport/stlport
    240 
    241 
    242 # Flags passed to only C++ (and not C) files.
    243 LOCAL_CPPFLAGS_Release := \
    244 	-fno-exceptions \
    245 	-fno-rtti \
    246 	-fno-threadsafe-statics \
    247 	-fvisibility-inlines-hidden \
    248 	-Wno-deprecated \
    249 	-std=gnu++11 \
    250 	-Wno-narrowing \
    251 	-Wno-literal-suffix \
    252 	-Wno-non-virtual-dtor \
    253 	-Wno-sign-promo \
    254 	-Wno-non-virtual-dtor
    255 
    256 
    257 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    258 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    259 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    260 LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
    261 ### Rules for final target.
    262 
    263 LOCAL_SHARED_LIBRARIES := \
    264 	libstlport \
    265 	libdl
    266 
    267 # Add target alias to "gyp_all_modules" target.
    268 .PHONY: gyp_all_modules
    269 gyp_all_modules: third_party_openmax_dl_dl_openmax_dl_gyp
    270 
    271 # Alias gyp target name.
    272 .PHONY: openmax_dl
    273 openmax_dl: third_party_openmax_dl_dl_openmax_dl_gyp
    274 
    275 include $(BUILD_STATIC_LIBRARY)
    276