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_audioproc_debug_proto_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 $(gyp_shared_intermediate_dir)/protoc 16 17 18 ### Generated for rule "third_party_webrtc_modules_modules_gyp_audioproc_debug_proto_target_genproto": 19 # "{'inputs': ['../../../tools/protoc_wrapper/protoc_wrapper.py', '$(gyp_shared_intermediate_dir)/protoc'], 'process_outputs_as_sources': '1', 'extension': 'proto', 'outputs': ['$(gyp_shared_intermediate_dir)/pyproto/webrtc/audio_processing/%(INPUT_ROOT)s_pb2.py', '$(gyp_shared_intermediate_dir)/protoc_out/webrtc/audio_processing/%(INPUT_ROOT)s.pb.cc', '$(gyp_shared_intermediate_dir)/protoc_out/webrtc/audio_processing/%(INPUT_ROOT)s.pb.h'], 'rule_name': 'genproto', 'rule_sources': ['audio_processing/debug.proto'], 'action': ['python', '../../../tools/protoc_wrapper/protoc_wrapper.py', '--include', '', '--protobuf', '$(gyp_shared_intermediate_dir)/protoc_out/webrtc/audio_processing/%(INPUT_ROOT)s.pb.h', '--proto-in-dir', 'audio_processing', '--proto-in-file', '%(INPUT_ROOT)s$(suffix $<)', '--use-system-protobuf=0', '--', '$(gyp_shared_intermediate_dir)/protoc', '--cpp_out', '$(gyp_shared_intermediate_dir)/protoc_out/webrtc/audio_processing', '--python_out', '$(gyp_shared_intermediate_dir)/pyproto/webrtc/audio_processing'], 'message': 'Generating C++ and Python code from $(RULE_SOURCES)'}": 20 $(gyp_shared_intermediate_dir)/pyproto/webrtc/audio_processing/debug_pb2.py: gyp_local_path := $(LOCAL_PATH) 21 $(gyp_shared_intermediate_dir)/pyproto/webrtc/audio_processing/debug_pb2.py: gyp_var_prefix := $(GYP_VAR_PREFIX) 22 $(gyp_shared_intermediate_dir)/pyproto/webrtc/audio_processing/debug_pb2.py: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 23 $(gyp_shared_intermediate_dir)/pyproto/webrtc/audio_processing/debug_pb2.py: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 24 $(gyp_shared_intermediate_dir)/pyproto/webrtc/audio_processing/debug_pb2.py: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 25 $(gyp_shared_intermediate_dir)/pyproto/webrtc/audio_processing/debug_pb2.py: $(LOCAL_PATH)/third_party/webrtc/modules/audio_processing/debug.proto $(LOCAL_PATH)/tools/protoc_wrapper/protoc_wrapper.py $(gyp_shared_intermediate_dir)/protoc $(GYP_TARGET_DEPENDENCIES) 26 mkdir -p $(gyp_shared_intermediate_dir)/pyproto/webrtc/audio_processing $(gyp_shared_intermediate_dir)/protoc_out/webrtc/audio_processing; cd $(gyp_local_path)/third_party/webrtc/modules; python ../../../tools/protoc_wrapper/protoc_wrapper.py --include "" --protobuf "$(gyp_shared_intermediate_dir)/protoc_out/webrtc/audio_processing/debug.pb.h" --proto-in-dir audio_processing --proto-in-file "debug$(suffix $<)" "--use-system-protobuf=0" -- "$(gyp_shared_intermediate_dir)/protoc" --cpp_out "$(gyp_shared_intermediate_dir)/protoc_out/webrtc/audio_processing" --python_out "$(gyp_shared_intermediate_dir)/pyproto/webrtc/audio_processing" 27 28 $(gyp_shared_intermediate_dir)/protoc_out/webrtc/audio_processing/debug.pb.cc: $(gyp_shared_intermediate_dir)/pyproto/webrtc/audio_processing/debug_pb2.py ; 29 $(gyp_shared_intermediate_dir)/protoc_out/webrtc/audio_processing/debug.pb.h: $(gyp_shared_intermediate_dir)/pyproto/webrtc/audio_processing/debug_pb2.py ; 30 31 32 GYP_GENERATED_OUTPUTS := \ 33 $(gyp_shared_intermediate_dir)/pyproto/webrtc/audio_processing/debug_pb2.py \ 34 $(gyp_shared_intermediate_dir)/protoc_out/webrtc/audio_processing/debug.pb.cc \ 35 $(gyp_shared_intermediate_dir)/protoc_out/webrtc/audio_processing/debug.pb.h 36 37 # Make sure our deps and generated files are built first. 38 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 39 40 LOCAL_CPP_EXTENSION := .cc 41 $(gyp_intermediate_dir)/debug.pb.cc: $(gyp_shared_intermediate_dir)/protoc_out/webrtc/audio_processing/debug.pb.cc 42 mkdir -p $(@D); cp $< $@ 43 LOCAL_GENERATED_SOURCES := \ 44 $(gyp_intermediate_dir)/debug.pb.cc \ 45 $(gyp_shared_intermediate_dir)/pyproto/webrtc/audio_processing/debug_pb2.py \ 46 $(gyp_shared_intermediate_dir)/protoc_out/webrtc/audio_processing/debug.pb.h 47 48 GYP_COPIED_SOURCE_ORIGIN_DIRS := \ 49 $(gyp_shared_intermediate_dir)/protoc_out/webrtc/audio_processing 50 51 LOCAL_SRC_FILES := 52 53 54 # Flags passed to both C and C++ files. 55 MY_CFLAGS_Debug := \ 56 -fstack-protector \ 57 --param=ssp-buffer-size=4 \ 58 \ 59 -fno-exceptions \ 60 -fno-strict-aliasing \ 61 -Wall \ 62 -Wno-unused-parameter \ 63 -Wno-missing-field-initializers \ 64 -fvisibility=hidden \ 65 -pipe \ 66 -fPIC \ 67 -Wno-unused-local-typedefs \ 68 -mhard-float \ 69 -fno-builtin-cos \ 70 -fno-builtin-sin \ 71 -fno-builtin-cosf \ 72 -fno-builtin-sinf \ 73 -mhard-float \ 74 -fno-builtin-cos \ 75 -fno-builtin-sin \ 76 -fno-builtin-cosf \ 77 -fno-builtin-sinf \ 78 -EL \ 79 -mhard-float \ 80 -ffunction-sections \ 81 -funwind-tables \ 82 -g \ 83 -fstack-protector \ 84 -fno-short-enums \ 85 -finline-limit=64 \ 86 -Wa,--noexecstack \ 87 -U_FORTIFY_SOURCE \ 88 -Wno-extra \ 89 -Wno-ignored-qualifiers \ 90 -Wno-type-limits \ 91 -Wno-unused-but-set-variable \ 92 -Os \ 93 -g \ 94 -fdata-sections \ 95 -ffunction-sections \ 96 -fomit-frame-pointer \ 97 -funwind-tables 98 99 MY_DEFS_Debug := \ 100 '-DV8_DEPRECATION_WARNINGS' \ 101 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 102 '-D_FILE_OFFSET_BITS=64' \ 103 '-DNO_TCMALLOC' \ 104 '-DDISABLE_NACL' \ 105 '-DCHROMIUM_BUILD' \ 106 '-DUSE_LIBJPEG_TURBO=1' \ 107 '-DENABLE_WEBRTC=1' \ 108 '-DUSE_PROPRIETARY_CODECS' \ 109 '-DENABLE_BROWSER_CDMS' \ 110 '-DENABLE_CONFIGURATION_POLICY' \ 111 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 112 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 113 '-DENABLE_EGLIMAGE=1' \ 114 '-DCLD_VERSION=1' \ 115 '-DENABLE_PRINTING=1' \ 116 '-DENABLE_MANAGED_USERS=1' \ 117 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 118 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 119 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 120 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 121 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 122 '-DVIDEO_HOLE=1' \ 123 '-DWEBRTC_RESTRICT_LOGGING' \ 124 '-DWEBRTC_MODULE_UTILITY_VIDEO' \ 125 '-DWEBRTC_CHROMIUM_BUILD' \ 126 '-DLOGGING_INSIDE_WEBRTC' \ 127 '-DMIPS32_LE' \ 128 '-DMIPS_FPU_LE' \ 129 '-DWEBRTC_POSIX' \ 130 '-DWEBRTC_LINUX' \ 131 '-DWEBRTC_ANDROID' \ 132 '-DWEBRTC_ANDROID_OPENSLES' \ 133 '-DPROTOBUF_USE_DLLS' \ 134 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 135 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 136 '-DUSE_OPENSSL=1' \ 137 '-DUSE_OPENSSL_CERTS=1' \ 138 '-D__STDC_CONSTANT_MACROS' \ 139 '-D__STDC_FORMAT_MACROS' \ 140 '-DANDROID' \ 141 '-D__GNU_SOURCE=1' \ 142 '-DUSE_STLPORT=1' \ 143 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 144 '-DCHROME_BUILD_ID=""' \ 145 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 146 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 147 '-D_DEBUG' 148 149 150 # Include paths placed before CFLAGS/CPPFLAGS 151 LOCAL_C_INCLUDES_Debug := \ 152 $(gyp_shared_intermediate_dir) \ 153 $(LOCAL_PATH) \ 154 $(LOCAL_PATH)/third_party/webrtc/overrides \ 155 $(LOCAL_PATH)/third_party \ 156 $(gyp_shared_intermediate_dir)/protoc_out \ 157 $(LOCAL_PATH)/third_party/protobuf \ 158 $(LOCAL_PATH)/third_party/protobuf/src \ 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 '-DPROTOBUF_USE_DLLS' \ 257 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 258 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 259 '-DUSE_OPENSSL=1' \ 260 '-DUSE_OPENSSL_CERTS=1' \ 261 '-D__STDC_CONSTANT_MACROS' \ 262 '-D__STDC_FORMAT_MACROS' \ 263 '-DANDROID' \ 264 '-D__GNU_SOURCE=1' \ 265 '-DUSE_STLPORT=1' \ 266 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 267 '-DCHROME_BUILD_ID=""' \ 268 '-DNDEBUG' \ 269 '-DNVALGRIND' \ 270 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 271 '-D_FORTIFY_SOURCE=2' 272 273 274 # Include paths placed before CFLAGS/CPPFLAGS 275 LOCAL_C_INCLUDES_Release := \ 276 $(gyp_shared_intermediate_dir) \ 277 $(LOCAL_PATH) \ 278 $(LOCAL_PATH)/third_party/webrtc/overrides \ 279 $(LOCAL_PATH)/third_party \ 280 $(gyp_shared_intermediate_dir)/protoc_out \ 281 $(LOCAL_PATH)/third_party/protobuf \ 282 $(LOCAL_PATH)/third_party/protobuf/src \ 283 $(PWD)/frameworks/wilhelm/include \ 284 $(PWD)/bionic \ 285 $(PWD)/external/stlport/stlport 286 287 288 # Flags passed to only C++ (and not C) files. 289 LOCAL_CPPFLAGS_Release := \ 290 -fno-rtti \ 291 -fno-threadsafe-statics \ 292 -fvisibility-inlines-hidden \ 293 -Wsign-compare \ 294 -Wno-uninitialized \ 295 -Wno-non-virtual-dtor \ 296 -Wno-sign-promo 297 298 299 LOCAL_FDO_SUPPORT_Release := false 300 301 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 302 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 303 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 304 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 305 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 306 ### Rules for final target. 307 308 LOCAL_LDFLAGS_Debug := \ 309 -Wl,-z,now \ 310 -Wl,-z,relro \ 311 -Wl,--fatal-warnings \ 312 -Wl,-z,noexecstack \ 313 -fPIC \ 314 -EL \ 315 -Wl,--no-keep-memory \ 316 -nostdlib \ 317 -Wl,--no-undefined \ 318 -Wl,--exclude-libs=ALL \ 319 -Wl,--warn-shared-textrel \ 320 -Wl,-O1 \ 321 -Wl,--as-needed 322 323 324 LOCAL_LDFLAGS_Release := \ 325 -Wl,-z,now \ 326 -Wl,-z,relro \ 327 -Wl,--fatal-warnings \ 328 -Wl,-z,noexecstack \ 329 -fPIC \ 330 -EL \ 331 -Wl,--no-keep-memory \ 332 -nostdlib \ 333 -Wl,--no-undefined \ 334 -Wl,--exclude-libs=ALL \ 335 -Wl,-O1 \ 336 -Wl,--as-needed \ 337 -Wl,--gc-sections \ 338 -Wl,--warn-shared-textrel 339 340 341 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 342 343 LOCAL_STATIC_LIBRARIES := 344 345 # Enable grouping to fix circular references 346 LOCAL_GROUP_STATIC_LIBRARIES := true 347 348 LOCAL_SHARED_LIBRARIES := \ 349 libstlport \ 350 libdl 351 352 # Add target alias to "gyp_all_modules" target. 353 .PHONY: gyp_all_modules 354 gyp_all_modules: third_party_webrtc_modules_audioproc_debug_proto_gyp 355 356 # Alias gyp target name. 357 .PHONY: audioproc_debug_proto 358 audioproc_debug_proto: third_party_webrtc_modules_audioproc_debug_proto_gyp 359 360 include $(BUILD_STATIC_LIBRARY) 361