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_rtp_rtcp_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/rtp_rtcp/source/bitrate.cc \
     28 	third_party/webrtc/modules/rtp_rtcp/source/fec_receiver_impl.cc \
     29 	third_party/webrtc/modules/rtp_rtcp/source/receive_statistics_impl.cc \
     30 	third_party/webrtc/modules/rtp_rtcp/source/remote_ntp_time_estimator.cc \
     31 	third_party/webrtc/modules/rtp_rtcp/source/rtp_header_parser.cc \
     32 	third_party/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc \
     33 	third_party/webrtc/modules/rtp_rtcp/source/rtcp_packet.cc \
     34 	third_party/webrtc/modules/rtp_rtcp/source/rtcp_receiver.cc \
     35 	third_party/webrtc/modules/rtp_rtcp/source/rtcp_receiver_help.cc \
     36 	third_party/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc \
     37 	third_party/webrtc/modules/rtp_rtcp/source/rtcp_utility.cc \
     38 	third_party/webrtc/modules/rtp_rtcp/source/rtp_header_extension.cc \
     39 	third_party/webrtc/modules/rtp_rtcp/source/rtp_receiver_impl.cc \
     40 	third_party/webrtc/modules/rtp_rtcp/source/rtp_sender.cc \
     41 	third_party/webrtc/modules/rtp_rtcp/source/rtp_utility.cc \
     42 	third_party/webrtc/modules/rtp_rtcp/source/ssrc_database.cc \
     43 	third_party/webrtc/modules/rtp_rtcp/source/tmmbr_help.cc \
     44 	third_party/webrtc/modules/rtp_rtcp/source/dtmf_queue.cc \
     45 	third_party/webrtc/modules/rtp_rtcp/source/rtp_receiver_audio.cc \
     46 	third_party/webrtc/modules/rtp_rtcp/source/rtp_sender_audio.cc \
     47 	third_party/webrtc/modules/rtp_rtcp/source/forward_error_correction.cc \
     48 	third_party/webrtc/modules/rtp_rtcp/source/forward_error_correction_internal.cc \
     49 	third_party/webrtc/modules/rtp_rtcp/source/producer_fec.cc \
     50 	third_party/webrtc/modules/rtp_rtcp/source/rtp_packet_history.cc \
     51 	third_party/webrtc/modules/rtp_rtcp/source/rtp_payload_registry.cc \
     52 	third_party/webrtc/modules/rtp_rtcp/source/rtp_receiver_strategy.cc \
     53 	third_party/webrtc/modules/rtp_rtcp/source/rtp_receiver_video.cc \
     54 	third_party/webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc \
     55 	third_party/webrtc/modules/rtp_rtcp/source/rtp_format_vp8.cc \
     56 	third_party/webrtc/modules/rtp_rtcp/source/vp8_partition_aggregator.cc
     57 
     58 
     59 # Flags passed to both C and C++ files.
     60 MY_CFLAGS_Debug := \
     61 	-fstack-protector \
     62 	--param=ssp-buffer-size=4 \
     63 	 \
     64 	-fno-exceptions \
     65 	-fno-strict-aliasing \
     66 	-Wall \
     67 	-Wno-unused-parameter \
     68 	-Wno-missing-field-initializers \
     69 	-fvisibility=hidden \
     70 	-pipe \
     71 	-fPIC \
     72 	-Wno-unused-local-typedefs \
     73 	-mhard-float \
     74 	-fno-builtin-cos \
     75 	-fno-builtin-sin \
     76 	-fno-builtin-cosf \
     77 	-fno-builtin-sinf \
     78 	-mhard-float \
     79 	-fno-builtin-cos \
     80 	-fno-builtin-sin \
     81 	-fno-builtin-cosf \
     82 	-fno-builtin-sinf \
     83 	-EL \
     84 	-mhard-float \
     85 	-ffunction-sections \
     86 	-funwind-tables \
     87 	-g \
     88 	-fstack-protector \
     89 	-fno-short-enums \
     90 	-finline-limit=64 \
     91 	-Wa,--noexecstack \
     92 	-U_FORTIFY_SOURCE \
     93 	-Wno-extra \
     94 	-Wno-ignored-qualifiers \
     95 	-Wno-type-limits \
     96 	-Wno-unused-but-set-variable \
     97 	-Os \
     98 	-g \
     99 	-fdata-sections \
    100 	-ffunction-sections \
    101 	-fomit-frame-pointer \
    102 	-funwind-tables
    103 
    104 MY_DEFS_Debug := \
    105 	'-DV8_DEPRECATION_WARNINGS' \
    106 	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
    107 	'-D_FILE_OFFSET_BITS=64' \
    108 	'-DNO_TCMALLOC' \
    109 	'-DDISABLE_NACL' \
    110 	'-DCHROMIUM_BUILD' \
    111 	'-DUSE_LIBJPEG_TURBO=1' \
    112 	'-DENABLE_WEBRTC=1' \
    113 	'-DUSE_PROPRIETARY_CODECS' \
    114 	'-DENABLE_BROWSER_CDMS' \
    115 	'-DENABLE_CONFIGURATION_POLICY' \
    116 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    117 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    118 	'-DENABLE_EGLIMAGE=1' \
    119 	'-DCLD_VERSION=1' \
    120 	'-DENABLE_PRINTING=1' \
    121 	'-DENABLE_MANAGED_USERS=1' \
    122 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    123 	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
    124 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    125 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    126 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    127 	'-DVIDEO_HOLE=1' \
    128 	'-DWEBRTC_RESTRICT_LOGGING' \
    129 	'-DWEBRTC_MODULE_UTILITY_VIDEO' \
    130 	'-DWEBRTC_CHROMIUM_BUILD' \
    131 	'-DLOGGING_INSIDE_WEBRTC' \
    132 	'-DMIPS32_LE' \
    133 	'-DMIPS_FPU_LE' \
    134 	'-DWEBRTC_POSIX' \
    135 	'-DWEBRTC_LINUX' \
    136 	'-DWEBRTC_ANDROID' \
    137 	'-DWEBRTC_ANDROID_OPENSLES' \
    138 	'-DUSE_OPENSSL=1' \
    139 	'-DUSE_OPENSSL_CERTS=1' \
    140 	'-D__STDC_CONSTANT_MACROS' \
    141 	'-D__STDC_FORMAT_MACROS' \
    142 	'-DANDROID' \
    143 	'-D__GNU_SOURCE=1' \
    144 	'-DUSE_STLPORT=1' \
    145 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    146 	'-DCHROME_BUILD_ID=""' \
    147 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    148 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    149 	'-D_DEBUG'
    150 
    151 
    152 # Include paths placed before CFLAGS/CPPFLAGS
    153 LOCAL_C_INCLUDES_Debug := \
    154 	$(gyp_shared_intermediate_dir) \
    155 	$(LOCAL_PATH) \
    156 	$(LOCAL_PATH)/third_party/webrtc/overrides \
    157 	$(LOCAL_PATH)/third_party \
    158 	$(LOCAL_PATH)/third_party/webrtc/system_wrappers/interface \
    159 	$(PWD)/frameworks/wilhelm/include \
    160 	$(PWD)/bionic \
    161 	$(PWD)/external/stlport/stlport
    162 
    163 
    164 # Flags passed to only C++ (and not C) files.
    165 LOCAL_CPPFLAGS_Debug := \
    166 	-fno-rtti \
    167 	-fno-threadsafe-statics \
    168 	-fvisibility-inlines-hidden \
    169 	-Wsign-compare \
    170 	-Wno-uninitialized \
    171 	-Wno-non-virtual-dtor \
    172 	-Wno-sign-promo
    173 
    174 
    175 LOCAL_FDO_SUPPORT_Debug := false
    176 
    177 # Flags passed to both C and C++ files.
    178 MY_CFLAGS_Release := \
    179 	-fstack-protector \
    180 	--param=ssp-buffer-size=4 \
    181 	 \
    182 	-fno-exceptions \
    183 	-fno-strict-aliasing \
    184 	-Wall \
    185 	-Wno-unused-parameter \
    186 	-Wno-missing-field-initializers \
    187 	-fvisibility=hidden \
    188 	-pipe \
    189 	-fPIC \
    190 	-Wno-unused-local-typedefs \
    191 	-mhard-float \
    192 	-fno-builtin-cos \
    193 	-fno-builtin-sin \
    194 	-fno-builtin-cosf \
    195 	-fno-builtin-sinf \
    196 	-mhard-float \
    197 	-fno-builtin-cos \
    198 	-fno-builtin-sin \
    199 	-fno-builtin-cosf \
    200 	-fno-builtin-sinf \
    201 	-EL \
    202 	-mhard-float \
    203 	-ffunction-sections \
    204 	-funwind-tables \
    205 	-g \
    206 	-fstack-protector \
    207 	-fno-short-enums \
    208 	-finline-limit=64 \
    209 	-Wa,--noexecstack \
    210 	-U_FORTIFY_SOURCE \
    211 	-Wno-extra \
    212 	-Wno-ignored-qualifiers \
    213 	-Wno-type-limits \
    214 	-Wno-unused-but-set-variable \
    215 	-Os \
    216 	-fno-ident \
    217 	-fdata-sections \
    218 	-ffunction-sections \
    219 	-fomit-frame-pointer \
    220 	-funwind-tables
    221 
    222 MY_DEFS_Release := \
    223 	'-DV8_DEPRECATION_WARNINGS' \
    224 	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
    225 	'-D_FILE_OFFSET_BITS=64' \
    226 	'-DNO_TCMALLOC' \
    227 	'-DDISABLE_NACL' \
    228 	'-DCHROMIUM_BUILD' \
    229 	'-DUSE_LIBJPEG_TURBO=1' \
    230 	'-DENABLE_WEBRTC=1' \
    231 	'-DUSE_PROPRIETARY_CODECS' \
    232 	'-DENABLE_BROWSER_CDMS' \
    233 	'-DENABLE_CONFIGURATION_POLICY' \
    234 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    235 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    236 	'-DENABLE_EGLIMAGE=1' \
    237 	'-DCLD_VERSION=1' \
    238 	'-DENABLE_PRINTING=1' \
    239 	'-DENABLE_MANAGED_USERS=1' \
    240 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    241 	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
    242 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    243 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    244 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    245 	'-DVIDEO_HOLE=1' \
    246 	'-DWEBRTC_RESTRICT_LOGGING' \
    247 	'-DWEBRTC_MODULE_UTILITY_VIDEO' \
    248 	'-DWEBRTC_CHROMIUM_BUILD' \
    249 	'-DLOGGING_INSIDE_WEBRTC' \
    250 	'-DMIPS32_LE' \
    251 	'-DMIPS_FPU_LE' \
    252 	'-DWEBRTC_POSIX' \
    253 	'-DWEBRTC_LINUX' \
    254 	'-DWEBRTC_ANDROID' \
    255 	'-DWEBRTC_ANDROID_OPENSLES' \
    256 	'-DUSE_OPENSSL=1' \
    257 	'-DUSE_OPENSSL_CERTS=1' \
    258 	'-D__STDC_CONSTANT_MACROS' \
    259 	'-D__STDC_FORMAT_MACROS' \
    260 	'-DANDROID' \
    261 	'-D__GNU_SOURCE=1' \
    262 	'-DUSE_STLPORT=1' \
    263 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    264 	'-DCHROME_BUILD_ID=""' \
    265 	'-DNDEBUG' \
    266 	'-DNVALGRIND' \
    267 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    268 	'-D_FORTIFY_SOURCE=2'
    269 
    270 
    271 # Include paths placed before CFLAGS/CPPFLAGS
    272 LOCAL_C_INCLUDES_Release := \
    273 	$(gyp_shared_intermediate_dir) \
    274 	$(LOCAL_PATH) \
    275 	$(LOCAL_PATH)/third_party/webrtc/overrides \
    276 	$(LOCAL_PATH)/third_party \
    277 	$(LOCAL_PATH)/third_party/webrtc/system_wrappers/interface \
    278 	$(PWD)/frameworks/wilhelm/include \
    279 	$(PWD)/bionic \
    280 	$(PWD)/external/stlport/stlport
    281 
    282 
    283 # Flags passed to only C++ (and not C) files.
    284 LOCAL_CPPFLAGS_Release := \
    285 	-fno-rtti \
    286 	-fno-threadsafe-statics \
    287 	-fvisibility-inlines-hidden \
    288 	-Wsign-compare \
    289 	-Wno-uninitialized \
    290 	-Wno-non-virtual-dtor \
    291 	-Wno-sign-promo
    292 
    293 
    294 LOCAL_FDO_SUPPORT_Release := false
    295 
    296 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    297 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION))
    298 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    299 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    300 LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
    301 ### Rules for final target.
    302 
    303 LOCAL_LDFLAGS_Debug := \
    304 	-Wl,-z,now \
    305 	-Wl,-z,relro \
    306 	-Wl,--fatal-warnings \
    307 	-Wl,-z,noexecstack \
    308 	-fPIC \
    309 	-EL \
    310 	-Wl,--no-keep-memory \
    311 	-nostdlib \
    312 	-Wl,--no-undefined \
    313 	-Wl,--exclude-libs=ALL \
    314 	-Wl,--warn-shared-textrel \
    315 	-Wl,-O1 \
    316 	-Wl,--as-needed
    317 
    318 
    319 LOCAL_LDFLAGS_Release := \
    320 	-Wl,-z,now \
    321 	-Wl,-z,relro \
    322 	-Wl,--fatal-warnings \
    323 	-Wl,-z,noexecstack \
    324 	-fPIC \
    325 	-EL \
    326 	-Wl,--no-keep-memory \
    327 	-nostdlib \
    328 	-Wl,--no-undefined \
    329 	-Wl,--exclude-libs=ALL \
    330 	-Wl,-O1 \
    331 	-Wl,--as-needed \
    332 	-Wl,--gc-sections \
    333 	-Wl,--warn-shared-textrel
    334 
    335 
    336 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
    337 
    338 LOCAL_STATIC_LIBRARIES :=
    339 
    340 # Enable grouping to fix circular references
    341 LOCAL_GROUP_STATIC_LIBRARIES := true
    342 
    343 LOCAL_SHARED_LIBRARIES := \
    344 	libstlport \
    345 	libdl
    346 
    347 # Add target alias to "gyp_all_modules" target.
    348 .PHONY: gyp_all_modules
    349 gyp_all_modules: third_party_webrtc_modules_rtp_rtcp_gyp
    350 
    351 # Alias gyp target name.
    352 .PHONY: rtp_rtcp
    353 rtp_rtcp: third_party_webrtc_modules_rtp_rtcp_gyp
    354 
    355 include $(BUILD_STATIC_LIBRARY)
    356