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