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