speech_proto.target.darwin-x86_64.mk revision 1320f92c476a1ad9d19dba2a48c72b75566198e9
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	-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	-m64 \
66	-march=x86-64 \
67	-ffunction-sections \
68	-funwind-tables \
69	-g \
70	-fstack-protector \
71	-fno-short-enums \
72	-finline-limit=64 \
73	-Wa,--noexecstack \
74	-U_FORTIFY_SOURCE \
75	-Wno-extra \
76	-Wno-ignored-qualifiers \
77	-Wno-type-limits \
78	-Wno-unused-but-set-variable \
79	-Wno-address \
80	-Wno-format-security \
81	-Wno-return-type \
82	-Wno-sequence-point \
83	-Os \
84	-g \
85	-gdwarf-4 \
86	-fdata-sections \
87	-ffunction-sections \
88	-fomit-frame-pointer \
89	-funwind-tables
90
91MY_DEFS_Debug := \
92	'-DV8_DEPRECATION_WARNINGS' \
93	'-D_FILE_OFFSET_BITS=64' \
94	'-DNO_TCMALLOC' \
95	'-DDISABLE_NACL' \
96	'-DCHROMIUM_BUILD' \
97	'-DUSE_LIBJPEG_TURBO=1' \
98	'-DENABLE_WEBRTC=1' \
99	'-DUSE_PROPRIETARY_CODECS' \
100	'-DENABLE_BROWSER_CDMS' \
101	'-DENABLE_CONFIGURATION_POLICY' \
102	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
103	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
104	'-DENABLE_EGLIMAGE=1' \
105	'-DCLD_VERSION=1' \
106	'-DENABLE_PRINTING=1' \
107	'-DENABLE_MANAGED_USERS=1' \
108	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
109	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
110	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
111	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
112	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
113	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
114	'-DVIDEO_HOLE=1' \
115	'-DENABLE_LOAD_COMPLETION_HACKS=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-exceptions \
146	-fno-rtti \
147	-fno-threadsafe-statics \
148	-fvisibility-inlines-hidden \
149	-Wno-deprecated \
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	-fno-strict-aliasing \
163	-Wno-unused-parameter \
164	-Wno-missing-field-initializers \
165	-fvisibility=hidden \
166	-pipe \
167	-fPIC \
168	-Wno-unused-local-typedefs \
169	-Wno-format \
170	-m64 \
171	-march=x86-64 \
172	-ffunction-sections \
173	-funwind-tables \
174	-g \
175	-fstack-protector \
176	-fno-short-enums \
177	-finline-limit=64 \
178	-Wa,--noexecstack \
179	-U_FORTIFY_SOURCE \
180	-Wno-extra \
181	-Wno-ignored-qualifiers \
182	-Wno-type-limits \
183	-Wno-unused-but-set-variable \
184	-Wno-address \
185	-Wno-format-security \
186	-Wno-return-type \
187	-Wno-sequence-point \
188	-Os \
189	-fno-ident \
190	-fdata-sections \
191	-ffunction-sections \
192	-fomit-frame-pointer \
193	-funwind-tables
194
195MY_DEFS_Release := \
196	'-DV8_DEPRECATION_WARNINGS' \
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="https://proxy-dev.googlezip.net:443/"' \
214	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
215	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
216	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
217	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
218	'-DVIDEO_HOLE=1' \
219	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
220	'-DPROTOBUF_USE_DLLS' \
221	'-DGOOGLE_PROTOBUF_NO_RTTI' \
222	'-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \
223	'-DUSE_OPENSSL=1' \
224	'-DUSE_OPENSSL_CERTS=1' \
225	'-DANDROID' \
226	'-D__GNU_SOURCE=1' \
227	'-DUSE_STLPORT=1' \
228	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
229	'-DCHROME_BUILD_ID=""' \
230	'-DNDEBUG' \
231	'-DNVALGRIND' \
232	'-DDYNAMIC_ANNOTATIONS_ENABLED=0'
233
234
235# Include paths placed before CFLAGS/CPPFLAGS
236LOCAL_C_INCLUDES_Release := \
237	$(gyp_shared_intermediate_dir) \
238	$(gyp_shared_intermediate_dir)/protoc_out \
239	$(LOCAL_PATH) \
240	$(LOCAL_PATH)/third_party/protobuf \
241	$(LOCAL_PATH)/third_party/protobuf/src \
242	$(PWD)/frameworks/wilhelm/include \
243	$(PWD)/bionic \
244	$(PWD)/external/stlport/stlport
245
246
247# Flags passed to only C++ (and not C) files.
248LOCAL_CPPFLAGS_Release := \
249	-fno-exceptions \
250	-fno-rtti \
251	-fno-threadsafe-statics \
252	-fvisibility-inlines-hidden \
253	-Wno-deprecated \
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