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 -fstack-protector \ 48 --param=ssp-buffer-size=4 \ 49 \ 50 -fno-strict-aliasing \ 51 -Wno-unused-parameter \ 52 -Wno-missing-field-initializers \ 53 -fvisibility=hidden \ 54 -pipe \ 55 -fPIC \ 56 -Wno-unused-local-typedefs \ 57 -Wno-format \ 58 -ffunction-sections \ 59 -funwind-tables \ 60 -g \ 61 -fstack-protector \ 62 -fno-short-enums \ 63 -finline-limit=64 \ 64 -Wa,--noexecstack \ 65 -U_FORTIFY_SOURCE \ 66 -Wno-extra \ 67 -Wno-ignored-qualifiers \ 68 -Wno-type-limits \ 69 -Wno-unused-but-set-variable \ 70 -Wno-address \ 71 -Wno-format-security \ 72 -Wno-return-type \ 73 -Wno-sequence-point \ 74 -Os \ 75 -g \ 76 -gdwarf-4 \ 77 -fdata-sections \ 78 -ffunction-sections \ 79 -fomit-frame-pointer \ 80 -funwind-tables 81 82 MY_DEFS_Debug := \ 83 '-DV8_DEPRECATION_WARNINGS' \ 84 '-D_FILE_OFFSET_BITS=64' \ 85 '-DNO_TCMALLOC' \ 86 '-DDISABLE_NACL' \ 87 '-DCHROMIUM_BUILD' \ 88 '-DUSE_LIBJPEG_TURBO=1' \ 89 '-DENABLE_WEBRTC=1' \ 90 '-DUSE_PROPRIETARY_CODECS' \ 91 '-DENABLE_BROWSER_CDMS' \ 92 '-DENABLE_CONFIGURATION_POLICY' \ 93 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 94 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 95 '-DENABLE_EGLIMAGE=1' \ 96 '-DCLD_VERSION=1' \ 97 '-DENABLE_PRINTING=1' \ 98 '-DENABLE_MANAGED_USERS=1' \ 99 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 100 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 101 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 102 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 103 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 104 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 105 '-DVIDEO_HOLE=1' \ 106 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 107 '-DMEDIA_IMPLEMENTATION' \ 108 '-DSK_ENABLE_INST_COUNT=0' \ 109 '-DSK_SUPPORT_GPU=1' \ 110 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 111 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 112 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 113 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 114 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 115 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 116 '-DSK_BUILD_FOR_ANDROID' \ 117 '-DSK_USE_POSIX_THREADS' \ 118 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 119 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 120 '-DPOSIX_AVOID_MMAP' \ 121 '-DU_USING_ICU_NAMESPACE=0' \ 122 '-DU_ENABLE_DYLOAD=0' \ 123 '-DCHROME_PNG_WRITE_SUPPORT' \ 124 '-DPNG_USER_CONFIG' \ 125 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 126 '-DMEDIA_DISABLE_LIBVPX' \ 127 '-DUSE_OPENSSL=1' \ 128 '-DUSE_OPENSSL_CERTS=1' \ 129 '-DANDROID' \ 130 '-D__GNU_SOURCE=1' \ 131 '-DUSE_STLPORT=1' \ 132 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 133 '-DCHROME_BUILD_ID=""' \ 134 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 135 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 136 '-D_DEBUG' 137 138 139 # Include paths placed before CFLAGS/CPPFLAGS 140 LOCAL_C_INCLUDES_Debug := \ 141 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 142 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 143 $(gyp_shared_intermediate_dir) \ 144 $(LOCAL_PATH) \ 145 $(LOCAL_PATH)/third_party/khronos \ 146 $(LOCAL_PATH)/gpu \ 147 $(LOCAL_PATH)/skia/config \ 148 $(LOCAL_PATH)/third_party/WebKit/Source \ 149 $(LOCAL_PATH)/third_party/skia/src/core \ 150 $(LOCAL_PATH)/third_party/skia/include/core \ 151 $(LOCAL_PATH)/third_party/skia/include/effects \ 152 $(LOCAL_PATH)/third_party/skia/include/pdf \ 153 $(LOCAL_PATH)/third_party/skia/include/gpu \ 154 $(LOCAL_PATH)/third_party/skia/include/lazy \ 155 $(LOCAL_PATH)/third_party/skia/include/pathops \ 156 $(LOCAL_PATH)/third_party/skia/include/pipe \ 157 $(LOCAL_PATH)/third_party/skia/include/ports \ 158 $(LOCAL_PATH)/third_party/skia/include/utils \ 159 $(LOCAL_PATH)/skia/ext \ 160 $(LOCAL_PATH)/third_party/WebKit \ 161 $(PWD)/external/icu/icu4c/source/common \ 162 $(PWD)/external/icu/icu4c/source/i18n \ 163 $(LOCAL_PATH)/third_party/npapi \ 164 $(LOCAL_PATH)/third_party/npapi/bindings \ 165 $(LOCAL_PATH)/v8/include \ 166 $(LOCAL_PATH)/third_party/libpng \ 167 $(LOCAL_PATH)/third_party/zlib \ 168 $(LOCAL_PATH)/third_party/libwebp \ 169 $(LOCAL_PATH)/third_party/ots/include \ 170 $(LOCAL_PATH)/third_party/qcms/src \ 171 $(LOCAL_PATH)/third_party/iccjpeg \ 172 $(LOCAL_PATH)/third_party/libjpeg_turbo \ 173 $(PWD)/frameworks/wilhelm/include \ 174 $(PWD)/bionic \ 175 $(PWD)/external/stlport/stlport 176 177 178 # Flags passed to only C++ (and not C) files. 179 LOCAL_CPPFLAGS_Debug := \ 180 -fno-exceptions \ 181 -fno-rtti \ 182 -fno-threadsafe-statics \ 183 -fvisibility-inlines-hidden \ 184 -Wno-deprecated \ 185 -Wno-uninitialized \ 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 -fstack-protector \ 197 --param=ssp-buffer-size=4 \ 198 \ 199 -fno-strict-aliasing \ 200 -Wno-unused-parameter \ 201 -Wno-missing-field-initializers \ 202 -fvisibility=hidden \ 203 -pipe \ 204 -fPIC \ 205 -Wno-unused-local-typedefs \ 206 -Wno-format \ 207 -ffunction-sections \ 208 -funwind-tables \ 209 -g \ 210 -fstack-protector \ 211 -fno-short-enums \ 212 -finline-limit=64 \ 213 -Wa,--noexecstack \ 214 -U_FORTIFY_SOURCE \ 215 -Wno-extra \ 216 -Wno-ignored-qualifiers \ 217 -Wno-type-limits \ 218 -Wno-unused-but-set-variable \ 219 -Wno-address \ 220 -Wno-format-security \ 221 -Wno-return-type \ 222 -Wno-sequence-point \ 223 -Os \ 224 -fno-ident \ 225 -fdata-sections \ 226 -ffunction-sections \ 227 -fomit-frame-pointer \ 228 -funwind-tables 229 230 MY_DEFS_Release := \ 231 '-DV8_DEPRECATION_WARNINGS' \ 232 '-D_FILE_OFFSET_BITS=64' \ 233 '-DNO_TCMALLOC' \ 234 '-DDISABLE_NACL' \ 235 '-DCHROMIUM_BUILD' \ 236 '-DUSE_LIBJPEG_TURBO=1' \ 237 '-DENABLE_WEBRTC=1' \ 238 '-DUSE_PROPRIETARY_CODECS' \ 239 '-DENABLE_BROWSER_CDMS' \ 240 '-DENABLE_CONFIGURATION_POLICY' \ 241 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 242 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 243 '-DENABLE_EGLIMAGE=1' \ 244 '-DCLD_VERSION=1' \ 245 '-DENABLE_PRINTING=1' \ 246 '-DENABLE_MANAGED_USERS=1' \ 247 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 248 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 249 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 250 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 251 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 252 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 253 '-DVIDEO_HOLE=1' \ 254 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 255 '-DMEDIA_IMPLEMENTATION' \ 256 '-DSK_ENABLE_INST_COUNT=0' \ 257 '-DSK_SUPPORT_GPU=1' \ 258 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 259 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 260 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 261 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 262 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 263 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 264 '-DSK_BUILD_FOR_ANDROID' \ 265 '-DSK_USE_POSIX_THREADS' \ 266 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 267 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 268 '-DPOSIX_AVOID_MMAP' \ 269 '-DU_USING_ICU_NAMESPACE=0' \ 270 '-DU_ENABLE_DYLOAD=0' \ 271 '-DCHROME_PNG_WRITE_SUPPORT' \ 272 '-DPNG_USER_CONFIG' \ 273 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 274 '-DMEDIA_DISABLE_LIBVPX' \ 275 '-DUSE_OPENSSL=1' \ 276 '-DUSE_OPENSSL_CERTS=1' \ 277 '-DANDROID' \ 278 '-D__GNU_SOURCE=1' \ 279 '-DUSE_STLPORT=1' \ 280 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 281 '-DCHROME_BUILD_ID=""' \ 282 '-DNDEBUG' \ 283 '-DNVALGRIND' \ 284 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' 285 286 287 # Include paths placed before CFLAGS/CPPFLAGS 288 LOCAL_C_INCLUDES_Release := \ 289 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 290 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 291 $(gyp_shared_intermediate_dir) \ 292 $(LOCAL_PATH) \ 293 $(LOCAL_PATH)/third_party/khronos \ 294 $(LOCAL_PATH)/gpu \ 295 $(LOCAL_PATH)/skia/config \ 296 $(LOCAL_PATH)/third_party/WebKit/Source \ 297 $(LOCAL_PATH)/third_party/skia/src/core \ 298 $(LOCAL_PATH)/third_party/skia/include/core \ 299 $(LOCAL_PATH)/third_party/skia/include/effects \ 300 $(LOCAL_PATH)/third_party/skia/include/pdf \ 301 $(LOCAL_PATH)/third_party/skia/include/gpu \ 302 $(LOCAL_PATH)/third_party/skia/include/lazy \ 303 $(LOCAL_PATH)/third_party/skia/include/pathops \ 304 $(LOCAL_PATH)/third_party/skia/include/pipe \ 305 $(LOCAL_PATH)/third_party/skia/include/ports \ 306 $(LOCAL_PATH)/third_party/skia/include/utils \ 307 $(LOCAL_PATH)/skia/ext \ 308 $(LOCAL_PATH)/third_party/WebKit \ 309 $(PWD)/external/icu/icu4c/source/common \ 310 $(PWD)/external/icu/icu4c/source/i18n \ 311 $(LOCAL_PATH)/third_party/npapi \ 312 $(LOCAL_PATH)/third_party/npapi/bindings \ 313 $(LOCAL_PATH)/v8/include \ 314 $(LOCAL_PATH)/third_party/libpng \ 315 $(LOCAL_PATH)/third_party/zlib \ 316 $(LOCAL_PATH)/third_party/libwebp \ 317 $(LOCAL_PATH)/third_party/ots/include \ 318 $(LOCAL_PATH)/third_party/qcms/src \ 319 $(LOCAL_PATH)/third_party/iccjpeg \ 320 $(LOCAL_PATH)/third_party/libjpeg_turbo \ 321 $(PWD)/frameworks/wilhelm/include \ 322 $(PWD)/bionic \ 323 $(PWD)/external/stlport/stlport 324 325 326 # Flags passed to only C++ (and not C) files. 327 LOCAL_CPPFLAGS_Release := \ 328 -fno-exceptions \ 329 -fno-rtti \ 330 -fno-threadsafe-statics \ 331 -fvisibility-inlines-hidden \ 332 -Wno-deprecated \ 333 -Wno-uninitialized \ 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