Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 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 |
Android Chromium Automerger | ac8a0ea | 2014-04-09 18:59:36 +0000 | [diff] [blame] | 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)) |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 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/libvpx/source/config/linux/mipsel/vpx_config.c \ |
| 26 | third_party/libvpx/source/libvpx/vp8/common/alloccommon.c \ |
| 27 | third_party/libvpx/source/libvpx/vp8/common/blockd.c \ |
| 28 | third_party/libvpx/source/libvpx/vp8/common/debugmodes.c \ |
| 29 | third_party/libvpx/source/libvpx/vp8/common/dequantize.c \ |
| 30 | third_party/libvpx/source/libvpx/vp8/common/entropy.c \ |
| 31 | third_party/libvpx/source/libvpx/vp8/common/entropymode.c \ |
| 32 | third_party/libvpx/source/libvpx/vp8/common/entropymv.c \ |
| 33 | third_party/libvpx/source/libvpx/vp8/common/extend.c \ |
| 34 | third_party/libvpx/source/libvpx/vp8/common/filter.c \ |
| 35 | third_party/libvpx/source/libvpx/vp8/common/findnearmv.c \ |
| 36 | third_party/libvpx/source/libvpx/vp8/common/generic/systemdependent.c \ |
| 37 | third_party/libvpx/source/libvpx/vp8/common/idct_blk.c \ |
| 38 | third_party/libvpx/source/libvpx/vp8/common/idctllm.c \ |
| 39 | third_party/libvpx/source/libvpx/vp8/common/loopfilter.c \ |
| 40 | third_party/libvpx/source/libvpx/vp8/common/loopfilter_filters.c \ |
| 41 | third_party/libvpx/source/libvpx/vp8/common/mbpitch.c \ |
| 42 | third_party/libvpx/source/libvpx/vp8/common/mfqe.c \ |
| 43 | third_party/libvpx/source/libvpx/vp8/common/modecont.c \ |
| 44 | third_party/libvpx/source/libvpx/vp8/common/postproc.c \ |
| 45 | third_party/libvpx/source/libvpx/vp8/common/quant_common.c \ |
| 46 | third_party/libvpx/source/libvpx/vp8/common/reconinter.c \ |
| 47 | third_party/libvpx/source/libvpx/vp8/common/reconintra.c \ |
| 48 | third_party/libvpx/source/libvpx/vp8/common/reconintra4x4.c \ |
| 49 | third_party/libvpx/source/libvpx/vp8/common/rtcd.c \ |
| 50 | third_party/libvpx/source/libvpx/vp8/common/sad_c.c \ |
| 51 | third_party/libvpx/source/libvpx/vp8/common/setupintrarecon.c \ |
| 52 | third_party/libvpx/source/libvpx/vp8/common/swapyv12buffer.c \ |
| 53 | third_party/libvpx/source/libvpx/vp8/common/treecoder.c \ |
| 54 | third_party/libvpx/source/libvpx/vp8/common/variance_c.c \ |
| 55 | third_party/libvpx/source/libvpx/vp8/decoder/dboolhuff.c \ |
| 56 | third_party/libvpx/source/libvpx/vp8/decoder/decodeframe.c \ |
| 57 | third_party/libvpx/source/libvpx/vp8/decoder/decodemv.c \ |
| 58 | third_party/libvpx/source/libvpx/vp8/decoder/detokenize.c \ |
| 59 | third_party/libvpx/source/libvpx/vp8/decoder/onyxd_if.c \ |
| 60 | third_party/libvpx/source/libvpx/vp8/decoder/threading.c \ |
| 61 | third_party/libvpx/source/libvpx/vp8/encoder/bitstream.c \ |
| 62 | third_party/libvpx/source/libvpx/vp8/encoder/boolhuff.c \ |
| 63 | third_party/libvpx/source/libvpx/vp8/encoder/dct.c \ |
| 64 | third_party/libvpx/source/libvpx/vp8/encoder/denoising.c \ |
| 65 | third_party/libvpx/source/libvpx/vp8/encoder/encodeframe.c \ |
| 66 | third_party/libvpx/source/libvpx/vp8/encoder/encodeintra.c \ |
| 67 | third_party/libvpx/source/libvpx/vp8/encoder/encodemb.c \ |
| 68 | third_party/libvpx/source/libvpx/vp8/encoder/encodemv.c \ |
| 69 | third_party/libvpx/source/libvpx/vp8/encoder/ethreading.c \ |
| 70 | third_party/libvpx/source/libvpx/vp8/encoder/firstpass.c \ |
| 71 | third_party/libvpx/source/libvpx/vp8/encoder/lookahead.c \ |
| 72 | third_party/libvpx/source/libvpx/vp8/encoder/mcomp.c \ |
| 73 | third_party/libvpx/source/libvpx/vp8/encoder/modecosts.c \ |
| 74 | third_party/libvpx/source/libvpx/vp8/encoder/mr_dissim.c \ |
| 75 | third_party/libvpx/source/libvpx/vp8/encoder/onyx_if.c \ |
| 76 | third_party/libvpx/source/libvpx/vp8/encoder/pickinter.c \ |
| 77 | third_party/libvpx/source/libvpx/vp8/encoder/picklpf.c \ |
| 78 | third_party/libvpx/source/libvpx/vp8/encoder/quantize.c \ |
| 79 | third_party/libvpx/source/libvpx/vp8/encoder/ratectrl.c \ |
| 80 | third_party/libvpx/source/libvpx/vp8/encoder/rdopt.c \ |
| 81 | third_party/libvpx/source/libvpx/vp8/encoder/segmentation.c \ |
| 82 | third_party/libvpx/source/libvpx/vp8/encoder/temporal_filter.c \ |
| 83 | third_party/libvpx/source/libvpx/vp8/encoder/tokenize.c \ |
| 84 | third_party/libvpx/source/libvpx/vp8/encoder/treewriter.c \ |
| 85 | third_party/libvpx/source/libvpx/vp8/vp8_cx_iface.c \ |
| 86 | third_party/libvpx/source/libvpx/vp8/vp8_dx_iface.c \ |
| 87 | third_party/libvpx/source/libvpx/vp9/common/vp9_alloccommon.c \ |
| 88 | third_party/libvpx/source/libvpx/vp9/common/vp9_blockd.c \ |
| 89 | third_party/libvpx/source/libvpx/vp9/common/vp9_common_data.c \ |
| 90 | third_party/libvpx/source/libvpx/vp9/common/vp9_convolve.c \ |
| 91 | third_party/libvpx/source/libvpx/vp9/common/vp9_debugmodes.c \ |
| 92 | third_party/libvpx/source/libvpx/vp9/common/vp9_entropy.c \ |
| 93 | third_party/libvpx/source/libvpx/vp9/common/vp9_entropymode.c \ |
| 94 | third_party/libvpx/source/libvpx/vp9/common/vp9_entropymv.c \ |
| 95 | third_party/libvpx/source/libvpx/vp9/common/vp9_filter.c \ |
| 96 | third_party/libvpx/source/libvpx/vp9/common/vp9_frame_buffers.c \ |
| 97 | third_party/libvpx/source/libvpx/vp9/common/vp9_idct.c \ |
| 98 | third_party/libvpx/source/libvpx/vp9/common/vp9_loopfilter.c \ |
| 99 | third_party/libvpx/source/libvpx/vp9/common/vp9_loopfilter_filters.c \ |
| 100 | third_party/libvpx/source/libvpx/vp9/common/vp9_mvref_common.c \ |
| 101 | third_party/libvpx/source/libvpx/vp9/common/vp9_pred_common.c \ |
| 102 | third_party/libvpx/source/libvpx/vp9/common/vp9_prob.c \ |
| 103 | third_party/libvpx/source/libvpx/vp9/common/vp9_quant_common.c \ |
| 104 | third_party/libvpx/source/libvpx/vp9/common/vp9_reconinter.c \ |
| 105 | third_party/libvpx/source/libvpx/vp9/common/vp9_reconintra.c \ |
| 106 | third_party/libvpx/source/libvpx/vp9/common/vp9_rtcd.c \ |
| 107 | third_party/libvpx/source/libvpx/vp9/common/vp9_scale.c \ |
| 108 | third_party/libvpx/source/libvpx/vp9/common/vp9_scan.c \ |
| 109 | third_party/libvpx/source/libvpx/vp9/common/vp9_seg_common.c \ |
Android Chromium Automerger | 85d3a42 | 2014-07-13 21:43:43 +0000 | [diff] [blame] | 110 | third_party/libvpx/source/libvpx/vp9/common/vp9_thread.c \ |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 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 \ |
Android Chromium Automerger | 0052df9 | 2014-04-11 23:37:18 +0000 | [diff] [blame] | 114 | third_party/libvpx/source/libvpx/vp9/decoder/vp9_decoder.c \ |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 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 \ |
Android Chromium Automerger | 0052df9 | 2014-04-11 23:37:18 +0000 | [diff] [blame] | 118 | third_party/libvpx/source/libvpx/vp9/decoder/vp9_read_bit_buffer.c \ |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 119 | third_party/libvpx/source/libvpx/vp9/decoder/vp9_reader.c \ |
Android Chromium Automerger | 0052df9 | 2014-04-11 23:37:18 +0000 | [diff] [blame] | 120 | third_party/libvpx/source/libvpx/vp9/encoder/vp9_aq_complexity.c \ |
| 121 | third_party/libvpx/source/libvpx/vp9/encoder/vp9_aq_cyclicrefresh.c \ |
| 122 | third_party/libvpx/source/libvpx/vp9/encoder/vp9_aq_variance.c \ |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 123 | third_party/libvpx/source/libvpx/vp9/encoder/vp9_bitstream.c \ |
Android Chromium Automerger | 4f26e25 | 2014-04-29 20:38:45 +0000 | [diff] [blame] | 124 | third_party/libvpx/source/libvpx/vp9/encoder/vp9_context_tree.c \ |
Android Chromium Automerger | 0052df9 | 2014-04-11 23:37:18 +0000 | [diff] [blame] | 125 | third_party/libvpx/source/libvpx/vp9/encoder/vp9_cost.c \ |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 126 | third_party/libvpx/source/libvpx/vp9/encoder/vp9_dct.c \ |
| 127 | third_party/libvpx/source/libvpx/vp9/encoder/vp9_encodeframe.c \ |
| 128 | third_party/libvpx/source/libvpx/vp9/encoder/vp9_encodemb.c \ |
| 129 | third_party/libvpx/source/libvpx/vp9/encoder/vp9_encodemv.c \ |
Android Chromium Automerger | 4f26e25 | 2014-04-29 20:38:45 +0000 | [diff] [blame] | 130 | third_party/libvpx/source/libvpx/vp9/encoder/vp9_encoder.c \ |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 131 | third_party/libvpx/source/libvpx/vp9/encoder/vp9_extend.c \ |
| 132 | third_party/libvpx/source/libvpx/vp9/encoder/vp9_firstpass.c \ |
| 133 | third_party/libvpx/source/libvpx/vp9/encoder/vp9_lookahead.c \ |
| 134 | third_party/libvpx/source/libvpx/vp9/encoder/vp9_mbgraph.c \ |
| 135 | third_party/libvpx/source/libvpx/vp9/encoder/vp9_mcomp.c \ |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 136 | third_party/libvpx/source/libvpx/vp9/encoder/vp9_picklpf.c \ |
| 137 | third_party/libvpx/source/libvpx/vp9/encoder/vp9_pickmode.c \ |
| 138 | third_party/libvpx/source/libvpx/vp9/encoder/vp9_quantize.c \ |
| 139 | third_party/libvpx/source/libvpx/vp9/encoder/vp9_ratectrl.c \ |
Android Chromium Automerger | c06107b | 2014-07-09 23:16:54 +0000 | [diff] [blame] | 140 | third_party/libvpx/source/libvpx/vp9/encoder/vp9_rd.c \ |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 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 \ |
Android Chromium Automerger | 0052df9 | 2014-04-11 23:37:18 +0000 | [diff] [blame] | 145 | third_party/libvpx/source/libvpx/vp9/encoder/vp9_speed_features.c \ |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 146 | third_party/libvpx/source/libvpx/vp9/encoder/vp9_subexp.c \ |
Android Chromium Automerger | 0052df9 | 2014-04-11 23:37:18 +0000 | [diff] [blame] | 147 | third_party/libvpx/source/libvpx/vp9/encoder/vp9_svc_layercontext.c \ |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 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 \ |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 151 | third_party/libvpx/source/libvpx/vp9/encoder/vp9_variance.c \ |
Android Chromium Automerger | 0052df9 | 2014-04-11 23:37:18 +0000 | [diff] [blame] | 152 | third_party/libvpx/source/libvpx/vp9/encoder/vp9_write_bit_buffer.c \ |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 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 \ |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 156 | third_party/libvpx/source/libvpx/vpx/src/vpx_codec.c \ |
| 157 | third_party/libvpx/source/libvpx/vpx/src/vpx_decoder.c \ |
| 158 | third_party/libvpx/source/libvpx/vpx/src/vpx_encoder.c \ |
| 159 | third_party/libvpx/source/libvpx/vpx/src/vpx_image.c \ |
| 160 | third_party/libvpx/source/libvpx/vpx/src/vpx_psnr.c \ |
| 161 | third_party/libvpx/source/libvpx/vpx_mem/vpx_mem.c \ |
| 162 | third_party/libvpx/source/libvpx/vpx_scale/generic/gen_scalers.c \ |
| 163 | third_party/libvpx/source/libvpx/vpx_scale/generic/vpx_scale.c \ |
| 164 | third_party/libvpx/source/libvpx/vpx_scale/generic/yv12config.c \ |
| 165 | third_party/libvpx/source/libvpx/vpx_scale/generic/yv12extend.c \ |
| 166 | third_party/libvpx/source/libvpx/vpx_scale/vpx_scale_rtcd.c |
| 167 | |
| 168 | |
| 169 | # Flags passed to both C and C++ files. |
| 170 | MY_CFLAGS_Debug := \ |
| 171 | -fstack-protector \ |
| 172 | --param=ssp-buffer-size=4 \ |
| 173 | \ |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 174 | -fno-strict-aliasing \ |
| 175 | -Wno-unused-parameter \ |
| 176 | -Wno-missing-field-initializers \ |
| 177 | -fvisibility=hidden \ |
| 178 | -pipe \ |
| 179 | -fPIC \ |
Android Chromium Automerger | b43e9a6 | 2014-05-28 16:21:45 +0000 | [diff] [blame] | 180 | -Wno-unused-local-typedefs \ |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 181 | -Wno-format \ |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 182 | -ffunction-sections \ |
| 183 | -funwind-tables \ |
| 184 | -g \ |
| 185 | -fstack-protector \ |
| 186 | -fno-short-enums \ |
| 187 | -finline-limit=64 \ |
| 188 | -Wa,--noexecstack \ |
| 189 | -U_FORTIFY_SOURCE \ |
| 190 | -Wno-extra \ |
| 191 | -Wno-ignored-qualifiers \ |
| 192 | -Wno-type-limits \ |
| 193 | -Wno-unused-but-set-variable \ |
| 194 | -Wno-address \ |
| 195 | -Wno-format-security \ |
| 196 | -Wno-return-type \ |
| 197 | -Wno-sequence-point \ |
| 198 | -Os \ |
| 199 | -g \ |
Android Chromium Automerger | 5b683da | 2014-09-22 07:35:26 +0000 | [diff] [blame] | 200 | -gdwarf-4 \ |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 201 | -fdata-sections \ |
| 202 | -ffunction-sections \ |
Android Chromium Automerger | c02e7d8 | 2014-07-10 18:45:24 +0000 | [diff] [blame] | 203 | -fomit-frame-pointer \ |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 204 | -funwind-tables |
| 205 | |
| 206 | MY_DEFS_Debug := \ |
| 207 | '-DV8_DEPRECATION_WARNINGS' \ |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 208 | '-D_FILE_OFFSET_BITS=64' \ |
| 209 | '-DNO_TCMALLOC' \ |
| 210 | '-DDISABLE_NACL' \ |
| 211 | '-DCHROMIUM_BUILD' \ |
| 212 | '-DUSE_LIBJPEG_TURBO=1' \ |
| 213 | '-DENABLE_WEBRTC=1' \ |
| 214 | '-DUSE_PROPRIETARY_CODECS' \ |
Android Chromium Automerger | f1a314b | 2014-06-10 23:37:10 +0000 | [diff] [blame] | 215 | '-DENABLE_BROWSER_CDMS' \ |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 216 | '-DENABLE_CONFIGURATION_POLICY' \ |
| 217 | '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ |
| 218 | '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ |
| 219 | '-DENABLE_EGLIMAGE=1' \ |
| 220 | '-DCLD_VERSION=1' \ |
| 221 | '-DENABLE_PRINTING=1' \ |
| 222 | '-DENABLE_MANAGED_USERS=1' \ |
Torne (Richard Coles) | deafe80 | 2014-05-16 13:15:59 +0100 | [diff] [blame] | 223 | '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ |
Android Chromium Automerger | 22959a2 | 2014-09-10 00:01:01 +0000 | [diff] [blame] | 224 | '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ |
| 225 | '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ |
Torne (Richard Coles) | deafe80 | 2014-05-16 13:15:59 +0100 | [diff] [blame] | 226 | '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ |
| 227 | '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ |
Android Chromium Automerger | d77dc45 | 2014-06-19 03:36:28 +0000 | [diff] [blame] | 228 | '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ |
Torne (Richard Coles) | 80bc6f5 | 2014-05-14 10:24:50 +0100 | [diff] [blame] | 229 | '-DVIDEO_HOLE=1' \ |
Android Chromium Automerger | 911b346 | 2014-09-10 03:33:04 +0000 | [diff] [blame] | 230 | '-DENABLE_LOAD_COMPLETION_HACKS=1' \ |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 231 | '-DUSE_OPENSSL=1' \ |
| 232 | '-DUSE_OPENSSL_CERTS=1' \ |
| 233 | '-DANDROID' \ |
| 234 | '-D__GNU_SOURCE=1' \ |
| 235 | '-DUSE_STLPORT=1' \ |
| 236 | '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ |
| 237 | '-DCHROME_BUILD_ID=""' \ |
| 238 | '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ |
| 239 | '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ |
| 240 | '-D_DEBUG' |
| 241 | |
| 242 | |
| 243 | # Include paths placed before CFLAGS/CPPFLAGS |
| 244 | LOCAL_C_INCLUDES_Debug := \ |
Android Chromium Automerger | b68b694 | 2014-06-16 14:50:38 +0000 | [diff] [blame] | 245 | $(gyp_shared_intermediate_dir) \ |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 246 | $(LOCAL_PATH)/third_party/libvpx/source/config/linux/mipsel \ |
| 247 | $(LOCAL_PATH)/third_party/libvpx/source/config \ |
| 248 | $(LOCAL_PATH)/third_party/libvpx/source/libvpx \ |
| 249 | $(LOCAL_PATH)/third_party/libvpx/source/libvpx/vp8/common \ |
| 250 | $(LOCAL_PATH)/third_party/libvpx/source/libvpx/vp8/decoder \ |
| 251 | $(LOCAL_PATH)/third_party/libvpx/source/libvpx/vp8/encoder \ |
| 252 | $(PWD)/frameworks/wilhelm/include \ |
| 253 | $(PWD)/bionic \ |
| 254 | $(PWD)/external/stlport/stlport |
| 255 | |
| 256 | |
| 257 | # Flags passed to only C++ (and not C) files. |
| 258 | LOCAL_CPPFLAGS_Debug := \ |
Android Chromium Automerger | e1beb49 | 2014-09-11 17:45:37 +0000 | [diff] [blame] | 259 | -fno-exceptions \ |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 260 | -fno-rtti \ |
| 261 | -fno-threadsafe-statics \ |
| 262 | -fvisibility-inlines-hidden \ |
| 263 | -Wno-deprecated \ |
| 264 | -Wno-uninitialized \ |
Android Chromium Automerger | f15f350 | 2014-06-25 15:10:09 +0000 | [diff] [blame] | 265 | -std=gnu++11 \ |
| 266 | -Wno-narrowing \ |
| 267 | -Wno-literal-suffix \ |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 268 | -Wno-non-virtual-dtor \ |
| 269 | -Wno-sign-promo \ |
| 270 | -Wno-non-virtual-dtor |
| 271 | |
| 272 | |
| 273 | # Flags passed to both C and C++ files. |
| 274 | MY_CFLAGS_Release := \ |
| 275 | -fstack-protector \ |
| 276 | --param=ssp-buffer-size=4 \ |
| 277 | \ |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 278 | -fno-strict-aliasing \ |
| 279 | -Wno-unused-parameter \ |
| 280 | -Wno-missing-field-initializers \ |
| 281 | -fvisibility=hidden \ |
| 282 | -pipe \ |
| 283 | -fPIC \ |
Android Chromium Automerger | b43e9a6 | 2014-05-28 16:21:45 +0000 | [diff] [blame] | 284 | -Wno-unused-local-typedefs \ |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 285 | -Wno-format \ |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 286 | -ffunction-sections \ |
| 287 | -funwind-tables \ |
| 288 | -g \ |
| 289 | -fstack-protector \ |
| 290 | -fno-short-enums \ |
| 291 | -finline-limit=64 \ |
| 292 | -Wa,--noexecstack \ |
| 293 | -U_FORTIFY_SOURCE \ |
| 294 | -Wno-extra \ |
| 295 | -Wno-ignored-qualifiers \ |
| 296 | -Wno-type-limits \ |
| 297 | -Wno-unused-but-set-variable \ |
| 298 | -Wno-address \ |
| 299 | -Wno-format-security \ |
| 300 | -Wno-return-type \ |
| 301 | -Wno-sequence-point \ |
| 302 | -Os \ |
| 303 | -fno-ident \ |
| 304 | -fdata-sections \ |
| 305 | -ffunction-sections \ |
| 306 | -fomit-frame-pointer \ |
| 307 | -funwind-tables |
| 308 | |
| 309 | MY_DEFS_Release := \ |
| 310 | '-DV8_DEPRECATION_WARNINGS' \ |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 311 | '-D_FILE_OFFSET_BITS=64' \ |
| 312 | '-DNO_TCMALLOC' \ |
| 313 | '-DDISABLE_NACL' \ |
| 314 | '-DCHROMIUM_BUILD' \ |
| 315 | '-DUSE_LIBJPEG_TURBO=1' \ |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 316 | '-DENABLE_WEBRTC=1' \ |
| 317 | '-DUSE_PROPRIETARY_CODECS' \ |
Android Chromium Automerger | f1a314b | 2014-06-10 23:37:10 +0000 | [diff] [blame] | 318 | '-DENABLE_BROWSER_CDMS' \ |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 319 | '-DENABLE_CONFIGURATION_POLICY' \ |
| 320 | '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ |
| 321 | '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ |
| 322 | '-DENABLE_EGLIMAGE=1' \ |
| 323 | '-DCLD_VERSION=1' \ |
| 324 | '-DENABLE_PRINTING=1' \ |
| 325 | '-DENABLE_MANAGED_USERS=1' \ |
Torne (Richard Coles) | deafe80 | 2014-05-16 13:15:59 +0100 | [diff] [blame] | 326 | '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ |
Android Chromium Automerger | 22959a2 | 2014-09-10 00:01:01 +0000 | [diff] [blame] | 327 | '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ |
| 328 | '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ |
Torne (Richard Coles) | deafe80 | 2014-05-16 13:15:59 +0100 | [diff] [blame] | 329 | '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ |
| 330 | '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ |
Android Chromium Automerger | d77dc45 | 2014-06-19 03:36:28 +0000 | [diff] [blame] | 331 | '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ |
Torne (Richard Coles) | 80bc6f5 | 2014-05-14 10:24:50 +0100 | [diff] [blame] | 332 | '-DVIDEO_HOLE=1' \ |
Android Chromium Automerger | 911b346 | 2014-09-10 03:33:04 +0000 | [diff] [blame] | 333 | '-DENABLE_LOAD_COMPLETION_HACKS=1' \ |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 334 | '-DUSE_OPENSSL=1' \ |
| 335 | '-DUSE_OPENSSL_CERTS=1' \ |
| 336 | '-DANDROID' \ |
| 337 | '-D__GNU_SOURCE=1' \ |
| 338 | '-DUSE_STLPORT=1' \ |
| 339 | '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ |
| 340 | '-DCHROME_BUILD_ID=""' \ |
| 341 | '-DNDEBUG' \ |
| 342 | '-DNVALGRIND' \ |
| 343 | '-DDYNAMIC_ANNOTATIONS_ENABLED=0' |
| 344 | |
| 345 | |
| 346 | # Include paths placed before CFLAGS/CPPFLAGS |
| 347 | LOCAL_C_INCLUDES_Release := \ |
Android Chromium Automerger | b68b694 | 2014-06-16 14:50:38 +0000 | [diff] [blame] | 348 | $(gyp_shared_intermediate_dir) \ |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 349 | $(LOCAL_PATH)/third_party/libvpx/source/config/linux/mipsel \ |
| 350 | $(LOCAL_PATH)/third_party/libvpx/source/config \ |
| 351 | $(LOCAL_PATH)/third_party/libvpx/source/libvpx \ |
| 352 | $(LOCAL_PATH)/third_party/libvpx/source/libvpx/vp8/common \ |
| 353 | $(LOCAL_PATH)/third_party/libvpx/source/libvpx/vp8/decoder \ |
| 354 | $(LOCAL_PATH)/third_party/libvpx/source/libvpx/vp8/encoder \ |
| 355 | $(PWD)/frameworks/wilhelm/include \ |
| 356 | $(PWD)/bionic \ |
| 357 | $(PWD)/external/stlport/stlport |
| 358 | |
| 359 | |
| 360 | # Flags passed to only C++ (and not C) files. |
| 361 | LOCAL_CPPFLAGS_Release := \ |
Android Chromium Automerger | e1beb49 | 2014-09-11 17:45:37 +0000 | [diff] [blame] | 362 | -fno-exceptions \ |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 363 | -fno-rtti \ |
| 364 | -fno-threadsafe-statics \ |
| 365 | -fvisibility-inlines-hidden \ |
| 366 | -Wno-deprecated \ |
| 367 | -Wno-uninitialized \ |
Android Chromium Automerger | f15f350 | 2014-06-25 15:10:09 +0000 | [diff] [blame] | 368 | -std=gnu++11 \ |
| 369 | -Wno-narrowing \ |
| 370 | -Wno-literal-suffix \ |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 371 | -Wno-non-virtual-dtor \ |
| 372 | -Wno-sign-promo \ |
| 373 | -Wno-non-virtual-dtor |
| 374 | |
| 375 | |
| 376 | LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) |
| 377 | LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) |
| 378 | LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) |
| 379 | LOCAL_ASFLAGS := $(LOCAL_CFLAGS) |
| 380 | ### Rules for final target. |
| 381 | |
Android Chromium Automerger | 51219f8 | 2014-04-01 19:42:47 +0000 | [diff] [blame] | 382 | LOCAL_SHARED_LIBRARIES := \ |
| 383 | libstlport \ |
| 384 | libdl |
| 385 | |
| 386 | # Add target alias to "gyp_all_modules" target. |
| 387 | .PHONY: gyp_all_modules |
| 388 | gyp_all_modules: third_party_libvpx_libvpx_gyp |
| 389 | |
| 390 | # Alias gyp target name. |
| 391 | .PHONY: libvpx |
| 392 | libvpx: third_party_libvpx_libvpx_gyp |
| 393 | |
| 394 | include $(BUILD_STATIC_LIBRARY) |