• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
9gyp_intermediate_dir := $(call local-intermediates-dir)
10gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared)
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'], 'msvs_cygwin_shell': '0', '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)', 'process_outputs_as_sources': '1'}":
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_intermediate_dir := $(abspath $(gyp_intermediate_dir))
21$(gyp_shared_intermediate_dir)/pyproto/content/browser/speech/proto/google_streaming_api_pb2.py: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
22$(gyp_shared_intermediate_dir)/pyproto/content/browser/speech/proto/google_streaming_api_pb2.py: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
23$(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)
24	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"
25
26$(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 ;
27$(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 ;
28.PHONY: content_browser_speech_proto_speech_proto_gyp_rule_trigger
29content_browser_speech_proto_speech_proto_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/pyproto/content/browser/speech/proto/google_streaming_api_pb2.py
30
31### Finished generating for all rules
32
33GYP_GENERATED_OUTPUTS := \
34	$(gyp_shared_intermediate_dir)/pyproto/content/browser/speech/proto/google_streaming_api_pb2.py \
35	$(gyp_shared_intermediate_dir)/protoc_out/content/browser/speech/proto/google_streaming_api.pb.cc \
36	$(gyp_shared_intermediate_dir)/protoc_out/content/browser/speech/proto/google_streaming_api.pb.h
37
38# Make sure our deps and generated files are built first.
39LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
40
41LOCAL_CPP_EXTENSION := .cc
42$(gyp_intermediate_dir)/google_streaming_api.pb.cc: $(gyp_shared_intermediate_dir)/protoc_out/content/browser/speech/proto/google_streaming_api.pb.cc
43	mkdir -p $(@D); cp $< $@
44LOCAL_GENERATED_SOURCES := \
45	$(gyp_intermediate_dir)/google_streaming_api.pb.cc \
46	$(gyp_shared_intermediate_dir)/pyproto/content/browser/speech/proto/google_streaming_api_pb2.py \
47	$(gyp_shared_intermediate_dir)/protoc_out/content/browser/speech/proto/google_streaming_api.pb.h \
48	content_browser_speech_proto_speech_proto_gyp_rule_trigger
49
50GYP_COPIED_SOURCE_ORIGIN_DIRS := \
51	$(gyp_shared_intermediate_dir)/protoc_out/content/browser/speech/proto
52
53LOCAL_SRC_FILES :=
54
55
56# Flags passed to both C and C++ files.
57MY_CFLAGS_Debug := \
58	--param=ssp-buffer-size=4 \
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	-m32 \
68	-mmmx \
69	-march=pentium4 \
70	-msse2 \
71	-mfpmath=sse \
72	-fuse-ld=gold \
73	-ffunction-sections \
74	-funwind-tables \
75	-g \
76	-fno-short-enums \
77	-finline-limit=64 \
78	-Wa,--noexecstack \
79	-U_FORTIFY_SOURCE \
80	-Wno-extra \
81	-Wno-ignored-qualifiers \
82	-Wno-type-limits \
83	-fno-stack-protector \
84	-Wno-address \
85	-Wno-format-security \
86	-Wno-return-type \
87	-Wno-sequence-point \
88	-Os \
89	-g \
90	-fomit-frame-pointer \
91	-fdata-sections \
92	-ffunction-sections
93
94MY_DEFS_Debug := \
95	'-DV8_DEPRECATION_WARNINGS' \
96	'-D_FILE_OFFSET_BITS=64' \
97	'-DNO_TCMALLOC' \
98	'-DDISABLE_NACL' \
99	'-DCHROMIUM_BUILD' \
100	'-DUSE_LIBJPEG_TURBO=1' \
101	'-DUSE_PROPRIETARY_CODECS' \
102	'-DENABLE_CONFIGURATION_POLICY' \
103	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
104	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
105	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
106	'-DUSE_OPENSSL=1' \
107	'-DENABLE_EGLIMAGE=1' \
108	'-DCLD_VERSION=1' \
109	'-DENABLE_PRINTING=1' \
110	'-DENABLE_MANAGED_USERS=1' \
111	'-DPROTOBUF_USE_DLLS' \
112	'-DGOOGLE_PROTOBUF_NO_RTTI' \
113	'-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \
114	'-DANDROID' \
115	'-D__GNU_SOURCE=1' \
116	'-DUSE_STLPORT=1' \
117	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
118	'-DCHROME_BUILD_ID=""' \
119	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
120	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
121	'-D_DEBUG'
122
123
124# Include paths placed before CFLAGS/CPPFLAGS
125LOCAL_C_INCLUDES_Debug := \
126	$(gyp_shared_intermediate_dir)/protoc_out \
127	$(LOCAL_PATH) \
128	$(LOCAL_PATH)/third_party/protobuf \
129	$(LOCAL_PATH)/third_party/protobuf/src \
130	$(PWD)/frameworks/wilhelm/include \
131	$(PWD)/bionic \
132	$(PWD)/external/stlport/stlport
133
134
135# Flags passed to only C++ (and not C) files.
136LOCAL_CPPFLAGS_Debug := \
137	-fno-rtti \
138	-fno-threadsafe-statics \
139	-fvisibility-inlines-hidden \
140	-Wno-deprecated \
141	-Wno-error=c++0x-compat \
142	-Wno-non-virtual-dtor \
143	-Wno-sign-promo \
144	-Wno-non-virtual-dtor
145
146
147# Flags passed to both C and C++ files.
148MY_CFLAGS_Release := \
149	--param=ssp-buffer-size=4 \
150	-fno-exceptions \
151	-fno-strict-aliasing \
152	-Wno-unused-parameter \
153	-Wno-missing-field-initializers \
154	-fvisibility=hidden \
155	-pipe \
156	-fPIC \
157	-Wno-format \
158	-m32 \
159	-mmmx \
160	-march=pentium4 \
161	-msse2 \
162	-mfpmath=sse \
163	-fuse-ld=gold \
164	-ffunction-sections \
165	-funwind-tables \
166	-g \
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	-fno-stack-protector \
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	-fno-unwind-tables \
185	-fno-asynchronous-unwind-tables
186
187MY_DEFS_Release := \
188	'-DV8_DEPRECATION_WARNINGS' \
189	'-D_FILE_OFFSET_BITS=64' \
190	'-DNO_TCMALLOC' \
191	'-DDISABLE_NACL' \
192	'-DCHROMIUM_BUILD' \
193	'-DUSE_LIBJPEG_TURBO=1' \
194	'-DUSE_PROPRIETARY_CODECS' \
195	'-DENABLE_CONFIGURATION_POLICY' \
196	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
197	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
198	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
199	'-DUSE_OPENSSL=1' \
200	'-DENABLE_EGLIMAGE=1' \
201	'-DCLD_VERSION=1' \
202	'-DENABLE_PRINTING=1' \
203	'-DENABLE_MANAGED_USERS=1' \
204	'-DPROTOBUF_USE_DLLS' \
205	'-DGOOGLE_PROTOBUF_NO_RTTI' \
206	'-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \
207	'-DANDROID' \
208	'-D__GNU_SOURCE=1' \
209	'-DUSE_STLPORT=1' \
210	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
211	'-DCHROME_BUILD_ID=""' \
212	'-DNDEBUG' \
213	'-DNVALGRIND' \
214	'-DDYNAMIC_ANNOTATIONS_ENABLED=0'
215
216
217# Include paths placed before CFLAGS/CPPFLAGS
218LOCAL_C_INCLUDES_Release := \
219	$(gyp_shared_intermediate_dir)/protoc_out \
220	$(LOCAL_PATH) \
221	$(LOCAL_PATH)/third_party/protobuf \
222	$(LOCAL_PATH)/third_party/protobuf/src \
223	$(PWD)/frameworks/wilhelm/include \
224	$(PWD)/bionic \
225	$(PWD)/external/stlport/stlport
226
227
228# Flags passed to only C++ (and not C) files.
229LOCAL_CPPFLAGS_Release := \
230	-fno-rtti \
231	-fno-threadsafe-statics \
232	-fvisibility-inlines-hidden \
233	-Wno-deprecated \
234	-Wno-error=c++0x-compat \
235	-Wno-non-virtual-dtor \
236	-Wno-sign-promo \
237	-Wno-non-virtual-dtor
238
239
240LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
241LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
242LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
243### Rules for final target.
244
245LOCAL_LDFLAGS_Debug := \
246	-Wl,-z,now \
247	-Wl,-z,relro \
248	-Wl,-z,noexecstack \
249	-fPIC \
250	-m32 \
251	-fuse-ld=gold \
252	-nostdlib \
253	-Wl,--no-undefined \
254	-Wl,--exclude-libs=ALL \
255	-Wl,--fatal-warnings \
256	-Wl,--gc-sections \
257	-Wl,--warn-shared-textrel \
258	-Wl,-O1 \
259	-Wl,--as-needed
260
261
262LOCAL_LDFLAGS_Release := \
263	-Wl,-z,now \
264	-Wl,-z,relro \
265	-Wl,-z,noexecstack \
266	-fPIC \
267	-m32 \
268	-fuse-ld=gold \
269	-nostdlib \
270	-Wl,--no-undefined \
271	-Wl,--exclude-libs=ALL \
272	-Wl,-O1 \
273	-Wl,--as-needed \
274	-Wl,--gc-sections \
275	-Wl,--fatal-warnings \
276	-Wl,--warn-shared-textrel
277
278
279LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
280
281LOCAL_STATIC_LIBRARIES :=
282
283# Enable grouping to fix circular references
284LOCAL_GROUP_STATIC_LIBRARIES := true
285
286LOCAL_SHARED_LIBRARIES := \
287	libstlport \
288	libdl
289
290# Add target alias to "gyp_all_modules" target.
291.PHONY: gyp_all_modules
292gyp_all_modules: content_browser_speech_proto_speech_proto_gyp
293
294# Alias gyp target name.
295.PHONY: speech_proto
296speech_proto: content_browser_speech_proto_speech_proto_gyp
297
298include $(BUILD_STATIC_LIBRARY)
299