Home | History | Annotate | Download | only in proto
      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 	-fstack-protector \
     56 	--param=ssp-buffer-size=4 \
     57 	-fno-strict-aliasing \
     58 	-Wno-unused-parameter \
     59 	-Wno-missing-field-initializers \
     60 	-fvisibility=hidden \
     61 	-pipe \
     62 	-fPIC \
     63 	-Wno-unused-local-typedefs \
     64 	-Wno-format \
     65 	-fno-tree-sra \
     66 	-fno-caller-saves \
     67 	-Wno-psabi \
     68 	-fno-partial-inlining \
     69 	-fno-early-inlining \
     70 	-fno-tree-copy-prop \
     71 	-fno-tree-loop-optimize \
     72 	-fno-move-loop-invariants \
     73 	-ffunction-sections \
     74 	-funwind-tables \
     75 	-g \
     76 	-fstack-protector \
     77 	-fno-short-enums \
     78 	-finline-limit=64 \
     79 	-Wa,--noexecstack \
     80 	-U_FORTIFY_SOURCE \
     81 	-Wno-extra \
     82 	-Wno-ignored-qualifiers \
     83 	-Wno-type-limits \
     84 	-Wno-unused-but-set-variable \
     85 	-Wno-address \
     86 	-Wno-format-security \
     87 	-Wno-return-type \
     88 	-Wno-sequence-point \
     89 	-Os \
     90 	-g \
     91 	-gdwarf-4 \
     92 	-fdata-sections \
     93 	-ffunction-sections \
     94 	-fomit-frame-pointer \
     95 	-funwind-tables
     96 
     97 MY_DEFS_Debug := \
     98 	'-DV8_DEPRECATION_WARNINGS' \
     99 	'-D_FILE_OFFSET_BITS=64' \
    100 	'-DNO_TCMALLOC' \
    101 	'-DDISABLE_NACL' \
    102 	'-DCHROMIUM_BUILD' \
    103 	'-DUSE_LIBJPEG_TURBO=1' \
    104 	'-DENABLE_WEBRTC=1' \
    105 	'-DUSE_PROPRIETARY_CODECS' \
    106 	'-DENABLE_BROWSER_CDMS' \
    107 	'-DENABLE_CONFIGURATION_POLICY' \
    108 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    109 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    110 	'-DENABLE_EGLIMAGE=1' \
    111 	'-DCLD_VERSION=1' \
    112 	'-DENABLE_PRINTING=1' \
    113 	'-DENABLE_MANAGED_USERS=1' \
    114 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    115 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
    116 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
    117 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    118 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    119 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    120 	'-DVIDEO_HOLE=1' \
    121 	'-DENABLE_LOAD_COMPLETION_HACKS=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-exceptions \
    152 	-fno-rtti \
    153 	-fno-threadsafe-statics \
    154 	-fvisibility-inlines-hidden \
    155 	-Wno-deprecated \
    156 	-Wno-abi \
    157 	-std=gnu++11 \
    158 	-Wno-narrowing \
    159 	-Wno-literal-suffix \
    160 	-Wno-non-virtual-dtor \
    161 	-Wno-sign-promo \
    162 	-Wno-non-virtual-dtor
    163 
    164 
    165 # Flags passed to both C and C++ files.
    166 MY_CFLAGS_Release := \
    167 	-fstack-protector \
    168 	--param=ssp-buffer-size=4 \
    169 	-fno-strict-aliasing \
    170 	-Wno-unused-parameter \
    171 	-Wno-missing-field-initializers \
    172 	-fvisibility=hidden \
    173 	-pipe \
    174 	-fPIC \
    175 	-Wno-unused-local-typedefs \
    176 	-Wno-format \
    177 	-fno-tree-sra \
    178 	-fno-caller-saves \
    179 	-Wno-psabi \
    180 	-fno-partial-inlining \
    181 	-fno-early-inlining \
    182 	-fno-tree-copy-prop \
    183 	-fno-tree-loop-optimize \
    184 	-fno-move-loop-invariants \
    185 	-ffunction-sections \
    186 	-funwind-tables \
    187 	-g \
    188 	-fstack-protector \
    189 	-fno-short-enums \
    190 	-finline-limit=64 \
    191 	-Wa,--noexecstack \
    192 	-U_FORTIFY_SOURCE \
    193 	-Wno-extra \
    194 	-Wno-ignored-qualifiers \
    195 	-Wno-type-limits \
    196 	-Wno-unused-but-set-variable \
    197 	-Wno-address \
    198 	-Wno-format-security \
    199 	-Wno-return-type \
    200 	-Wno-sequence-point \
    201 	-Os \
    202 	-fno-ident \
    203 	-fdata-sections \
    204 	-ffunction-sections \
    205 	-fomit-frame-pointer \
    206 	-funwind-tables
    207 
    208 MY_DEFS_Release := \
    209 	'-DV8_DEPRECATION_WARNINGS' \
    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="https://proxy-dev.googlezip.net:443/"' \
    227 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
    228 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    229 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    230 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    231 	'-DVIDEO_HOLE=1' \
    232 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
    233 	'-DPROTOBUF_USE_DLLS' \
    234 	'-DGOOGLE_PROTOBUF_NO_RTTI' \
    235 	'-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \
    236 	'-DUSE_OPENSSL=1' \
    237 	'-DUSE_OPENSSL_CERTS=1' \
    238 	'-DANDROID' \
    239 	'-D__GNU_SOURCE=1' \
    240 	'-DUSE_STLPORT=1' \
    241 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    242 	'-DCHROME_BUILD_ID=""' \
    243 	'-DNDEBUG' \
    244 	'-DNVALGRIND' \
    245 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0'
    246 
    247 
    248 # Include paths placed before CFLAGS/CPPFLAGS
    249 LOCAL_C_INCLUDES_Release := \
    250 	$(gyp_shared_intermediate_dir) \
    251 	$(gyp_shared_intermediate_dir)/protoc_out \
    252 	$(LOCAL_PATH) \
    253 	$(LOCAL_PATH)/third_party/protobuf \
    254 	$(LOCAL_PATH)/third_party/protobuf/src \
    255 	$(PWD)/frameworks/wilhelm/include \
    256 	$(PWD)/bionic \
    257 	$(PWD)/external/stlport/stlport
    258 
    259 
    260 # Flags passed to only C++ (and not C) files.
    261 LOCAL_CPPFLAGS_Release := \
    262 	-fno-exceptions \
    263 	-fno-rtti \
    264 	-fno-threadsafe-statics \
    265 	-fvisibility-inlines-hidden \
    266 	-Wno-deprecated \
    267 	-Wno-abi \
    268 	-std=gnu++11 \
    269 	-Wno-narrowing \
    270 	-Wno-literal-suffix \
    271 	-Wno-non-virtual-dtor \
    272 	-Wno-sign-promo \
    273 	-Wno-non-virtual-dtor
    274 
    275 
    276 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    277 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    278 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    279 LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
    280 ### Rules for final target.
    281 
    282 LOCAL_SHARED_LIBRARIES := \
    283 	libstlport \
    284 	libdl
    285 
    286 # Add target alias to "gyp_all_modules" target.
    287 .PHONY: gyp_all_modules
    288 gyp_all_modules: content_browser_speech_proto_speech_proto_gyp
    289 
    290 # Alias gyp target name.
    291 .PHONY: speech_proto
    292 speech_proto: content_browser_speech_proto_speech_proto_gyp
    293 
    294 include $(BUILD_STATIC_LIBRARY)
    295