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