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