speech_proto.target.linux-mips.mk revision f8ee788a64d60abd8f2d742a5fdedde054ecd910
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	-fstack-protector \
57	--param=ssp-buffer-size=4 \
58	 \
59	-fno-exceptions \
60	-fno-strict-aliasing \
61	-Wno-unused-parameter \
62	-Wno-missing-field-initializers \
63	-fvisibility=hidden \
64	-pipe \
65	-fPIC \
66	-Wno-unused-local-typedefs \
67	-Wno-format \
68	-EL \
69	-mhard-float \
70	-ffunction-sections \
71	-funwind-tables \
72	-g \
73	-fstack-protector \
74	-fno-short-enums \
75	-finline-limit=64 \
76	-Wa,--noexecstack \
77	-U_FORTIFY_SOURCE \
78	-Wno-extra \
79	-Wno-ignored-qualifiers \
80	-Wno-type-limits \
81	-Wno-unused-but-set-variable \
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_BROWSER_CDMS' \
104	'-DENABLE_CONFIGURATION_POLICY' \
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) \
134	$(gyp_shared_intermediate_dir)/protoc_out \
135	$(LOCAL_PATH) \
136	$(LOCAL_PATH)/third_party/protobuf \
137	$(LOCAL_PATH)/third_party/protobuf/src \
138	$(PWD)/frameworks/wilhelm/include \
139	$(PWD)/bionic \
140	$(PWD)/external/stlport/stlport
141
142
143# Flags passed to only C++ (and not C) files.
144LOCAL_CPPFLAGS_Debug := \
145	-fno-rtti \
146	-fno-threadsafe-statics \
147	-fvisibility-inlines-hidden \
148	-Wno-deprecated \
149	-Wno-uninitialized \
150	-Wno-non-virtual-dtor \
151	-Wno-sign-promo \
152	-Wno-non-virtual-dtor
153
154
155# Flags passed to both C and C++ files.
156MY_CFLAGS_Release := \
157	-fstack-protector \
158	--param=ssp-buffer-size=4 \
159	 \
160	-fno-exceptions \
161	-fno-strict-aliasing \
162	-Wno-unused-parameter \
163	-Wno-missing-field-initializers \
164	-fvisibility=hidden \
165	-pipe \
166	-fPIC \
167	-Wno-unused-local-typedefs \
168	-Wno-format \
169	-EL \
170	-mhard-float \
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	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
197	'-D_FILE_OFFSET_BITS=64' \
198	'-DNO_TCMALLOC' \
199	'-DDISABLE_NACL' \
200	'-DCHROMIUM_BUILD' \
201	'-DUSE_LIBJPEG_TURBO=1' \
202	'-DENABLE_WEBRTC=1' \
203	'-DUSE_PROPRIETARY_CODECS' \
204	'-DENABLE_BROWSER_CDMS' \
205	'-DENABLE_CONFIGURATION_POLICY' \
206	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
207	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
208	'-DENABLE_EGLIMAGE=1' \
209	'-DCLD_VERSION=1' \
210	'-DENABLE_PRINTING=1' \
211	'-DENABLE_MANAGED_USERS=1' \
212	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
213	'-DDATA_REDUCTION_DEV_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	'-DVIDEO_HOLE=1' \
217	'-DPROTOBUF_USE_DLLS' \
218	'-DGOOGLE_PROTOBUF_NO_RTTI' \
219	'-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \
220	'-DUSE_OPENSSL=1' \
221	'-DUSE_OPENSSL_CERTS=1' \
222	'-DANDROID' \
223	'-D__GNU_SOURCE=1' \
224	'-DUSE_STLPORT=1' \
225	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
226	'-DCHROME_BUILD_ID=""' \
227	'-DNDEBUG' \
228	'-DNVALGRIND' \
229	'-DDYNAMIC_ANNOTATIONS_ENABLED=0'
230
231
232# Include paths placed before CFLAGS/CPPFLAGS
233LOCAL_C_INCLUDES_Release := \
234	$(gyp_shared_intermediate_dir) \
235	$(gyp_shared_intermediate_dir)/protoc_out \
236	$(LOCAL_PATH) \
237	$(LOCAL_PATH)/third_party/protobuf \
238	$(LOCAL_PATH)/third_party/protobuf/src \
239	$(PWD)/frameworks/wilhelm/include \
240	$(PWD)/bionic \
241	$(PWD)/external/stlport/stlport
242
243
244# Flags passed to only C++ (and not C) files.
245LOCAL_CPPFLAGS_Release := \
246	-fno-rtti \
247	-fno-threadsafe-statics \
248	-fvisibility-inlines-hidden \
249	-Wno-deprecated \
250	-Wno-uninitialized \
251	-Wno-non-virtual-dtor \
252	-Wno-sign-promo \
253	-Wno-non-virtual-dtor
254
255
256LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
257LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
258LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
259LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
260### Rules for final target.
261
262LOCAL_LDFLAGS_Debug := \
263	-Wl,-z,now \
264	-Wl,-z,relro \
265	-Wl,--fatal-warnings \
266	-Wl,-z,noexecstack \
267	-fPIC \
268	-EL \
269	-Wl,--no-keep-memory \
270	-nostdlib \
271	-Wl,--no-undefined \
272	-Wl,--exclude-libs=ALL \
273	-Wl,--warn-shared-textrel \
274	-Wl,-O1 \
275	-Wl,--as-needed
276
277
278LOCAL_LDFLAGS_Release := \
279	-Wl,-z,now \
280	-Wl,-z,relro \
281	-Wl,--fatal-warnings \
282	-Wl,-z,noexecstack \
283	-fPIC \
284	-EL \
285	-Wl,--no-keep-memory \
286	-nostdlib \
287	-Wl,--no-undefined \
288	-Wl,--exclude-libs=ALL \
289	-Wl,-O1 \
290	-Wl,--as-needed \
291	-Wl,--gc-sections \
292	-Wl,--warn-shared-textrel
293
294
295LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
296
297LOCAL_STATIC_LIBRARIES :=
298
299# Enable grouping to fix circular references
300LOCAL_GROUP_STATIC_LIBRARIES := true
301
302LOCAL_SHARED_LIBRARIES := \
303	libstlport \
304	libdl
305
306# Add target alias to "gyp_all_modules" target.
307.PHONY: gyp_all_modules
308gyp_all_modules: content_browser_speech_proto_speech_proto_gyp
309
310# Alias gyp target name.
311.PHONY: speech_proto
312speech_proto: content_browser_speech_proto_speech_proto_gyp
313
314include $(BUILD_STATIC_LIBRARY)
315