speech_proto.target.linux-x86.mk revision cedac228d2dd51db4b79ea1e72c7f249408ee061
1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6LOCAL_MODULE := content_browser_speech_proto_speech_proto_gyp 7LOCAL_MODULE_SUFFIX := .a 8LOCAL_MODULE_TAGS := optional 9LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 10gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 11gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 12 13# Make sure our deps are built first. 14GYP_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 32GYP_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. 38LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 39 40LOCAL_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 $< $@ 43LOCAL_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 48GYP_COPIED_SOURCE_ORIGIN_DIRS := \ 49 $(gyp_shared_intermediate_dir)/protoc_out/content/browser/speech/proto 50 51LOCAL_SRC_FILES := 52 53 54# Flags passed to both C and C++ files. 55MY_CFLAGS_Debug := \ 56 --param=ssp-buffer-size=4 \ 57 -fno-exceptions \ 58 -fno-strict-aliasing \ 59 -Wno-unused-parameter \ 60 -Wno-missing-field-initializers \ 61 -fvisibility=hidden \ 62 -pipe \ 63 -fPIC \ 64 -Wno-unused-local-typedefs \ 65 -Wno-format \ 66 -msse2 \ 67 -mfpmath=sse \ 68 -mmmx \ 69 -m32 \ 70 -ffunction-sections \ 71 -funwind-tables \ 72 -g \ 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 -fno-stack-protector \ 82 -Wno-address \ 83 -Wno-format-security \ 84 -Wno-return-type \ 85 -Wno-sequence-point \ 86 -Os \ 87 -g \ 88 -fomit-frame-pointer \ 89 -fdata-sections \ 90 -ffunction-sections \ 91 -funwind-tables 92 93MY_DEFS_Debug := \ 94 '-DV8_DEPRECATION_WARNINGS' \ 95 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 96 '-D_FILE_OFFSET_BITS=64' \ 97 '-DNO_TCMALLOC' \ 98 '-DDISABLE_NACL' \ 99 '-DCHROMIUM_BUILD' \ 100 '-DUSE_LIBJPEG_TURBO=1' \ 101 '-DENABLE_WEBRTC=1' \ 102 '-DUSE_PROPRIETARY_CODECS' \ 103 '-DENABLE_CONFIGURATION_POLICY' \ 104 '-DENABLE_NEW_GAMEPAD_API=1' \ 105 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 106 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 107 '-DENABLE_EGLIMAGE=1' \ 108 '-DCLD_VERSION=1' \ 109 '-DENABLE_PRINTING=1' \ 110 '-DENABLE_MANAGED_USERS=1' \ 111 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 112 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 113 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 114 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 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 132LOCAL_C_INCLUDES_Debug := \ 133 $(gyp_shared_intermediate_dir)/protoc_out \ 134 $(LOCAL_PATH) \ 135 $(LOCAL_PATH)/third_party/protobuf \ 136 $(LOCAL_PATH)/third_party/protobuf/src \ 137 $(PWD)/frameworks/wilhelm/include \ 138 $(PWD)/bionic \ 139 $(PWD)/external/stlport/stlport 140 141 142# Flags passed to only C++ (and not C) files. 143LOCAL_CPPFLAGS_Debug := \ 144 -fno-rtti \ 145 -fno-threadsafe-statics \ 146 -fvisibility-inlines-hidden \ 147 -Wno-deprecated \ 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. 154MY_CFLAGS_Release := \ 155 --param=ssp-buffer-size=4 \ 156 -fno-exceptions \ 157 -fno-strict-aliasing \ 158 -Wno-unused-parameter \ 159 -Wno-missing-field-initializers \ 160 -fvisibility=hidden \ 161 -pipe \ 162 -fPIC \ 163 -Wno-unused-local-typedefs \ 164 -Wno-format \ 165 -msse2 \ 166 -mfpmath=sse \ 167 -mmmx \ 168 -m32 \ 169 -ffunction-sections \ 170 -funwind-tables \ 171 -g \ 172 -fno-short-enums \ 173 -finline-limit=64 \ 174 -Wa,--noexecstack \ 175 -U_FORTIFY_SOURCE \ 176 -Wno-extra \ 177 -Wno-ignored-qualifiers \ 178 -Wno-type-limits \ 179 -Wno-unused-but-set-variable \ 180 -fno-stack-protector \ 181 -Wno-address \ 182 -Wno-format-security \ 183 -Wno-return-type \ 184 -Wno-sequence-point \ 185 -Os \ 186 -fno-ident \ 187 -fdata-sections \ 188 -ffunction-sections \ 189 -fomit-frame-pointer \ 190 -funwind-tables 191 192MY_DEFS_Release := \ 193 '-DV8_DEPRECATION_WARNINGS' \ 194 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 195 '-D_FILE_OFFSET_BITS=64' \ 196 '-DNO_TCMALLOC' \ 197 '-DDISABLE_NACL' \ 198 '-DCHROMIUM_BUILD' \ 199 '-DUSE_LIBJPEG_TURBO=1' \ 200 '-DENABLE_WEBRTC=1' \ 201 '-DUSE_PROPRIETARY_CODECS' \ 202 '-DENABLE_CONFIGURATION_POLICY' \ 203 '-DENABLE_NEW_GAMEPAD_API=1' \ 204 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 205 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 206 '-DENABLE_EGLIMAGE=1' \ 207 '-DCLD_VERSION=1' \ 208 '-DENABLE_PRINTING=1' \ 209 '-DENABLE_MANAGED_USERS=1' \ 210 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 211 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 212 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 213 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 214 '-DVIDEO_HOLE=1' \ 215 '-DPROTOBUF_USE_DLLS' \ 216 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 217 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 218 '-DUSE_OPENSSL=1' \ 219 '-DUSE_OPENSSL_CERTS=1' \ 220 '-DANDROID' \ 221 '-D__GNU_SOURCE=1' \ 222 '-DUSE_STLPORT=1' \ 223 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 224 '-DCHROME_BUILD_ID=""' \ 225 '-DNDEBUG' \ 226 '-DNVALGRIND' \ 227 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' 228 229 230# Include paths placed before CFLAGS/CPPFLAGS 231LOCAL_C_INCLUDES_Release := \ 232 $(gyp_shared_intermediate_dir)/protoc_out \ 233 $(LOCAL_PATH) \ 234 $(LOCAL_PATH)/third_party/protobuf \ 235 $(LOCAL_PATH)/third_party/protobuf/src \ 236 $(PWD)/frameworks/wilhelm/include \ 237 $(PWD)/bionic \ 238 $(PWD)/external/stlport/stlport 239 240 241# Flags passed to only C++ (and not C) files. 242LOCAL_CPPFLAGS_Release := \ 243 -fno-rtti \ 244 -fno-threadsafe-statics \ 245 -fvisibility-inlines-hidden \ 246 -Wno-deprecated \ 247 -Wno-non-virtual-dtor \ 248 -Wno-sign-promo \ 249 -Wno-non-virtual-dtor 250 251 252LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 253LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 254LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 255LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 256### Rules for final target. 257 258LOCAL_LDFLAGS_Debug := \ 259 -Wl,-z,now \ 260 -Wl,-z,relro \ 261 -Wl,--fatal-warnings \ 262 -Wl,-z,noexecstack \ 263 -fPIC \ 264 -m32 \ 265 -fuse-ld=gold \ 266 -nostdlib \ 267 -Wl,--no-undefined \ 268 -Wl,--exclude-libs=ALL \ 269 -Wl,--warn-shared-textrel \ 270 -Wl,-O1 \ 271 -Wl,--as-needed 272 273 274LOCAL_LDFLAGS_Release := \ 275 -Wl,-z,now \ 276 -Wl,-z,relro \ 277 -Wl,--fatal-warnings \ 278 -Wl,-z,noexecstack \ 279 -fPIC \ 280 -m32 \ 281 -fuse-ld=gold \ 282 -nostdlib \ 283 -Wl,--no-undefined \ 284 -Wl,--exclude-libs=ALL \ 285 -Wl,-O1 \ 286 -Wl,--as-needed \ 287 -Wl,--gc-sections \ 288 -Wl,--warn-shared-textrel 289 290 291LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 292 293LOCAL_STATIC_LIBRARIES := 294 295# Enable grouping to fix circular references 296LOCAL_GROUP_STATIC_LIBRARIES := true 297 298LOCAL_SHARED_LIBRARIES := \ 299 libstlport \ 300 libdl 301 302# Add target alias to "gyp_all_modules" target. 303.PHONY: gyp_all_modules 304gyp_all_modules: content_browser_speech_proto_speech_proto_gyp 305 306# Alias gyp target name. 307.PHONY: speech_proto 308speech_proto: content_browser_speech_proto_speech_proto_gyp 309 310include $(BUILD_STATIC_LIBRARY) 311