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