Home | History | Annotate | Download | only in libvpx
      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_libvpx_libvpx_gyp
      7 LOCAL_MODULE_SUFFIX := .a
      8 LOCAL_MODULE_TAGS := optional
      9 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH)
     10 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX))
     11 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX))
     12 
     13 # Make sure our deps are built first.
     14 GYP_TARGET_DEPENDENCIES :=
     15 
     16 GYP_GENERATED_OUTPUTS :=
     17 
     18 # Make sure our deps and generated files are built first.
     19 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     20 
     21 LOCAL_GENERATED_SOURCES :=
     22 
     23 GYP_COPIED_SOURCE_ORIGIN_DIRS :=
     24 
     25 LOCAL_SRC_FILES := \
     26 	third_party/libvpx/source/config/linux/mipsel/vpx_config.c \
     27 	third_party/libvpx/source/libvpx/vp8/common/alloccommon.c \
     28 	third_party/libvpx/source/libvpx/vp8/common/blockd.c \
     29 	third_party/libvpx/source/libvpx/vp8/common/debugmodes.c \
     30 	third_party/libvpx/source/libvpx/vp8/common/dequantize.c \
     31 	third_party/libvpx/source/libvpx/vp8/common/entropy.c \
     32 	third_party/libvpx/source/libvpx/vp8/common/entropymode.c \
     33 	third_party/libvpx/source/libvpx/vp8/common/entropymv.c \
     34 	third_party/libvpx/source/libvpx/vp8/common/extend.c \
     35 	third_party/libvpx/source/libvpx/vp8/common/filter.c \
     36 	third_party/libvpx/source/libvpx/vp8/common/findnearmv.c \
     37 	third_party/libvpx/source/libvpx/vp8/common/generic/systemdependent.c \
     38 	third_party/libvpx/source/libvpx/vp8/common/idct_blk.c \
     39 	third_party/libvpx/source/libvpx/vp8/common/idctllm.c \
     40 	third_party/libvpx/source/libvpx/vp8/common/loopfilter.c \
     41 	third_party/libvpx/source/libvpx/vp8/common/loopfilter_filters.c \
     42 	third_party/libvpx/source/libvpx/vp8/common/mbpitch.c \
     43 	third_party/libvpx/source/libvpx/vp8/common/mfqe.c \
     44 	third_party/libvpx/source/libvpx/vp8/common/modecont.c \
     45 	third_party/libvpx/source/libvpx/vp8/common/postproc.c \
     46 	third_party/libvpx/source/libvpx/vp8/common/quant_common.c \
     47 	third_party/libvpx/source/libvpx/vp8/common/reconinter.c \
     48 	third_party/libvpx/source/libvpx/vp8/common/reconintra.c \
     49 	third_party/libvpx/source/libvpx/vp8/common/reconintra4x4.c \
     50 	third_party/libvpx/source/libvpx/vp8/common/rtcd.c \
     51 	third_party/libvpx/source/libvpx/vp8/common/sad_c.c \
     52 	third_party/libvpx/source/libvpx/vp8/common/setupintrarecon.c \
     53 	third_party/libvpx/source/libvpx/vp8/common/swapyv12buffer.c \
     54 	third_party/libvpx/source/libvpx/vp8/common/treecoder.c \
     55 	third_party/libvpx/source/libvpx/vp8/common/variance_c.c \
     56 	third_party/libvpx/source/libvpx/vp8/decoder/dboolhuff.c \
     57 	third_party/libvpx/source/libvpx/vp8/decoder/decodeframe.c \
     58 	third_party/libvpx/source/libvpx/vp8/decoder/decodemv.c \
     59 	third_party/libvpx/source/libvpx/vp8/decoder/detokenize.c \
     60 	third_party/libvpx/source/libvpx/vp8/decoder/onyxd_if.c \
     61 	third_party/libvpx/source/libvpx/vp8/decoder/threading.c \
     62 	third_party/libvpx/source/libvpx/vp8/encoder/bitstream.c \
     63 	third_party/libvpx/source/libvpx/vp8/encoder/boolhuff.c \
     64 	third_party/libvpx/source/libvpx/vp8/encoder/dct.c \
     65 	third_party/libvpx/source/libvpx/vp8/encoder/denoising.c \
     66 	third_party/libvpx/source/libvpx/vp8/encoder/encodeframe.c \
     67 	third_party/libvpx/source/libvpx/vp8/encoder/encodeintra.c \
     68 	third_party/libvpx/source/libvpx/vp8/encoder/encodemb.c \
     69 	third_party/libvpx/source/libvpx/vp8/encoder/encodemv.c \
     70 	third_party/libvpx/source/libvpx/vp8/encoder/ethreading.c \
     71 	third_party/libvpx/source/libvpx/vp8/encoder/firstpass.c \
     72 	third_party/libvpx/source/libvpx/vp8/encoder/lookahead.c \
     73 	third_party/libvpx/source/libvpx/vp8/encoder/mcomp.c \
     74 	third_party/libvpx/source/libvpx/vp8/encoder/modecosts.c \
     75 	third_party/libvpx/source/libvpx/vp8/encoder/mr_dissim.c \
     76 	third_party/libvpx/source/libvpx/vp8/encoder/onyx_if.c \
     77 	third_party/libvpx/source/libvpx/vp8/encoder/pickinter.c \
     78 	third_party/libvpx/source/libvpx/vp8/encoder/picklpf.c \
     79 	third_party/libvpx/source/libvpx/vp8/encoder/quantize.c \
     80 	third_party/libvpx/source/libvpx/vp8/encoder/ratectrl.c \
     81 	third_party/libvpx/source/libvpx/vp8/encoder/rdopt.c \
     82 	third_party/libvpx/source/libvpx/vp8/encoder/segmentation.c \
     83 	third_party/libvpx/source/libvpx/vp8/encoder/temporal_filter.c \
     84 	third_party/libvpx/source/libvpx/vp8/encoder/tokenize.c \
     85 	third_party/libvpx/source/libvpx/vp8/encoder/treewriter.c \
     86 	third_party/libvpx/source/libvpx/vp8/vp8_cx_iface.c \
     87 	third_party/libvpx/source/libvpx/vp8/vp8_dx_iface.c \
     88 	third_party/libvpx/source/libvpx/vp9/common/vp9_alloccommon.c \
     89 	third_party/libvpx/source/libvpx/vp9/common/vp9_blockd.c \
     90 	third_party/libvpx/source/libvpx/vp9/common/vp9_common_data.c \
     91 	third_party/libvpx/source/libvpx/vp9/common/vp9_convolve.c \
     92 	third_party/libvpx/source/libvpx/vp9/common/vp9_debugmodes.c \
     93 	third_party/libvpx/source/libvpx/vp9/common/vp9_entropy.c \
     94 	third_party/libvpx/source/libvpx/vp9/common/vp9_entropymode.c \
     95 	third_party/libvpx/source/libvpx/vp9/common/vp9_entropymv.c \
     96 	third_party/libvpx/source/libvpx/vp9/common/vp9_filter.c \
     97 	third_party/libvpx/source/libvpx/vp9/common/vp9_frame_buffers.c \
     98 	third_party/libvpx/source/libvpx/vp9/common/vp9_idct.c \
     99 	third_party/libvpx/source/libvpx/vp9/common/vp9_loopfilter.c \
    100 	third_party/libvpx/source/libvpx/vp9/common/vp9_loopfilter_filters.c \
    101 	third_party/libvpx/source/libvpx/vp9/common/vp9_mvref_common.c \
    102 	third_party/libvpx/source/libvpx/vp9/common/vp9_pred_common.c \
    103 	third_party/libvpx/source/libvpx/vp9/common/vp9_prob.c \
    104 	third_party/libvpx/source/libvpx/vp9/common/vp9_quant_common.c \
    105 	third_party/libvpx/source/libvpx/vp9/common/vp9_reconinter.c \
    106 	third_party/libvpx/source/libvpx/vp9/common/vp9_reconintra.c \
    107 	third_party/libvpx/source/libvpx/vp9/common/vp9_rtcd.c \
    108 	third_party/libvpx/source/libvpx/vp9/common/vp9_scale.c \
    109 	third_party/libvpx/source/libvpx/vp9/common/vp9_scan.c \
    110 	third_party/libvpx/source/libvpx/vp9/common/vp9_seg_common.c \
    111 	third_party/libvpx/source/libvpx/vp9/common/vp9_tile_common.c \
    112 	third_party/libvpx/source/libvpx/vp9/decoder/vp9_decodeframe.c \
    113 	third_party/libvpx/source/libvpx/vp9/decoder/vp9_decodemv.c \
    114 	third_party/libvpx/source/libvpx/vp9/decoder/vp9_decoder.c \
    115 	third_party/libvpx/source/libvpx/vp9/decoder/vp9_detokenize.c \
    116 	third_party/libvpx/source/libvpx/vp9/decoder/vp9_dsubexp.c \
    117 	third_party/libvpx/source/libvpx/vp9/decoder/vp9_dthread.c \
    118 	third_party/libvpx/source/libvpx/vp9/decoder/vp9_read_bit_buffer.c \
    119 	third_party/libvpx/source/libvpx/vp9/decoder/vp9_reader.c \
    120 	third_party/libvpx/source/libvpx/vp9/decoder/vp9_thread.c \
    121 	third_party/libvpx/source/libvpx/vp9/encoder/vp9_aq_complexity.c \
    122 	third_party/libvpx/source/libvpx/vp9/encoder/vp9_aq_cyclicrefresh.c \
    123 	third_party/libvpx/source/libvpx/vp9/encoder/vp9_aq_variance.c \
    124 	third_party/libvpx/source/libvpx/vp9/encoder/vp9_bitstream.c \
    125 	third_party/libvpx/source/libvpx/vp9/encoder/vp9_context_tree.c \
    126 	third_party/libvpx/source/libvpx/vp9/encoder/vp9_cost.c \
    127 	third_party/libvpx/source/libvpx/vp9/encoder/vp9_dct.c \
    128 	third_party/libvpx/source/libvpx/vp9/encoder/vp9_encodeframe.c \
    129 	third_party/libvpx/source/libvpx/vp9/encoder/vp9_encodemb.c \
    130 	third_party/libvpx/source/libvpx/vp9/encoder/vp9_encodemv.c \
    131 	third_party/libvpx/source/libvpx/vp9/encoder/vp9_encoder.c \
    132 	third_party/libvpx/source/libvpx/vp9/encoder/vp9_extend.c \
    133 	third_party/libvpx/source/libvpx/vp9/encoder/vp9_firstpass.c \
    134 	third_party/libvpx/source/libvpx/vp9/encoder/vp9_lookahead.c \
    135 	third_party/libvpx/source/libvpx/vp9/encoder/vp9_mbgraph.c \
    136 	third_party/libvpx/source/libvpx/vp9/encoder/vp9_mcomp.c \
    137 	third_party/libvpx/source/libvpx/vp9/encoder/vp9_picklpf.c \
    138 	third_party/libvpx/source/libvpx/vp9/encoder/vp9_pickmode.c \
    139 	third_party/libvpx/source/libvpx/vp9/encoder/vp9_quantize.c \
    140 	third_party/libvpx/source/libvpx/vp9/encoder/vp9_ratectrl.c \
    141 	third_party/libvpx/source/libvpx/vp9/encoder/vp9_rdopt.c \
    142 	third_party/libvpx/source/libvpx/vp9/encoder/vp9_resize.c \
    143 	third_party/libvpx/source/libvpx/vp9/encoder/vp9_sad.c \
    144 	third_party/libvpx/source/libvpx/vp9/encoder/vp9_segmentation.c \
    145 	third_party/libvpx/source/libvpx/vp9/encoder/vp9_speed_features.c \
    146 	third_party/libvpx/source/libvpx/vp9/encoder/vp9_subexp.c \
    147 	third_party/libvpx/source/libvpx/vp9/encoder/vp9_svc_layercontext.c \
    148 	third_party/libvpx/source/libvpx/vp9/encoder/vp9_temporal_filter.c \
    149 	third_party/libvpx/source/libvpx/vp9/encoder/vp9_tokenize.c \
    150 	third_party/libvpx/source/libvpx/vp9/encoder/vp9_treewriter.c \
    151 	third_party/libvpx/source/libvpx/vp9/encoder/vp9_variance.c \
    152 	third_party/libvpx/source/libvpx/vp9/encoder/vp9_write_bit_buffer.c \
    153 	third_party/libvpx/source/libvpx/vp9/encoder/vp9_writer.c \
    154 	third_party/libvpx/source/libvpx/vp9/vp9_cx_iface.c \
    155 	third_party/libvpx/source/libvpx/vp9/vp9_dx_iface.c \
    156 	third_party/libvpx/source/libvpx/vpx/src/svc_encodeframe.c \
    157 	third_party/libvpx/source/libvpx/vpx/src/vpx_codec.c \
    158 	third_party/libvpx/source/libvpx/vpx/src/vpx_decoder.c \
    159 	third_party/libvpx/source/libvpx/vpx/src/vpx_encoder.c \
    160 	third_party/libvpx/source/libvpx/vpx/src/vpx_image.c \
    161 	third_party/libvpx/source/libvpx/vpx/src/vpx_psnr.c \
    162 	third_party/libvpx/source/libvpx/vpx_mem/vpx_mem.c \
    163 	third_party/libvpx/source/libvpx/vpx_scale/generic/gen_scalers.c \
    164 	third_party/libvpx/source/libvpx/vpx_scale/generic/vpx_scale.c \
    165 	third_party/libvpx/source/libvpx/vpx_scale/generic/yv12config.c \
    166 	third_party/libvpx/source/libvpx/vpx_scale/generic/yv12extend.c \
    167 	third_party/libvpx/source/libvpx/vpx_scale/vpx_scale_rtcd.c
    168 
    169 
    170 # Flags passed to both C and C++ files.
    171 MY_CFLAGS_Debug := \
    172 	-fstack-protector \
    173 	--param=ssp-buffer-size=4 \
    174 	 \
    175 	-fno-exceptions \
    176 	-fno-strict-aliasing \
    177 	-Wno-unused-parameter \
    178 	-Wno-missing-field-initializers \
    179 	-fvisibility=hidden \
    180 	-pipe \
    181 	-fPIC \
    182 	-Wno-unused-local-typedefs \
    183 	-Wno-format \
    184 	-EL \
    185 	-mhard-float \
    186 	-ffunction-sections \
    187 	-funwind-tables \
    188 	-g \
    189 	-fstack-protector \
    190 	-fno-short-enums \
    191 	-finline-limit=64 \
    192 	-Wa,--noexecstack \
    193 	-U_FORTIFY_SOURCE \
    194 	-Wno-extra \
    195 	-Wno-ignored-qualifiers \
    196 	-Wno-type-limits \
    197 	-Wno-unused-but-set-variable \
    198 	-Wno-address \
    199 	-Wno-format-security \
    200 	-Wno-return-type \
    201 	-Wno-sequence-point \
    202 	-Os \
    203 	-g \
    204 	-fdata-sections \
    205 	-ffunction-sections \
    206 	-fomit-frame-pointer \
    207 	-funwind-tables
    208 
    209 MY_DEFS_Debug := \
    210 	'-DV8_DEPRECATION_WARNINGS' \
    211 	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
    212 	'-D_FILE_OFFSET_BITS=64' \
    213 	'-DNO_TCMALLOC' \
    214 	'-DDISABLE_NACL' \
    215 	'-DCHROMIUM_BUILD' \
    216 	'-DUSE_LIBJPEG_TURBO=1' \
    217 	'-DENABLE_WEBRTC=1' \
    218 	'-DUSE_PROPRIETARY_CODECS' \
    219 	'-DENABLE_BROWSER_CDMS' \
    220 	'-DENABLE_CONFIGURATION_POLICY' \
    221 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    222 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    223 	'-DENABLE_EGLIMAGE=1' \
    224 	'-DCLD_VERSION=1' \
    225 	'-DENABLE_PRINTING=1' \
    226 	'-DENABLE_MANAGED_USERS=1' \
    227 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    228 	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
    229 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    230 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    231 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    232 	'-DVIDEO_HOLE=1' \
    233 	'-DUSE_OPENSSL=1' \
    234 	'-DUSE_OPENSSL_CERTS=1' \
    235 	'-DANDROID' \
    236 	'-D__GNU_SOURCE=1' \
    237 	'-DUSE_STLPORT=1' \
    238 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    239 	'-DCHROME_BUILD_ID=""' \
    240 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    241 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    242 	'-D_DEBUG'
    243 
    244 
    245 # Include paths placed before CFLAGS/CPPFLAGS
    246 LOCAL_C_INCLUDES_Debug := \
    247 	$(gyp_shared_intermediate_dir) \
    248 	$(LOCAL_PATH)/third_party/libvpx/source/config/linux/mipsel \
    249 	$(LOCAL_PATH)/third_party/libvpx/source/config \
    250 	$(LOCAL_PATH)/third_party/libvpx/source/libvpx \
    251 	$(LOCAL_PATH)/third_party/libvpx/source/libvpx/vp8/common \
    252 	$(LOCAL_PATH)/third_party/libvpx/source/libvpx/vp8/decoder \
    253 	$(LOCAL_PATH)/third_party/libvpx/source/libvpx/vp8/encoder \
    254 	$(PWD)/frameworks/wilhelm/include \
    255 	$(PWD)/bionic \
    256 	$(PWD)/external/stlport/stlport
    257 
    258 
    259 # Flags passed to only C++ (and not C) files.
    260 LOCAL_CPPFLAGS_Debug := \
    261 	-fno-rtti \
    262 	-fno-threadsafe-statics \
    263 	-fvisibility-inlines-hidden \
    264 	-Wno-deprecated \
    265 	-Wno-uninitialized \
    266 	-Wno-non-virtual-dtor \
    267 	-Wno-sign-promo \
    268 	-Wno-non-virtual-dtor
    269 
    270 
    271 LOCAL_FDO_SUPPORT_Debug := false
    272 
    273 # Flags passed to both C and C++ files.
    274 MY_CFLAGS_Release := \
    275 	-fstack-protector \
    276 	--param=ssp-buffer-size=4 \
    277 	 \
    278 	-fno-exceptions \
    279 	-fno-strict-aliasing \
    280 	-Wno-unused-parameter \
    281 	-Wno-missing-field-initializers \
    282 	-fvisibility=hidden \
    283 	-pipe \
    284 	-fPIC \
    285 	-Wno-unused-local-typedefs \
    286 	-Wno-format \
    287 	-EL \
    288 	-mhard-float \
    289 	-ffunction-sections \
    290 	-funwind-tables \
    291 	-g \
    292 	-fstack-protector \
    293 	-fno-short-enums \
    294 	-finline-limit=64 \
    295 	-Wa,--noexecstack \
    296 	-U_FORTIFY_SOURCE \
    297 	-Wno-extra \
    298 	-Wno-ignored-qualifiers \
    299 	-Wno-type-limits \
    300 	-Wno-unused-but-set-variable \
    301 	-Wno-address \
    302 	-Wno-format-security \
    303 	-Wno-return-type \
    304 	-Wno-sequence-point \
    305 	-Os \
    306 	-fno-ident \
    307 	-fdata-sections \
    308 	-ffunction-sections \
    309 	-fomit-frame-pointer \
    310 	-funwind-tables
    311 
    312 MY_DEFS_Release := \
    313 	'-DV8_DEPRECATION_WARNINGS' \
    314 	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
    315 	'-D_FILE_OFFSET_BITS=64' \
    316 	'-DNO_TCMALLOC' \
    317 	'-DDISABLE_NACL' \
    318 	'-DCHROMIUM_BUILD' \
    319 	'-DUSE_LIBJPEG_TURBO=1' \
    320 	'-DENABLE_WEBRTC=1' \
    321 	'-DUSE_PROPRIETARY_CODECS' \
    322 	'-DENABLE_BROWSER_CDMS' \
    323 	'-DENABLE_CONFIGURATION_POLICY' \
    324 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    325 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    326 	'-DENABLE_EGLIMAGE=1' \
    327 	'-DCLD_VERSION=1' \
    328 	'-DENABLE_PRINTING=1' \
    329 	'-DENABLE_MANAGED_USERS=1' \
    330 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    331 	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
    332 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    333 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    334 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    335 	'-DVIDEO_HOLE=1' \
    336 	'-DUSE_OPENSSL=1' \
    337 	'-DUSE_OPENSSL_CERTS=1' \
    338 	'-DANDROID' \
    339 	'-D__GNU_SOURCE=1' \
    340 	'-DUSE_STLPORT=1' \
    341 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    342 	'-DCHROME_BUILD_ID=""' \
    343 	'-DNDEBUG' \
    344 	'-DNVALGRIND' \
    345 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0'
    346 
    347 
    348 # Include paths placed before CFLAGS/CPPFLAGS
    349 LOCAL_C_INCLUDES_Release := \
    350 	$(gyp_shared_intermediate_dir) \
    351 	$(LOCAL_PATH)/third_party/libvpx/source/config/linux/mipsel \
    352 	$(LOCAL_PATH)/third_party/libvpx/source/config \
    353 	$(LOCAL_PATH)/third_party/libvpx/source/libvpx \
    354 	$(LOCAL_PATH)/third_party/libvpx/source/libvpx/vp8/common \
    355 	$(LOCAL_PATH)/third_party/libvpx/source/libvpx/vp8/decoder \
    356 	$(LOCAL_PATH)/third_party/libvpx/source/libvpx/vp8/encoder \
    357 	$(PWD)/frameworks/wilhelm/include \
    358 	$(PWD)/bionic \
    359 	$(PWD)/external/stlport/stlport
    360 
    361 
    362 # Flags passed to only C++ (and not C) files.
    363 LOCAL_CPPFLAGS_Release := \
    364 	-fno-rtti \
    365 	-fno-threadsafe-statics \
    366 	-fvisibility-inlines-hidden \
    367 	-Wno-deprecated \
    368 	-Wno-uninitialized \
    369 	-Wno-non-virtual-dtor \
    370 	-Wno-sign-promo \
    371 	-Wno-non-virtual-dtor
    372 
    373 
    374 LOCAL_FDO_SUPPORT_Release := false
    375 
    376 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    377 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION))
    378 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    379 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    380 LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
    381 ### Rules for final target.
    382 
    383 LOCAL_LDFLAGS_Debug := \
    384 	-Wl,-z,now \
    385 	-Wl,-z,relro \
    386 	-Wl,--fatal-warnings \
    387 	-Wl,-z,noexecstack \
    388 	-fPIC \
    389 	-EL \
    390 	-Wl,--no-keep-memory \
    391 	-nostdlib \
    392 	-Wl,--no-undefined \
    393 	-Wl,--exclude-libs=ALL \
    394 	-Wl,--warn-shared-textrel \
    395 	-Wl,-O1 \
    396 	-Wl,--as-needed
    397 
    398 
    399 LOCAL_LDFLAGS_Release := \
    400 	-Wl,-z,now \
    401 	-Wl,-z,relro \
    402 	-Wl,--fatal-warnings \
    403 	-Wl,-z,noexecstack \
    404 	-fPIC \
    405 	-EL \
    406 	-Wl,--no-keep-memory \
    407 	-nostdlib \
    408 	-Wl,--no-undefined \
    409 	-Wl,--exclude-libs=ALL \
    410 	-Wl,-O1 \
    411 	-Wl,--as-needed \
    412 	-Wl,--gc-sections \
    413 	-Wl,--warn-shared-textrel
    414 
    415 
    416 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
    417 
    418 LOCAL_STATIC_LIBRARIES :=
    419 
    420 # Enable grouping to fix circular references
    421 LOCAL_GROUP_STATIC_LIBRARIES := true
    422 
    423 LOCAL_SHARED_LIBRARIES := \
    424 	libstlport \
    425 	libdl
    426 
    427 # Add target alias to "gyp_all_modules" target.
    428 .PHONY: gyp_all_modules
    429 gyp_all_modules: third_party_libvpx_libvpx_gyp
    430 
    431 # Alias gyp target name.
    432 .PHONY: libvpx
    433 libvpx: third_party_libvpx_libvpx_gyp
    434 
    435 include $(BUILD_STATIC_LIBRARY)
    436