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 -ffunction-sections \ 65 -funwind-tables \ 66 -g \ 67 -fno-short-enums \ 68 -finline-limit=64 \ 69 -Wa,--noexecstack \ 70 -U_FORTIFY_SOURCE \ 71 -Wno-extra \ 72 -Wno-ignored-qualifiers \ 73 -Wno-type-limits \ 74 -Wno-unused-but-set-variable \ 75 -Wno-address \ 76 -Wno-format-security \ 77 -Wno-return-type \ 78 -Wno-sequence-point \ 79 -Os \ 80 -g \ 81 -gdwarf-4 \ 82 -fdata-sections \ 83 -ffunction-sections \ 84 -funwind-tables 85 86 MY_DEFS_Debug := \ 87 '-DV8_DEPRECATION_WARNINGS' \ 88 '-D_FILE_OFFSET_BITS=64' \ 89 '-DNO_TCMALLOC' \ 90 '-DDISABLE_NACL' \ 91 '-DCHROMIUM_BUILD' \ 92 '-DUSE_LIBJPEG_TURBO=1' \ 93 '-DENABLE_WEBRTC=1' \ 94 '-DUSE_PROPRIETARY_CODECS' \ 95 '-DENABLE_BROWSER_CDMS' \ 96 '-DENABLE_CONFIGURATION_POLICY' \ 97 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 98 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 99 '-DENABLE_EGLIMAGE=1' \ 100 '-DCLD_VERSION=1' \ 101 '-DENABLE_PRINTING=1' \ 102 '-DENABLE_MANAGED_USERS=1' \ 103 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 104 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 105 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 106 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 107 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 108 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 109 '-DVIDEO_HOLE=1' \ 110 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 111 '-DPROTOBUF_USE_DLLS' \ 112 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 113 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 114 '-DUSE_OPENSSL=1' \ 115 '-DUSE_OPENSSL_CERTS=1' \ 116 '-DANDROID' \ 117 '-D__GNU_SOURCE=1' \ 118 '-DUSE_STLPORT=1' \ 119 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 120 '-DCHROME_BUILD_ID=""' \ 121 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 122 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 123 '-D_DEBUG' 124 125 126 # Include paths placed before CFLAGS/CPPFLAGS 127 LOCAL_C_INCLUDES_Debug := \ 128 $(gyp_shared_intermediate_dir) \ 129 $(gyp_shared_intermediate_dir)/protoc_out \ 130 $(LOCAL_PATH) \ 131 $(LOCAL_PATH)/third_party/protobuf \ 132 $(LOCAL_PATH)/third_party/protobuf/src \ 133 $(PWD)/frameworks/wilhelm/include \ 134 $(PWD)/bionic \ 135 $(PWD)/external/stlport/stlport 136 137 138 # Flags passed to only C++ (and not C) files. 139 LOCAL_CPPFLAGS_Debug := \ 140 -fno-exceptions \ 141 -fno-rtti \ 142 -fno-threadsafe-statics \ 143 -fvisibility-inlines-hidden \ 144 -Wno-deprecated \ 145 -std=gnu++11 \ 146 -Wno-narrowing \ 147 -Wno-literal-suffix \ 148 -Wno-non-virtual-dtor \ 149 -Wno-sign-promo \ 150 -Wno-non-virtual-dtor 151 152 153 # Flags passed to both C and C++ files. 154 MY_CFLAGS_Release := \ 155 --param=ssp-buffer-size=4 \ 156 -fno-strict-aliasing \ 157 -Wno-unused-parameter \ 158 -Wno-missing-field-initializers \ 159 -fvisibility=hidden \ 160 -pipe \ 161 -fPIC \ 162 -Wno-unused-local-typedefs \ 163 -Wno-format \ 164 -ffunction-sections \ 165 -funwind-tables \ 166 -g \ 167 -fno-short-enums \ 168 -finline-limit=64 \ 169 -Wa,--noexecstack \ 170 -U_FORTIFY_SOURCE \ 171 -Wno-extra \ 172 -Wno-ignored-qualifiers \ 173 -Wno-type-limits \ 174 -Wno-unused-but-set-variable \ 175 -Wno-address \ 176 -Wno-format-security \ 177 -Wno-return-type \ 178 -Wno-sequence-point \ 179 -Os \ 180 -fno-ident \ 181 -fdata-sections \ 182 -ffunction-sections \ 183 -funwind-tables 184 185 MY_DEFS_Release := \ 186 '-DV8_DEPRECATION_WARNINGS' \ 187 '-D_FILE_OFFSET_BITS=64' \ 188 '-DNO_TCMALLOC' \ 189 '-DDISABLE_NACL' \ 190 '-DCHROMIUM_BUILD' \ 191 '-DUSE_LIBJPEG_TURBO=1' \ 192 '-DENABLE_WEBRTC=1' \ 193 '-DUSE_PROPRIETARY_CODECS' \ 194 '-DENABLE_BROWSER_CDMS' \ 195 '-DENABLE_CONFIGURATION_POLICY' \ 196 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 197 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 198 '-DENABLE_EGLIMAGE=1' \ 199 '-DCLD_VERSION=1' \ 200 '-DENABLE_PRINTING=1' \ 201 '-DENABLE_MANAGED_USERS=1' \ 202 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 203 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 204 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 205 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 206 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 207 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 208 '-DVIDEO_HOLE=1' \ 209 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 210 '-DPROTOBUF_USE_DLLS' \ 211 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 212 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 213 '-DUSE_OPENSSL=1' \ 214 '-DUSE_OPENSSL_CERTS=1' \ 215 '-DANDROID' \ 216 '-D__GNU_SOURCE=1' \ 217 '-DUSE_STLPORT=1' \ 218 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 219 '-DCHROME_BUILD_ID=""' \ 220 '-DNDEBUG' \ 221 '-DNVALGRIND' \ 222 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' 223 224 225 # Include paths placed before CFLAGS/CPPFLAGS 226 LOCAL_C_INCLUDES_Release := \ 227 $(gyp_shared_intermediate_dir) \ 228 $(gyp_shared_intermediate_dir)/protoc_out \ 229 $(LOCAL_PATH) \ 230 $(LOCAL_PATH)/third_party/protobuf \ 231 $(LOCAL_PATH)/third_party/protobuf/src \ 232 $(PWD)/frameworks/wilhelm/include \ 233 $(PWD)/bionic \ 234 $(PWD)/external/stlport/stlport 235 236 237 # Flags passed to only C++ (and not C) files. 238 LOCAL_CPPFLAGS_Release := \ 239 -fno-exceptions \ 240 -fno-rtti \ 241 -fno-threadsafe-statics \ 242 -fvisibility-inlines-hidden \ 243 -Wno-deprecated \ 244 -std=gnu++11 \ 245 -Wno-narrowing \ 246 -Wno-literal-suffix \ 247 -Wno-non-virtual-dtor \ 248 -Wno-sign-promo \ 249 -Wno-non-virtual-dtor 250 251 252 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 253 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 254 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 255 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 256 ### Rules for final target. 257 258 LOCAL_SHARED_LIBRARIES := \ 259 libstlport \ 260 libdl 261 262 # Add target alias to "gyp_all_modules" target. 263 .PHONY: gyp_all_modules 264 gyp_all_modules: content_browser_speech_proto_speech_proto_gyp 265 266 # Alias gyp target name. 267 .PHONY: speech_proto 268 speech_proto: content_browser_speech_proto_speech_proto_gyp 269 270 include $(BUILD_STATIC_LIBRARY) 271