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 := content_browser_speech_proto_speech_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 "content_browser_speech_proto_speech_proto_gyp_speech_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/content/browser/speech/proto/%(INPUT_ROOT)s_pb2.py', '$(gyp_shared_intermediate_dir)/protoc_out/content/browser/speech/proto/%(INPUT_ROOT)s.pb.cc', '$(gyp_shared_intermediate_dir)/protoc_out/content/browser/speech/proto/%(INPUT_ROOT)s.pb.h'], 'rule_name': 'genproto', 'rule_sources': ['google_streaming_api.proto'], 'action': ['python', '../../../../tools/protoc_wrapper/protoc_wrapper.py', '--include', '', '--protobuf', '$(gyp_shared_intermediate_dir)/protoc_out/content/browser/speech/proto/%(INPUT_ROOT)s.pb.h', '--proto-in-dir', '.', '--proto-in-file', '%(INPUT_ROOT)s$(suffix $<)', '--use-system-protobuf=0', '--', '$(gyp_shared_intermediate_dir)/protoc', '--cpp_out', '$(gyp_shared_intermediate_dir)/protoc_out/content/browser/speech/proto', '--python_out', '$(gyp_shared_intermediate_dir)/pyproto/content/browser/speech/proto'], 'message': 'Generating C++ and Python code from $(RULE_SOURCES)'}": 20 $(gyp_shared_intermediate_dir)/pyproto/content/browser/speech/proto/google_streaming_api_pb2.py: gyp_local_path := $(LOCAL_PATH) 21 $(gyp_shared_intermediate_dir)/pyproto/content/browser/speech/proto/google_streaming_api_pb2.py: gyp_var_prefix := $(GYP_VAR_PREFIX) 22 $(gyp_shared_intermediate_dir)/pyproto/content/browser/speech/proto/google_streaming_api_pb2.py: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 23 $(gyp_shared_intermediate_dir)/pyproto/content/browser/speech/proto/google_streaming_api_pb2.py: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 24 $(gyp_shared_intermediate_dir)/pyproto/content/browser/speech/proto/google_streaming_api_pb2.py: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 25 $(gyp_shared_intermediate_dir)/pyproto/content/browser/speech/proto/google_streaming_api_pb2.py: $(LOCAL_PATH)/content/browser/speech/proto/google_streaming_api.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/content/browser/speech/proto $(gyp_shared_intermediate_dir)/protoc_out/content/browser/speech/proto; cd $(gyp_local_path)/content/browser/speech/proto; python ../../../../tools/protoc_wrapper/protoc_wrapper.py --include "" --protobuf "$(gyp_shared_intermediate_dir)/protoc_out/content/browser/speech/proto/google_streaming_api.pb.h" --proto-in-dir . --proto-in-file "google_streaming_api$(suffix $<)" "--use-system-protobuf=0" -- "$(gyp_shared_intermediate_dir)/protoc" --cpp_out "$(gyp_shared_intermediate_dir)/protoc_out/content/browser/speech/proto" --python_out "$(gyp_shared_intermediate_dir)/pyproto/content/browser/speech/proto" 27 28 $(gyp_shared_intermediate_dir)/protoc_out/content/browser/speech/proto/google_streaming_api.pb.cc: $(gyp_shared_intermediate_dir)/pyproto/content/browser/speech/proto/google_streaming_api_pb2.py ; 29 $(gyp_shared_intermediate_dir)/protoc_out/content/browser/speech/proto/google_streaming_api.pb.h: $(gyp_shared_intermediate_dir)/pyproto/content/browser/speech/proto/google_streaming_api_pb2.py ; 30 31 32 GYP_GENERATED_OUTPUTS := \ 33 $(gyp_shared_intermediate_dir)/pyproto/content/browser/speech/proto/google_streaming_api_pb2.py \ 34 $(gyp_shared_intermediate_dir)/protoc_out/content/browser/speech/proto/google_streaming_api.pb.cc \ 35 $(gyp_shared_intermediate_dir)/protoc_out/content/browser/speech/proto/google_streaming_api.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)/google_streaming_api.pb.cc: $(gyp_shared_intermediate_dir)/protoc_out/content/browser/speech/proto/google_streaming_api.pb.cc 42 mkdir -p $(@D); cp $< $@ 43 LOCAL_GENERATED_SOURCES := \ 44 $(gyp_intermediate_dir)/google_streaming_api.pb.cc \ 45 $(gyp_shared_intermediate_dir)/pyproto/content/browser/speech/proto/google_streaming_api_pb2.py \ 46 $(gyp_shared_intermediate_dir)/protoc_out/content/browser/speech/proto/google_streaming_api.pb.h 47 48 GYP_COPIED_SOURCE_ORIGIN_DIRS := \ 49 $(gyp_shared_intermediate_dir)/protoc_out/content/browser/speech/proto 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 -fno-exceptions \ 59 -fno-strict-aliasing \ 60 -Wno-unused-parameter \ 61 -Wno-missing-field-initializers \ 62 -fvisibility=hidden \ 63 -pipe \ 64 -fPIC \ 65 -Wno-unused-local-typedefs \ 66 -Wno-format \ 67 -m64 \ 68 -march=x86-64 \ 69 -ffunction-sections \ 70 -funwind-tables \ 71 -g \ 72 -fstack-protector \ 73 -fno-short-enums \ 74 -finline-limit=64 \ 75 -Wa,--noexecstack \ 76 -U_FORTIFY_SOURCE \ 77 -Wno-extra \ 78 -Wno-ignored-qualifiers \ 79 -Wno-type-limits \ 80 -Wno-unused-but-set-variable \ 81 -Wno-address \ 82 -Wno-format-security \ 83 -Wno-return-type \ 84 -Wno-sequence-point \ 85 -Os \ 86 -g \ 87 -fdata-sections \ 88 -ffunction-sections \ 89 -fomit-frame-pointer \ 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 '-DPROTOBUF_USE_DLLS' \ 117 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 118 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 119 '-DUSE_OPENSSL=1' \ 120 '-DUSE_OPENSSL_CERTS=1' \ 121 '-DANDROID' \ 122 '-D__GNU_SOURCE=1' \ 123 '-DUSE_STLPORT=1' \ 124 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 125 '-DCHROME_BUILD_ID=""' \ 126 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 127 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 128 '-D_DEBUG' 129 130 131 # Include paths placed before CFLAGS/CPPFLAGS 132 LOCAL_C_INCLUDES_Debug := \ 133 $(gyp_shared_intermediate_dir) \ 134 $(gyp_shared_intermediate_dir)/protoc_out \ 135 $(LOCAL_PATH) \ 136 $(LOCAL_PATH)/third_party/protobuf \ 137 $(LOCAL_PATH)/third_party/protobuf/src \ 138 $(PWD)/frameworks/wilhelm/include \ 139 $(PWD)/bionic \ 140 $(PWD)/external/stlport/stlport 141 142 143 # Flags passed to only C++ (and not C) files. 144 LOCAL_CPPFLAGS_Debug := \ 145 -fno-rtti \ 146 -fno-threadsafe-statics \ 147 -fvisibility-inlines-hidden \ 148 -Wno-deprecated \ 149 -Wno-non-virtual-dtor \ 150 -Wno-sign-promo \ 151 -Wno-non-virtual-dtor 152 153 154 LOCAL_FDO_SUPPORT_Debug := false 155 156 # Flags passed to both C and C++ files. 157 MY_CFLAGS_Release := \ 158 -fstack-protector \ 159 --param=ssp-buffer-size=4 \ 160 -fno-exceptions \ 161 -fno-strict-aliasing \ 162 -Wno-unused-parameter \ 163 -Wno-missing-field-initializers \ 164 -fvisibility=hidden \ 165 -pipe \ 166 -fPIC \ 167 -Wno-unused-local-typedefs \ 168 -Wno-format \ 169 -m64 \ 170 -march=x86-64 \ 171 -ffunction-sections \ 172 -funwind-tables \ 173 -g \ 174 -fstack-protector \ 175 -fno-short-enums \ 176 -finline-limit=64 \ 177 -Wa,--noexecstack \ 178 -U_FORTIFY_SOURCE \ 179 -Wno-extra \ 180 -Wno-ignored-qualifiers \ 181 -Wno-type-limits \ 182 -Wno-unused-but-set-variable \ 183 -Wno-address \ 184 -Wno-format-security \ 185 -Wno-return-type \ 186 -Wno-sequence-point \ 187 -Os \ 188 -fno-ident \ 189 -fdata-sections \ 190 -ffunction-sections \ 191 -fomit-frame-pointer \ 192 -funwind-tables 193 194 MY_DEFS_Release := \ 195 '-DV8_DEPRECATION_WARNINGS' \ 196 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 197 '-D_FILE_OFFSET_BITS=64' \ 198 '-DNO_TCMALLOC' \ 199 '-DDISABLE_NACL' \ 200 '-DCHROMIUM_BUILD' \ 201 '-DUSE_LIBJPEG_TURBO=1' \ 202 '-DENABLE_WEBRTC=1' \ 203 '-DUSE_PROPRIETARY_CODECS' \ 204 '-DENABLE_BROWSER_CDMS' \ 205 '-DENABLE_CONFIGURATION_POLICY' \ 206 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 207 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 208 '-DENABLE_EGLIMAGE=1' \ 209 '-DCLD_VERSION=1' \ 210 '-DENABLE_PRINTING=1' \ 211 '-DENABLE_MANAGED_USERS=1' \ 212 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 213 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 214 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 215 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 216 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 217 '-DVIDEO_HOLE=1' \ 218 '-DPROTOBUF_USE_DLLS' \ 219 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 220 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 221 '-DUSE_OPENSSL=1' \ 222 '-DUSE_OPENSSL_CERTS=1' \ 223 '-DANDROID' \ 224 '-D__GNU_SOURCE=1' \ 225 '-DUSE_STLPORT=1' \ 226 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 227 '-DCHROME_BUILD_ID=""' \ 228 '-DNDEBUG' \ 229 '-DNVALGRIND' \ 230 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' 231 232 233 # Include paths placed before CFLAGS/CPPFLAGS 234 LOCAL_C_INCLUDES_Release := \ 235 $(gyp_shared_intermediate_dir) \ 236 $(gyp_shared_intermediate_dir)/protoc_out \ 237 $(LOCAL_PATH) \ 238 $(LOCAL_PATH)/third_party/protobuf \ 239 $(LOCAL_PATH)/third_party/protobuf/src \ 240 $(PWD)/frameworks/wilhelm/include \ 241 $(PWD)/bionic \ 242 $(PWD)/external/stlport/stlport 243 244 245 # Flags passed to only C++ (and not C) files. 246 LOCAL_CPPFLAGS_Release := \ 247 -fno-rtti \ 248 -fno-threadsafe-statics \ 249 -fvisibility-inlines-hidden \ 250 -Wno-deprecated \ 251 -Wno-non-virtual-dtor \ 252 -Wno-sign-promo \ 253 -Wno-non-virtual-dtor 254 255 256 LOCAL_FDO_SUPPORT_Release := false 257 258 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 259 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 260 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 261 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 262 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 263 ### Rules for final target. 264 265 LOCAL_LDFLAGS_Debug := \ 266 -Wl,-z,now \ 267 -Wl,-z,relro \ 268 -Wl,--fatal-warnings \ 269 -Wl,-z,noexecstack \ 270 -fPIC \ 271 -m64 \ 272 -fuse-ld=gold \ 273 -nostdlib \ 274 -Wl,--no-undefined \ 275 -Wl,--exclude-libs=ALL \ 276 -Wl,--warn-shared-textrel \ 277 -Wl,-O1 \ 278 -Wl,--as-needed 279 280 281 LOCAL_LDFLAGS_Release := \ 282 -Wl,-z,now \ 283 -Wl,-z,relro \ 284 -Wl,--fatal-warnings \ 285 -Wl,-z,noexecstack \ 286 -fPIC \ 287 -m64 \ 288 -fuse-ld=gold \ 289 -nostdlib \ 290 -Wl,--no-undefined \ 291 -Wl,--exclude-libs=ALL \ 292 -Wl,-O1 \ 293 -Wl,--as-needed \ 294 -Wl,--gc-sections \ 295 -Wl,--warn-shared-textrel 296 297 298 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 299 300 LOCAL_STATIC_LIBRARIES := 301 302 # Enable grouping to fix circular references 303 LOCAL_GROUP_STATIC_LIBRARIES := true 304 305 LOCAL_SHARED_LIBRARIES := \ 306 libstlport \ 307 libdl 308 309 # Add target alias to "gyp_all_modules" target. 310 .PHONY: gyp_all_modules 311 gyp_all_modules: content_browser_speech_proto_speech_proto_gyp 312 313 # Alias gyp target name. 314 .PHONY: speech_proto 315 speech_proto: content_browser_speech_proto_speech_proto_gyp 316 317 include $(BUILD_STATIC_LIBRARY) 318