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