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 := media_blink_media_blink_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 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a \ 15 $(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_gyp,,,$(GYP_VAR_PREFIX))/blink.stamp 16 17 GYP_GENERATED_OUTPUTS := 18 19 # Make sure our deps and generated files are built first. 20 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 21 22 LOCAL_CPP_EXTENSION := .cc 23 LOCAL_GENERATED_SOURCES := 24 25 GYP_COPIED_SOURCE_ORIGIN_DIRS := 26 27 LOCAL_SRC_FILES := \ 28 media/blink/active_loader.cc \ 29 media/blink/buffered_data_source.cc \ 30 media/blink/buffered_data_source_host_impl.cc \ 31 media/blink/buffered_resource_loader.cc \ 32 media/blink/encrypted_media_player_support.cc \ 33 media/blink/cache_util.cc \ 34 media/blink/null_encrypted_media_player_support.cc \ 35 media/blink/texttrack_impl.cc \ 36 media/blink/video_frame_compositor.cc \ 37 media/blink/webaudiosourceprovider_impl.cc \ 38 media/blink/webinbandtexttrack_impl.cc \ 39 media/blink/webmediaplayer_params.cc \ 40 media/blink/webmediaplayer_util.cc \ 41 media/blink/webmediasource_impl.cc \ 42 media/blink/websourcebuffer_impl.cc 43 44 45 # Flags passed to both C and C++ files. 46 MY_CFLAGS_Debug := \ 47 --param=ssp-buffer-size=4 \ 48 -fno-strict-aliasing \ 49 -Wno-unused-parameter \ 50 -Wno-missing-field-initializers \ 51 -fvisibility=hidden \ 52 -pipe \ 53 -fPIC \ 54 -Wno-unused-local-typedefs \ 55 -Wno-format \ 56 -msse2 \ 57 -mfpmath=sse \ 58 -mmmx \ 59 -m32 \ 60 -ffunction-sections \ 61 -funwind-tables \ 62 -g \ 63 -fno-short-enums \ 64 -finline-limit=64 \ 65 -Wa,--noexecstack \ 66 -U_FORTIFY_SOURCE \ 67 -Wno-extra \ 68 -Wno-ignored-qualifiers \ 69 -Wno-type-limits \ 70 -Wno-unused-but-set-variable \ 71 -fno-stack-protector \ 72 -Wno-address \ 73 -Wno-format-security \ 74 -Wno-return-type \ 75 -Wno-sequence-point \ 76 -Os \ 77 -g \ 78 -gdwarf-4 \ 79 -fdata-sections \ 80 -ffunction-sections \ 81 -fomit-frame-pointer \ 82 -funwind-tables 83 84 MY_DEFS_Debug := \ 85 '-DV8_DEPRECATION_WARNINGS' \ 86 '-D_FILE_OFFSET_BITS=64' \ 87 '-DNO_TCMALLOC' \ 88 '-DDISABLE_NACL' \ 89 '-DCHROMIUM_BUILD' \ 90 '-DUSE_LIBJPEG_TURBO=1' \ 91 '-DENABLE_WEBRTC=1' \ 92 '-DUSE_PROPRIETARY_CODECS' \ 93 '-DENABLE_BROWSER_CDMS' \ 94 '-DENABLE_CONFIGURATION_POLICY' \ 95 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 96 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 97 '-DENABLE_EGLIMAGE=1' \ 98 '-DCLD_VERSION=1' \ 99 '-DENABLE_PRINTING=1' \ 100 '-DENABLE_MANAGED_USERS=1' \ 101 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 102 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 103 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 104 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 105 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 106 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 107 '-DVIDEO_HOLE=1' \ 108 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 109 '-DMEDIA_IMPLEMENTATION' \ 110 '-DSK_ENABLE_INST_COUNT=0' \ 111 '-DSK_SUPPORT_GPU=1' \ 112 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 113 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 114 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 115 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 116 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 117 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 118 '-DSK_BUILD_FOR_ANDROID' \ 119 '-DSK_USE_POSIX_THREADS' \ 120 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 121 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 122 '-DU_USING_ICU_NAMESPACE=0' \ 123 '-DU_ENABLE_DYLOAD=0' \ 124 '-DCHROME_PNG_WRITE_SUPPORT' \ 125 '-DPNG_USER_CONFIG' \ 126 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 127 '-DMEDIA_DISABLE_LIBVPX' \ 128 '-DUSE_OPENSSL=1' \ 129 '-DUSE_OPENSSL_CERTS=1' \ 130 '-DANDROID' \ 131 '-D__GNU_SOURCE=1' \ 132 '-DUSE_STLPORT=1' \ 133 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 134 '-DCHROME_BUILD_ID=""' \ 135 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 136 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 137 '-D_DEBUG' 138 139 140 # Include paths placed before CFLAGS/CPPFLAGS 141 LOCAL_C_INCLUDES_Debug := \ 142 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 143 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 144 $(gyp_shared_intermediate_dir) \ 145 $(LOCAL_PATH) \ 146 $(LOCAL_PATH)/third_party/khronos \ 147 $(LOCAL_PATH)/gpu \ 148 $(LOCAL_PATH)/skia/config \ 149 $(LOCAL_PATH)/third_party/WebKit/Source \ 150 $(LOCAL_PATH)/third_party/skia/src/core \ 151 $(LOCAL_PATH)/third_party/skia/include/core \ 152 $(LOCAL_PATH)/third_party/skia/include/effects \ 153 $(LOCAL_PATH)/third_party/skia/include/pdf \ 154 $(LOCAL_PATH)/third_party/skia/include/gpu \ 155 $(LOCAL_PATH)/third_party/skia/include/lazy \ 156 $(LOCAL_PATH)/third_party/skia/include/pathops \ 157 $(LOCAL_PATH)/third_party/skia/include/pipe \ 158 $(LOCAL_PATH)/third_party/skia/include/ports \ 159 $(LOCAL_PATH)/third_party/skia/include/utils \ 160 $(LOCAL_PATH)/skia/ext \ 161 $(LOCAL_PATH)/third_party/WebKit \ 162 $(PWD)/external/icu/icu4c/source/common \ 163 $(PWD)/external/icu/icu4c/source/i18n \ 164 $(LOCAL_PATH)/third_party/npapi \ 165 $(LOCAL_PATH)/third_party/npapi/bindings \ 166 $(LOCAL_PATH)/v8/include \ 167 $(LOCAL_PATH)/third_party/libpng \ 168 $(LOCAL_PATH)/third_party/zlib \ 169 $(LOCAL_PATH)/third_party/libwebp \ 170 $(LOCAL_PATH)/third_party/ots/include \ 171 $(LOCAL_PATH)/third_party/qcms/src \ 172 $(LOCAL_PATH)/third_party/iccjpeg \ 173 $(LOCAL_PATH)/third_party/libjpeg_turbo \ 174 $(PWD)/frameworks/wilhelm/include \ 175 $(PWD)/bionic \ 176 $(PWD)/external/stlport/stlport 177 178 179 # Flags passed to only C++ (and not C) files. 180 LOCAL_CPPFLAGS_Debug := \ 181 -fno-exceptions \ 182 -fno-rtti \ 183 -fno-threadsafe-statics \ 184 -fvisibility-inlines-hidden \ 185 -Wno-deprecated \ 186 -std=gnu++11 \ 187 -Wno-narrowing \ 188 -Wno-literal-suffix \ 189 -Wno-non-virtual-dtor \ 190 -Wno-sign-promo \ 191 -Wno-non-virtual-dtor 192 193 194 # Flags passed to both C and C++ files. 195 MY_CFLAGS_Release := \ 196 --param=ssp-buffer-size=4 \ 197 -fno-strict-aliasing \ 198 -Wno-unused-parameter \ 199 -Wno-missing-field-initializers \ 200 -fvisibility=hidden \ 201 -pipe \ 202 -fPIC \ 203 -Wno-unused-local-typedefs \ 204 -Wno-format \ 205 -msse2 \ 206 -mfpmath=sse \ 207 -mmmx \ 208 -m32 \ 209 -ffunction-sections \ 210 -funwind-tables \ 211 -g \ 212 -fno-short-enums \ 213 -finline-limit=64 \ 214 -Wa,--noexecstack \ 215 -U_FORTIFY_SOURCE \ 216 -Wno-extra \ 217 -Wno-ignored-qualifiers \ 218 -Wno-type-limits \ 219 -Wno-unused-but-set-variable \ 220 -fno-stack-protector \ 221 -Wno-address \ 222 -Wno-format-security \ 223 -Wno-return-type \ 224 -Wno-sequence-point \ 225 -Os \ 226 -fno-ident \ 227 -fdata-sections \ 228 -ffunction-sections \ 229 -fomit-frame-pointer \ 230 -funwind-tables 231 232 MY_DEFS_Release := \ 233 '-DV8_DEPRECATION_WARNINGS' \ 234 '-D_FILE_OFFSET_BITS=64' \ 235 '-DNO_TCMALLOC' \ 236 '-DDISABLE_NACL' \ 237 '-DCHROMIUM_BUILD' \ 238 '-DUSE_LIBJPEG_TURBO=1' \ 239 '-DENABLE_WEBRTC=1' \ 240 '-DUSE_PROPRIETARY_CODECS' \ 241 '-DENABLE_BROWSER_CDMS' \ 242 '-DENABLE_CONFIGURATION_POLICY' \ 243 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 244 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 245 '-DENABLE_EGLIMAGE=1' \ 246 '-DCLD_VERSION=1' \ 247 '-DENABLE_PRINTING=1' \ 248 '-DENABLE_MANAGED_USERS=1' \ 249 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 250 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 251 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 252 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 253 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 254 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 255 '-DVIDEO_HOLE=1' \ 256 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 257 '-DMEDIA_IMPLEMENTATION' \ 258 '-DSK_ENABLE_INST_COUNT=0' \ 259 '-DSK_SUPPORT_GPU=1' \ 260 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 261 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 262 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 263 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 264 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 265 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 266 '-DSK_BUILD_FOR_ANDROID' \ 267 '-DSK_USE_POSIX_THREADS' \ 268 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 269 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 270 '-DU_USING_ICU_NAMESPACE=0' \ 271 '-DU_ENABLE_DYLOAD=0' \ 272 '-DCHROME_PNG_WRITE_SUPPORT' \ 273 '-DPNG_USER_CONFIG' \ 274 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 275 '-DMEDIA_DISABLE_LIBVPX' \ 276 '-DUSE_OPENSSL=1' \ 277 '-DUSE_OPENSSL_CERTS=1' \ 278 '-DANDROID' \ 279 '-D__GNU_SOURCE=1' \ 280 '-DUSE_STLPORT=1' \ 281 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 282 '-DCHROME_BUILD_ID=""' \ 283 '-DNDEBUG' \ 284 '-DNVALGRIND' \ 285 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' 286 287 288 # Include paths placed before CFLAGS/CPPFLAGS 289 LOCAL_C_INCLUDES_Release := \ 290 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 291 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 292 $(gyp_shared_intermediate_dir) \ 293 $(LOCAL_PATH) \ 294 $(LOCAL_PATH)/third_party/khronos \ 295 $(LOCAL_PATH)/gpu \ 296 $(LOCAL_PATH)/skia/config \ 297 $(LOCAL_PATH)/third_party/WebKit/Source \ 298 $(LOCAL_PATH)/third_party/skia/src/core \ 299 $(LOCAL_PATH)/third_party/skia/include/core \ 300 $(LOCAL_PATH)/third_party/skia/include/effects \ 301 $(LOCAL_PATH)/third_party/skia/include/pdf \ 302 $(LOCAL_PATH)/third_party/skia/include/gpu \ 303 $(LOCAL_PATH)/third_party/skia/include/lazy \ 304 $(LOCAL_PATH)/third_party/skia/include/pathops \ 305 $(LOCAL_PATH)/third_party/skia/include/pipe \ 306 $(LOCAL_PATH)/third_party/skia/include/ports \ 307 $(LOCAL_PATH)/third_party/skia/include/utils \ 308 $(LOCAL_PATH)/skia/ext \ 309 $(LOCAL_PATH)/third_party/WebKit \ 310 $(PWD)/external/icu/icu4c/source/common \ 311 $(PWD)/external/icu/icu4c/source/i18n \ 312 $(LOCAL_PATH)/third_party/npapi \ 313 $(LOCAL_PATH)/third_party/npapi/bindings \ 314 $(LOCAL_PATH)/v8/include \ 315 $(LOCAL_PATH)/third_party/libpng \ 316 $(LOCAL_PATH)/third_party/zlib \ 317 $(LOCAL_PATH)/third_party/libwebp \ 318 $(LOCAL_PATH)/third_party/ots/include \ 319 $(LOCAL_PATH)/third_party/qcms/src \ 320 $(LOCAL_PATH)/third_party/iccjpeg \ 321 $(LOCAL_PATH)/third_party/libjpeg_turbo \ 322 $(PWD)/frameworks/wilhelm/include \ 323 $(PWD)/bionic \ 324 $(PWD)/external/stlport/stlport 325 326 327 # Flags passed to only C++ (and not C) files. 328 LOCAL_CPPFLAGS_Release := \ 329 -fno-exceptions \ 330 -fno-rtti \ 331 -fno-threadsafe-statics \ 332 -fvisibility-inlines-hidden \ 333 -Wno-deprecated \ 334 -std=gnu++11 \ 335 -Wno-narrowing \ 336 -Wno-literal-suffix \ 337 -Wno-non-virtual-dtor \ 338 -Wno-sign-promo \ 339 -Wno-non-virtual-dtor 340 341 342 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 343 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 344 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 345 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 346 ### Rules for final target. 347 348 LOCAL_SHARED_LIBRARIES := \ 349 libstlport \ 350 libdl 351 352 # Add target alias to "gyp_all_modules" target. 353 .PHONY: gyp_all_modules 354 gyp_all_modules: media_blink_media_blink_gyp 355 356 # Alias gyp target name. 357 .PHONY: media_blink 358 media_blink: media_blink_media_blink_gyp 359 360 include $(BUILD_STATIC_LIBRARY) 361