speech_proto.target.linux-mips.mk revision 0de6073388f4e2780db8536178b129cd8f6ab386
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-format \
67	-EL \
68	-mhard-float \
69	-ffunction-sections \
70	-funwind-tables \
71	-g \
72	-fstack-protector \
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	-Wno-address \
82	-Wno-format-security \
83	-Wno-return-type \
84	-Wno-sequence-point \
85	-Os \
86	-g \
87	-fomit-frame-pointer \
88	-fdata-sections \
89	-ffunction-sections \
90	-funwind-tables
91
92MY_DEFS_Debug := \
93	'-DV8_DEPRECATION_WARNINGS' \
94	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
95	'-D_FILE_OFFSET_BITS=64' \
96	'-DNO_TCMALLOC' \
97	'-DDISABLE_NACL' \
98	'-DCHROMIUM_BUILD' \
99	'-DUSE_LIBJPEG_TURBO=1' \
100	'-DENABLE_WEBRTC=1' \
101	'-DUSE_PROPRIETARY_CODECS' \
102	'-DENABLE_CONFIGURATION_POLICY' \
103	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
104	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
105	'-DENABLE_EGLIMAGE=1' \
106	'-DCLD_VERSION=1' \
107	'-DENABLE_PRINTING=1' \
108	'-DENABLE_MANAGED_USERS=1' \
109	'-DVIDEO_HOLE=1' \
110	'-DPROTOBUF_USE_DLLS' \
111	'-DGOOGLE_PROTOBUF_NO_RTTI' \
112	'-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \
113	'-DUSE_OPENSSL=1' \
114	'-DUSE_OPENSSL_CERTS=1' \
115	'-DANDROID' \
116	'-D__GNU_SOURCE=1' \
117	'-DUSE_STLPORT=1' \
118	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
119	'-DCHROME_BUILD_ID=""' \
120	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
121	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
122	'-D_DEBUG'
123
124
125# Include paths placed before CFLAGS/CPPFLAGS
126LOCAL_C_INCLUDES_Debug := \
127	$(gyp_shared_intermediate_dir)/protoc_out \
128	$(LOCAL_PATH) \
129	$(LOCAL_PATH)/third_party/protobuf \
130	$(LOCAL_PATH)/third_party/protobuf/src \
131	$(PWD)/frameworks/wilhelm/include \
132	$(PWD)/bionic \
133	$(PWD)/external/stlport/stlport
134
135
136# Flags passed to only C++ (and not C) files.
137LOCAL_CPPFLAGS_Debug := \
138	-fno-rtti \
139	-fno-threadsafe-statics \
140	-fvisibility-inlines-hidden \
141	-Wno-deprecated \
142	-Wno-uninitialized \
143	-Wno-non-virtual-dtor \
144	-Wno-sign-promo \
145	-Wno-non-virtual-dtor
146
147
148# Flags passed to both C and C++ files.
149MY_CFLAGS_Release := \
150	-fstack-protector \
151	--param=ssp-buffer-size=4 \
152	 \
153	-fno-exceptions \
154	-fno-strict-aliasing \
155	-Wno-unused-parameter \
156	-Wno-missing-field-initializers \
157	-fvisibility=hidden \
158	-pipe \
159	-fPIC \
160	-Wno-format \
161	-EL \
162	-mhard-float \
163	-ffunction-sections \
164	-funwind-tables \
165	-g \
166	-fstack-protector \
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	-fomit-frame-pointer \
184	-funwind-tables
185
186MY_DEFS_Release := \
187	'-DV8_DEPRECATION_WARNINGS' \
188	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
189	'-D_FILE_OFFSET_BITS=64' \
190	'-DNO_TCMALLOC' \
191	'-DDISABLE_NACL' \
192	'-DCHROMIUM_BUILD' \
193	'-DUSE_LIBJPEG_TURBO=1' \
194	'-DENABLE_WEBRTC=1' \
195	'-DUSE_PROPRIETARY_CODECS' \
196	'-DENABLE_CONFIGURATION_POLICY' \
197	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
198	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
199	'-DENABLE_EGLIMAGE=1' \
200	'-DCLD_VERSION=1' \
201	'-DENABLE_PRINTING=1' \
202	'-DENABLE_MANAGED_USERS=1' \
203	'-DVIDEO_HOLE=1' \
204	'-DPROTOBUF_USE_DLLS' \
205	'-DGOOGLE_PROTOBUF_NO_RTTI' \
206	'-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \
207	'-DUSE_OPENSSL=1' \
208	'-DUSE_OPENSSL_CERTS=1' \
209	'-DANDROID' \
210	'-D__GNU_SOURCE=1' \
211	'-DUSE_STLPORT=1' \
212	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
213	'-DCHROME_BUILD_ID=""' \
214	'-DNDEBUG' \
215	'-DNVALGRIND' \
216	'-DDYNAMIC_ANNOTATIONS_ENABLED=0'
217
218
219# Include paths placed before CFLAGS/CPPFLAGS
220LOCAL_C_INCLUDES_Release := \
221	$(gyp_shared_intermediate_dir)/protoc_out \
222	$(LOCAL_PATH) \
223	$(LOCAL_PATH)/third_party/protobuf \
224	$(LOCAL_PATH)/third_party/protobuf/src \
225	$(PWD)/frameworks/wilhelm/include \
226	$(PWD)/bionic \
227	$(PWD)/external/stlport/stlport
228
229
230# Flags passed to only C++ (and not C) files.
231LOCAL_CPPFLAGS_Release := \
232	-fno-rtti \
233	-fno-threadsafe-statics \
234	-fvisibility-inlines-hidden \
235	-Wno-deprecated \
236	-Wno-uninitialized \
237	-Wno-non-virtual-dtor \
238	-Wno-sign-promo \
239	-Wno-non-virtual-dtor
240
241
242LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
243LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
244LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
245LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
246### Rules for final target.
247
248LOCAL_LDFLAGS_Debug := \
249	-Wl,-z,now \
250	-Wl,-z,relro \
251	-Wl,--fatal-warnings \
252	-Wl,-z,noexecstack \
253	-fPIC \
254	-EL \
255	-Wl,--no-keep-memory \
256	-nostdlib \
257	-Wl,--no-undefined \
258	-Wl,--exclude-libs=ALL \
259	-Wl,--warn-shared-textrel \
260	-Wl,-O1 \
261	-Wl,--as-needed
262
263
264LOCAL_LDFLAGS_Release := \
265	-Wl,-z,now \
266	-Wl,-z,relro \
267	-Wl,--fatal-warnings \
268	-Wl,-z,noexecstack \
269	-fPIC \
270	-EL \
271	-Wl,--no-keep-memory \
272	-nostdlib \
273	-Wl,--no-undefined \
274	-Wl,--exclude-libs=ALL \
275	-Wl,-O1 \
276	-Wl,--as-needed \
277	-Wl,--gc-sections \
278	-Wl,--warn-shared-textrel
279
280
281LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
282
283LOCAL_STATIC_LIBRARIES :=
284
285# Enable grouping to fix circular references
286LOCAL_GROUP_STATIC_LIBRARIES := true
287
288LOCAL_SHARED_LIBRARIES := \
289	libstlport \
290	libdl
291
292# Add target alias to "gyp_all_modules" target.
293.PHONY: gyp_all_modules
294gyp_all_modules: content_browser_speech_proto_speech_proto_gyp
295
296# Alias gyp target name.
297.PHONY: speech_proto
298speech_proto: content_browser_speech_proto_speech_proto_gyp
299
300include $(BUILD_STATIC_LIBRARY)
301