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