1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6LOCAL_MODULE := third_party_webrtc_modules_video_coding_codecs_vp8_webrtc_vp8_gyp 7LOCAL_MODULE_SUFFIX := .a 8LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 9gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 10gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 11 12# Make sure our deps are built first. 13GYP_TARGET_DEPENDENCIES := 14 15GYP_GENERATED_OUTPUTS := 16 17# Make sure our deps and generated files are built first. 18LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 19 20LOCAL_CPP_EXTENSION := .cc 21LOCAL_GENERATED_SOURCES := 22 23GYP_COPIED_SOURCE_ORIGIN_DIRS := 24 25LOCAL_SRC_FILES := \ 26 third_party/webrtc/modules/video_coding/codecs/vp8/reference_picture_selection.cc \ 27 third_party/webrtc/modules/video_coding/codecs/vp8/vp8_factory.cc \ 28 third_party/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc \ 29 third_party/webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc \ 30 third_party/webrtc/modules/video_coding/codecs/vp8/realtime_temporal_layers.cc 31 32 33# Flags passed to both C and C++ files. 34MY_CFLAGS_Debug := \ 35 --param=ssp-buffer-size=4 \ 36 -Werror \ 37 -fno-strict-aliasing \ 38 -Wall \ 39 -Wno-unused-parameter \ 40 -Wno-missing-field-initializers \ 41 -fvisibility=hidden \ 42 -pipe \ 43 -fPIC \ 44 -Wno-unused-local-typedefs \ 45 -fno-builtin-cos \ 46 -fno-builtin-sin \ 47 -fno-builtin-cosf \ 48 -fno-builtin-sinf \ 49 -msse2 \ 50 -mfpmath=sse \ 51 -mmmx \ 52 -m32 \ 53 -ffunction-sections \ 54 -funwind-tables \ 55 -g \ 56 -fno-short-enums \ 57 -finline-limit=64 \ 58 -Wa,--noexecstack \ 59 -U_FORTIFY_SOURCE \ 60 -Wno-extra \ 61 -Wno-ignored-qualifiers \ 62 -Wno-type-limits \ 63 -Wno-unused-but-set-variable \ 64 -fno-stack-protector \ 65 -Os \ 66 -g \ 67 -gdwarf-4 \ 68 -fdata-sections \ 69 -ffunction-sections \ 70 -fomit-frame-pointer \ 71 -funwind-tables 72 73MY_DEFS_Debug := \ 74 '-DV8_DEPRECATION_WARNINGS' \ 75 '-D_FILE_OFFSET_BITS=64' \ 76 '-DNO_TCMALLOC' \ 77 '-DDISABLE_NACL' \ 78 '-DCHROMIUM_BUILD' \ 79 '-DUSE_LIBJPEG_TURBO=1' \ 80 '-DENABLE_WEBRTC=1' \ 81 '-DUSE_PROPRIETARY_CODECS' \ 82 '-DENABLE_BROWSER_CDMS' \ 83 '-DENABLE_CONFIGURATION_POLICY' \ 84 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 85 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 86 '-DENABLE_EGLIMAGE=1' \ 87 '-DCLD_VERSION=1' \ 88 '-DENABLE_PRINTING=1' \ 89 '-DENABLE_MANAGED_USERS=1' \ 90 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 91 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 92 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 93 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 94 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 95 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 96 '-DVIDEO_HOLE=1' \ 97 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 98 '-DWEBRTC_RESTRICT_LOGGING' \ 99 '-DEXPAT_RELATIVE_PATH' \ 100 '-DWEBRTC_MODULE_UTILITY_VIDEO' \ 101 '-DWEBRTC_CHROMIUM_BUILD' \ 102 '-DLOGGING_INSIDE_WEBRTC' \ 103 '-DWEBRTC_POSIX' \ 104 '-DWEBRTC_LINUX' \ 105 '-DWEBRTC_ANDROID' \ 106 '-DWEBRTC_ANDROID_OPENSLES' \ 107 '-DUSE_OPENSSL=1' \ 108 '-DUSE_OPENSSL_CERTS=1' \ 109 '-D__STDC_CONSTANT_MACROS' \ 110 '-D__STDC_FORMAT_MACROS' \ 111 '-DANDROID' \ 112 '-D__GNU_SOURCE=1' \ 113 '-DUSE_STLPORT=1' \ 114 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 115 '-DCHROME_BUILD_ID=""' \ 116 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 117 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 118 '-D_DEBUG' 119 120 121# Include paths placed before CFLAGS/CPPFLAGS 122LOCAL_C_INCLUDES_Debug := \ 123 $(gyp_shared_intermediate_dir) \ 124 $(LOCAL_PATH) \ 125 $(LOCAL_PATH)/third_party/webrtc/overrides \ 126 $(LOCAL_PATH)/third_party \ 127 $(LOCAL_PATH)/third_party/webrtc/common_video/interface \ 128 $(LOCAL_PATH)/third_party/webrtc/common_video/libyuv/include \ 129 $(LOCAL_PATH)/third_party/webrtc/system_wrappers/interface \ 130 $(LOCAL_PATH)/third_party/libvpx/source/libvpx \ 131 $(PWD)/frameworks/wilhelm/include \ 132 $(PWD)/bionic \ 133 $(PWD)/external/stlport/stlport 134 135 136# Flags passed to only C++ (and not C) files. 137LOCAL_CPPFLAGS_Debug := \ 138 -fno-exceptions \ 139 -fno-rtti \ 140 -fno-threadsafe-statics \ 141 -fvisibility-inlines-hidden \ 142 -Wsign-compare \ 143 -std=gnu++11 \ 144 -Wno-narrowing \ 145 -Wno-literal-suffix \ 146 -Wno-non-virtual-dtor \ 147 -Wno-sign-promo 148 149 150# Flags passed to both C and C++ files. 151MY_CFLAGS_Release := \ 152 --param=ssp-buffer-size=4 \ 153 -Werror \ 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 -msse2 \ 167 -mfpmath=sse \ 168 -mmmx \ 169 -m32 \ 170 -ffunction-sections \ 171 -funwind-tables \ 172 -g \ 173 -fno-short-enums \ 174 -finline-limit=64 \ 175 -Wa,--noexecstack \ 176 -U_FORTIFY_SOURCE \ 177 -Wno-extra \ 178 -Wno-ignored-qualifiers \ 179 -Wno-type-limits \ 180 -Wno-unused-but-set-variable \ 181 -fno-stack-protector \ 182 -Os \ 183 -fno-ident \ 184 -fdata-sections \ 185 -ffunction-sections \ 186 -fomit-frame-pointer \ 187 -funwind-tables 188 189MY_DEFS_Release := \ 190 '-DV8_DEPRECATION_WARNINGS' \ 191 '-D_FILE_OFFSET_BITS=64' \ 192 '-DNO_TCMALLOC' \ 193 '-DDISABLE_NACL' \ 194 '-DCHROMIUM_BUILD' \ 195 '-DUSE_LIBJPEG_TURBO=1' \ 196 '-DENABLE_WEBRTC=1' \ 197 '-DUSE_PROPRIETARY_CODECS' \ 198 '-DENABLE_BROWSER_CDMS' \ 199 '-DENABLE_CONFIGURATION_POLICY' \ 200 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 201 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 202 '-DENABLE_EGLIMAGE=1' \ 203 '-DCLD_VERSION=1' \ 204 '-DENABLE_PRINTING=1' \ 205 '-DENABLE_MANAGED_USERS=1' \ 206 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 207 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 208 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 209 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 210 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 211 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 212 '-DVIDEO_HOLE=1' \ 213 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 214 '-DWEBRTC_RESTRICT_LOGGING' \ 215 '-DEXPAT_RELATIVE_PATH' \ 216 '-DWEBRTC_MODULE_UTILITY_VIDEO' \ 217 '-DWEBRTC_CHROMIUM_BUILD' \ 218 '-DLOGGING_INSIDE_WEBRTC' \ 219 '-DWEBRTC_POSIX' \ 220 '-DWEBRTC_LINUX' \ 221 '-DWEBRTC_ANDROID' \ 222 '-DWEBRTC_ANDROID_OPENSLES' \ 223 '-DUSE_OPENSSL=1' \ 224 '-DUSE_OPENSSL_CERTS=1' \ 225 '-D__STDC_CONSTANT_MACROS' \ 226 '-D__STDC_FORMAT_MACROS' \ 227 '-DANDROID' \ 228 '-D__GNU_SOURCE=1' \ 229 '-DUSE_STLPORT=1' \ 230 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 231 '-DCHROME_BUILD_ID=""' \ 232 '-DNDEBUG' \ 233 '-DNVALGRIND' \ 234 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 235 '-D_FORTIFY_SOURCE=2' 236 237 238# Include paths placed before CFLAGS/CPPFLAGS 239LOCAL_C_INCLUDES_Release := \ 240 $(gyp_shared_intermediate_dir) \ 241 $(LOCAL_PATH) \ 242 $(LOCAL_PATH)/third_party/webrtc/overrides \ 243 $(LOCAL_PATH)/third_party \ 244 $(LOCAL_PATH)/third_party/webrtc/common_video/interface \ 245 $(LOCAL_PATH)/third_party/webrtc/common_video/libyuv/include \ 246 $(LOCAL_PATH)/third_party/webrtc/system_wrappers/interface \ 247 $(LOCAL_PATH)/third_party/libvpx/source/libvpx \ 248 $(PWD)/frameworks/wilhelm/include \ 249 $(PWD)/bionic \ 250 $(PWD)/external/stlport/stlport 251 252 253# Flags passed to only C++ (and not C) files. 254LOCAL_CPPFLAGS_Release := \ 255 -fno-exceptions \ 256 -fno-rtti \ 257 -fno-threadsafe-statics \ 258 -fvisibility-inlines-hidden \ 259 -Wsign-compare \ 260 -std=gnu++11 \ 261 -Wno-narrowing \ 262 -Wno-literal-suffix \ 263 -Wno-non-virtual-dtor \ 264 -Wno-sign-promo 265 266 267LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 268LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 269LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 270LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 271### Rules for final target. 272 273LOCAL_SHARED_LIBRARIES := \ 274 libstlport \ 275 libdl 276 277# Add target alias to "gyp_all_modules" target. 278.PHONY: gyp_all_modules 279gyp_all_modules: third_party_webrtc_modules_video_coding_codecs_vp8_webrtc_vp8_gyp 280 281# Alias gyp target name. 282.PHONY: webrtc_vp8 283webrtc_vp8: third_party_webrtc_modules_video_coding_codecs_vp8_webrtc_vp8_gyp 284 285include $(BUILD_STATIC_LIBRARY) 286