Home | History | Annotate | Download | only in modules
      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_webrtc_modules_video_render_module_gyp
      7 LOCAL_MODULE_SUFFIX := .a
      8 LOCAL_MODULE_TAGS := optional
      9 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH)
     10 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX))
     11 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX))
     12 
     13 # Make sure our deps are built first.
     14 GYP_TARGET_DEPENDENCIES :=
     15 
     16 GYP_GENERATED_OUTPUTS :=
     17 
     18 # Make sure our deps and generated files are built first.
     19 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     20 
     21 LOCAL_CPP_EXTENSION := .cc
     22 LOCAL_GENERATED_SOURCES :=
     23 
     24 GYP_COPIED_SOURCE_ORIGIN_DIRS :=
     25 
     26 LOCAL_SRC_FILES := \
     27 	third_party/webrtc/modules/video_render/external/video_render_external_impl.cc \
     28 	third_party/webrtc/modules/video_render/incoming_video_stream.cc \
     29 	third_party/webrtc/modules/video_render/video_render_frames.cc \
     30 	third_party/webrtc/modules/video_render/video_render_impl.cc
     31 
     32 
     33 # Flags passed to both C and C++ files.
     34 MY_CFLAGS_Debug := \
     35 	--param=ssp-buffer-size=4 \
     36 	-Werror \
     37 	-fno-exceptions \
     38 	-fno-strict-aliasing \
     39 	-Wall \
     40 	-Wno-unused-parameter \
     41 	-Wno-missing-field-initializers \
     42 	-fvisibility=hidden \
     43 	-pipe \
     44 	-fPIC \
     45 	-Wno-unused-local-typedefs \
     46 	-fno-builtin-cos \
     47 	-fno-builtin-sin \
     48 	-fno-builtin-cosf \
     49 	-fno-builtin-sinf \
     50 	-fno-builtin-cos \
     51 	-fno-builtin-sin \
     52 	-fno-builtin-cosf \
     53 	-fno-builtin-sinf \
     54 	-msse2 \
     55 	-mfpmath=sse \
     56 	-mmmx \
     57 	-m32 \
     58 	-ffunction-sections \
     59 	-funwind-tables \
     60 	-g \
     61 	-fno-short-enums \
     62 	-finline-limit=64 \
     63 	-Wa,--noexecstack \
     64 	-U_FORTIFY_SOURCE \
     65 	-Wno-extra \
     66 	-Wno-ignored-qualifiers \
     67 	-Wno-type-limits \
     68 	-Wno-unused-but-set-variable \
     69 	-fno-stack-protector \
     70 	-Os \
     71 	-g \
     72 	-fdata-sections \
     73 	-ffunction-sections \
     74 	-fomit-frame-pointer \
     75 	-funwind-tables
     76 
     77 MY_DEFS_Debug := \
     78 	'-DV8_DEPRECATION_WARNINGS' \
     79 	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
     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="http://proxy-dev.googlezip.net:80/"' \
     97 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
     98 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
     99 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    100 	'-DVIDEO_HOLE=1' \
    101 	'-DWEBRTC_RESTRICT_LOGGING' \
    102 	'-DWEBRTC_MODULE_UTILITY_VIDEO' \
    103 	'-DWEBRTC_CHROMIUM_BUILD' \
    104 	'-DLOGGING_INSIDE_WEBRTC' \
    105 	'-DWEBRTC_POSIX' \
    106 	'-DWEBRTC_LINUX' \
    107 	'-DWEBRTC_ANDROID' \
    108 	'-DWEBRTC_ANDROID_OPENSLES' \
    109 	'-DUSE_OPENSSL=1' \
    110 	'-DUSE_OPENSSL_CERTS=1' \
    111 	'-D__STDC_CONSTANT_MACROS' \
    112 	'-D__STDC_FORMAT_MACROS' \
    113 	'-DANDROID' \
    114 	'-D__GNU_SOURCE=1' \
    115 	'-DUSE_STLPORT=1' \
    116 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    117 	'-DCHROME_BUILD_ID=""' \
    118 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    119 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    120 	'-D_DEBUG'
    121 
    122 
    123 # Include paths placed before CFLAGS/CPPFLAGS
    124 LOCAL_C_INCLUDES_Debug := \
    125 	$(gyp_shared_intermediate_dir) \
    126 	$(LOCAL_PATH) \
    127 	$(LOCAL_PATH)/third_party/webrtc/overrides \
    128 	$(LOCAL_PATH)/third_party \
    129 	$(LOCAL_PATH)/third_party/webrtc/common_video/interface \
    130 	$(LOCAL_PATH)/third_party/webrtc/common_video/libyuv/include \
    131 	$(LOCAL_PATH)/third_party/webrtc/system_wrappers/interface \
    132 	$(PWD)/frameworks/wilhelm/include \
    133 	$(PWD)/bionic \
    134 	$(PWD)/external/stlport/stlport
    135 
    136 
    137 # Flags passed to only C++ (and not C) files.
    138 LOCAL_CPPFLAGS_Debug := \
    139 	-fno-rtti \
    140 	-fno-threadsafe-statics \
    141 	-fvisibility-inlines-hidden \
    142 	-Wsign-compare \
    143 	-Wno-non-virtual-dtor \
    144 	-Wno-sign-promo
    145 
    146 
    147 LOCAL_FDO_SUPPORT_Debug := false
    148 
    149 # Flags passed to both C and C++ files.
    150 MY_CFLAGS_Release := \
    151 	--param=ssp-buffer-size=4 \
    152 	-Werror \
    153 	-fno-exceptions \
    154 	-fno-strict-aliasing \
    155 	-Wall \
    156 	-Wno-unused-parameter \
    157 	-Wno-missing-field-initializers \
    158 	-fvisibility=hidden \
    159 	-pipe \
    160 	-fPIC \
    161 	-Wno-unused-local-typedefs \
    162 	-fno-builtin-cos \
    163 	-fno-builtin-sin \
    164 	-fno-builtin-cosf \
    165 	-fno-builtin-sinf \
    166 	-fno-builtin-cos \
    167 	-fno-builtin-sin \
    168 	-fno-builtin-cosf \
    169 	-fno-builtin-sinf \
    170 	-msse2 \
    171 	-mfpmath=sse \
    172 	-mmmx \
    173 	-m32 \
    174 	-ffunction-sections \
    175 	-funwind-tables \
    176 	-g \
    177 	-fno-short-enums \
    178 	-finline-limit=64 \
    179 	-Wa,--noexecstack \
    180 	-U_FORTIFY_SOURCE \
    181 	-Wno-extra \
    182 	-Wno-ignored-qualifiers \
    183 	-Wno-type-limits \
    184 	-Wno-unused-but-set-variable \
    185 	-fno-stack-protector \
    186 	-Os \
    187 	-fno-ident \
    188 	-fdata-sections \
    189 	-ffunction-sections \
    190 	-fomit-frame-pointer \
    191 	-funwind-tables
    192 
    193 MY_DEFS_Release := \
    194 	'-DV8_DEPRECATION_WARNINGS' \
    195 	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
    196 	'-D_FILE_OFFSET_BITS=64' \
    197 	'-DNO_TCMALLOC' \
    198 	'-DDISABLE_NACL' \
    199 	'-DCHROMIUM_BUILD' \
    200 	'-DUSE_LIBJPEG_TURBO=1' \
    201 	'-DENABLE_WEBRTC=1' \
    202 	'-DUSE_PROPRIETARY_CODECS' \
    203 	'-DENABLE_BROWSER_CDMS' \
    204 	'-DENABLE_CONFIGURATION_POLICY' \
    205 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    206 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    207 	'-DENABLE_EGLIMAGE=1' \
    208 	'-DCLD_VERSION=1' \
    209 	'-DENABLE_PRINTING=1' \
    210 	'-DENABLE_MANAGED_USERS=1' \
    211 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    212 	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
    213 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    214 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    215 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    216 	'-DVIDEO_HOLE=1' \
    217 	'-DWEBRTC_RESTRICT_LOGGING' \
    218 	'-DWEBRTC_MODULE_UTILITY_VIDEO' \
    219 	'-DWEBRTC_CHROMIUM_BUILD' \
    220 	'-DLOGGING_INSIDE_WEBRTC' \
    221 	'-DWEBRTC_POSIX' \
    222 	'-DWEBRTC_LINUX' \
    223 	'-DWEBRTC_ANDROID' \
    224 	'-DWEBRTC_ANDROID_OPENSLES' \
    225 	'-DUSE_OPENSSL=1' \
    226 	'-DUSE_OPENSSL_CERTS=1' \
    227 	'-D__STDC_CONSTANT_MACROS' \
    228 	'-D__STDC_FORMAT_MACROS' \
    229 	'-DANDROID' \
    230 	'-D__GNU_SOURCE=1' \
    231 	'-DUSE_STLPORT=1' \
    232 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    233 	'-DCHROME_BUILD_ID=""' \
    234 	'-DNDEBUG' \
    235 	'-DNVALGRIND' \
    236 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    237 	'-D_FORTIFY_SOURCE=2'
    238 
    239 
    240 # Include paths placed before CFLAGS/CPPFLAGS
    241 LOCAL_C_INCLUDES_Release := \
    242 	$(gyp_shared_intermediate_dir) \
    243 	$(LOCAL_PATH) \
    244 	$(LOCAL_PATH)/third_party/webrtc/overrides \
    245 	$(LOCAL_PATH)/third_party \
    246 	$(LOCAL_PATH)/third_party/webrtc/common_video/interface \
    247 	$(LOCAL_PATH)/third_party/webrtc/common_video/libyuv/include \
    248 	$(LOCAL_PATH)/third_party/webrtc/system_wrappers/interface \
    249 	$(PWD)/frameworks/wilhelm/include \
    250 	$(PWD)/bionic \
    251 	$(PWD)/external/stlport/stlport
    252 
    253 
    254 # Flags passed to only C++ (and not C) files.
    255 LOCAL_CPPFLAGS_Release := \
    256 	-fno-rtti \
    257 	-fno-threadsafe-statics \
    258 	-fvisibility-inlines-hidden \
    259 	-Wsign-compare \
    260 	-Wno-non-virtual-dtor \
    261 	-Wno-sign-promo
    262 
    263 
    264 LOCAL_FDO_SUPPORT_Release := false
    265 
    266 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    267 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION))
    268 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    269 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    270 LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
    271 ### Rules for final target.
    272 
    273 LOCAL_LDFLAGS_Debug := \
    274 	-Wl,-z,now \
    275 	-Wl,-z,relro \
    276 	-Wl,--fatal-warnings \
    277 	-Wl,-z,noexecstack \
    278 	-fPIC \
    279 	-m32 \
    280 	-fuse-ld=gold \
    281 	-nostdlib \
    282 	-Wl,--no-undefined \
    283 	-Wl,--exclude-libs=ALL \
    284 	-Wl,--warn-shared-textrel \
    285 	-Wl,-O1 \
    286 	-Wl,--as-needed
    287 
    288 
    289 LOCAL_LDFLAGS_Release := \
    290 	-Wl,-z,now \
    291 	-Wl,-z,relro \
    292 	-Wl,--fatal-warnings \
    293 	-Wl,-z,noexecstack \
    294 	-fPIC \
    295 	-m32 \
    296 	-fuse-ld=gold \
    297 	-nostdlib \
    298 	-Wl,--no-undefined \
    299 	-Wl,--exclude-libs=ALL \
    300 	-Wl,-O1 \
    301 	-Wl,--as-needed \
    302 	-Wl,--gc-sections \
    303 	-Wl,--warn-shared-textrel
    304 
    305 
    306 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
    307 
    308 LOCAL_STATIC_LIBRARIES :=
    309 
    310 # Enable grouping to fix circular references
    311 LOCAL_GROUP_STATIC_LIBRARIES := true
    312 
    313 LOCAL_SHARED_LIBRARIES := \
    314 	libstlport \
    315 	libdl
    316 
    317 # Add target alias to "gyp_all_modules" target.
    318 .PHONY: gyp_all_modules
    319 gyp_all_modules: third_party_webrtc_modules_video_render_module_gyp
    320 
    321 # Alias gyp target name.
    322 .PHONY: video_render_module
    323 video_render_module: third_party_webrtc_modules_video_render_module_gyp
    324 
    325 include $(BUILD_STATIC_LIBRARY)
    326