• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# This file is generated by gyp; do not edit.
2
3include $(CLEAR_VARS)
4
5LOCAL_MODULE_CLASS := GYP
6LOCAL_MODULE := content_speech_recognition_error_java_gyp
7LOCAL_MODULE_STEM := speech_recognition_error_java
8LOCAL_MODULE_SUFFIX := .stamp
9LOCAL_MODULE_TAGS := optional
10LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH)
11gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX))
12gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX))
13
14# Make sure our deps are built first.
15GYP_TARGET_DEPENDENCIES :=
16
17
18### Generated for rule "content_content_gyp_speech_recognition_error_java_target_generate_java_constants":
19# "{'inputs': ['../build/android/gyp/util/build_utils.py', '../build/android/gyp/gcc_preprocess.py', 'public/common/speech_recognition_error_list.h'], 'extension': 'template', 'outputs': ['$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/%(INPUT_ROOT)s.java'], 'variables': {'output_path': '$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/%(INPUT_ROOT)s.java'}, 'rule_name': 'generate_java_constants', 'rule_sources': ['public/android/java/src/org/chromium/content/browser/SpeechRecognitionError.template'], 'action': ['python', '../build/android/gyp/gcc_preprocess.py', '--include-path=..', '--output=$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/%(INPUT_ROOT)s.java', '--template=$(RULE_SOURCES)'], 'message': 'Generating Java from cpp template $(RULE_SOURCES)'}":
20$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/SpeechRecognitionError.java: gyp_local_path := $(LOCAL_PATH)
21$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/SpeechRecognitionError.java: gyp_var_prefix := $(GYP_VAR_PREFIX)
22$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/SpeechRecognitionError.java: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
23$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/SpeechRecognitionError.java: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
24$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/SpeechRecognitionError.java: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
25$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/SpeechRecognitionError.java: $(LOCAL_PATH)/content/public/android/java/src/org/chromium/content/browser/SpeechRecognitionError.template $(LOCAL_PATH)/build/android/gyp/util/build_utils.py $(LOCAL_PATH)/build/android/gyp/gcc_preprocess.py $(LOCAL_PATH)/content/public/common/speech_recognition_error_list.h $(GYP_TARGET_DEPENDENCIES)
26	mkdir -p $(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser; cd $(gyp_local_path)/content; python ../build/android/gyp/gcc_preprocess.py "--include-path=.." "--output=$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/SpeechRecognitionError.java" "--template=public/android/java/src/org/chromium/content/browser/SpeechRecognitionError.template"
27
28
29
30GYP_GENERATED_OUTPUTS := \
31	$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/SpeechRecognitionError.java
32
33# Make sure our deps and generated files are built first.
34LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
35
36LOCAL_GENERATED_SOURCES :=
37
38GYP_COPIED_SOURCE_ORIGIN_DIRS :=
39
40LOCAL_SRC_FILES :=
41
42
43# Flags passed to both C and C++ files.
44MY_CFLAGS_Debug := \
45	-fstack-protector \
46	--param=ssp-buffer-size=4 \
47	 \
48	-fno-exceptions \
49	-fno-strict-aliasing \
50	-Wall \
51	-Wno-unused-parameter \
52	-Wno-missing-field-initializers \
53	-fvisibility=hidden \
54	-pipe \
55	-fPIC \
56	-Wno-unused-local-typedefs \
57	-EL \
58	-mhard-float \
59	-ffunction-sections \
60	-funwind-tables \
61	-g \
62	-fstack-protector \
63	-fno-short-enums \
64	-finline-limit=64 \
65	-Wa,--noexecstack \
66	-U_FORTIFY_SOURCE \
67	-Wno-extra \
68	-Wno-ignored-qualifiers \
69	-Wno-type-limits \
70	-Wno-unused-but-set-variable \
71	-Os \
72	-g \
73	-fdata-sections \
74	-ffunction-sections \
75	-fomit-frame-pointer \
76	-funwind-tables
77
78MY_DEFS_Debug := \
79	'-DCONTENT_IMPLEMENTATION' \
80	'-DV8_DEPRECATION_WARNINGS' \
81	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
82	'-D_FILE_OFFSET_BITS=64' \
83	'-DNO_TCMALLOC' \
84	'-DDISABLE_NACL' \
85	'-DCHROMIUM_BUILD' \
86	'-DUSE_LIBJPEG_TURBO=1' \
87	'-DENABLE_WEBRTC=1' \
88	'-DUSE_PROPRIETARY_CODECS' \
89	'-DENABLE_BROWSER_CDMS' \
90	'-DENABLE_CONFIGURATION_POLICY' \
91	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
92	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
93	'-DENABLE_EGLIMAGE=1' \
94	'-DCLD_VERSION=1' \
95	'-DENABLE_PRINTING=1' \
96	'-DENABLE_MANAGED_USERS=1' \
97	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
98	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
99	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
100	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
101	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
102	'-DVIDEO_HOLE=1' \
103	'-DUSE_OPENSSL=1' \
104	'-DUSE_OPENSSL_CERTS=1' \
105	'-D__STDC_CONSTANT_MACROS' \
106	'-D__STDC_FORMAT_MACROS' \
107	'-DANDROID' \
108	'-D__GNU_SOURCE=1' \
109	'-DUSE_STLPORT=1' \
110	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
111	'-DCHROME_BUILD_ID=""' \
112	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
113	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
114	'-D_DEBUG'
115
116
117# Include paths placed before CFLAGS/CPPFLAGS
118LOCAL_C_INCLUDES_Debug := \
119	$(gyp_shared_intermediate_dir) \
120	$(PWD)/frameworks/wilhelm/include \
121	$(PWD)/bionic \
122	$(PWD)/external/stlport/stlport
123
124
125# Flags passed to only C++ (and not C) files.
126LOCAL_CPPFLAGS_Debug := \
127	-fno-rtti \
128	-fno-threadsafe-statics \
129	-fvisibility-inlines-hidden \
130	-Wsign-compare \
131	-Wno-uninitialized \
132	-Wno-non-virtual-dtor \
133	-Wno-sign-promo
134
135
136LOCAL_FDO_SUPPORT_Debug := false
137
138# Flags passed to both C and C++ files.
139MY_CFLAGS_Release := \
140	-fstack-protector \
141	--param=ssp-buffer-size=4 \
142	 \
143	-fno-exceptions \
144	-fno-strict-aliasing \
145	-Wall \
146	-Wno-unused-parameter \
147	-Wno-missing-field-initializers \
148	-fvisibility=hidden \
149	-pipe \
150	-fPIC \
151	-Wno-unused-local-typedefs \
152	-EL \
153	-mhard-float \
154	-ffunction-sections \
155	-funwind-tables \
156	-g \
157	-fstack-protector \
158	-fno-short-enums \
159	-finline-limit=64 \
160	-Wa,--noexecstack \
161	-U_FORTIFY_SOURCE \
162	-Wno-extra \
163	-Wno-ignored-qualifiers \
164	-Wno-type-limits \
165	-Wno-unused-but-set-variable \
166	-Os \
167	-fno-ident \
168	-fdata-sections \
169	-ffunction-sections \
170	-fomit-frame-pointer \
171	-funwind-tables
172
173MY_DEFS_Release := \
174	'-DCONTENT_IMPLEMENTATION' \
175	'-DV8_DEPRECATION_WARNINGS' \
176	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
177	'-D_FILE_OFFSET_BITS=64' \
178	'-DNO_TCMALLOC' \
179	'-DDISABLE_NACL' \
180	'-DCHROMIUM_BUILD' \
181	'-DUSE_LIBJPEG_TURBO=1' \
182	'-DENABLE_WEBRTC=1' \
183	'-DUSE_PROPRIETARY_CODECS' \
184	'-DENABLE_BROWSER_CDMS' \
185	'-DENABLE_CONFIGURATION_POLICY' \
186	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
187	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
188	'-DENABLE_EGLIMAGE=1' \
189	'-DCLD_VERSION=1' \
190	'-DENABLE_PRINTING=1' \
191	'-DENABLE_MANAGED_USERS=1' \
192	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
193	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
194	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
195	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
196	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
197	'-DVIDEO_HOLE=1' \
198	'-DUSE_OPENSSL=1' \
199	'-DUSE_OPENSSL_CERTS=1' \
200	'-D__STDC_CONSTANT_MACROS' \
201	'-D__STDC_FORMAT_MACROS' \
202	'-DANDROID' \
203	'-D__GNU_SOURCE=1' \
204	'-DUSE_STLPORT=1' \
205	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
206	'-DCHROME_BUILD_ID=""' \
207	'-DNDEBUG' \
208	'-DNVALGRIND' \
209	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
210	'-D_FORTIFY_SOURCE=2'
211
212
213# Include paths placed before CFLAGS/CPPFLAGS
214LOCAL_C_INCLUDES_Release := \
215	$(gyp_shared_intermediate_dir) \
216	$(PWD)/frameworks/wilhelm/include \
217	$(PWD)/bionic \
218	$(PWD)/external/stlport/stlport
219
220
221# Flags passed to only C++ (and not C) files.
222LOCAL_CPPFLAGS_Release := \
223	-fno-rtti \
224	-fno-threadsafe-statics \
225	-fvisibility-inlines-hidden \
226	-Wsign-compare \
227	-Wno-uninitialized \
228	-Wno-non-virtual-dtor \
229	-Wno-sign-promo
230
231
232LOCAL_FDO_SUPPORT_Release := false
233
234LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
235LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION))
236LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
237LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
238LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
239### Rules for final target.
240# Add target alias to "gyp_all_modules" target.
241.PHONY: gyp_all_modules
242gyp_all_modules: content_speech_recognition_error_java_gyp
243
244# Alias gyp target name.
245.PHONY: speech_recognition_error_java
246speech_recognition_error_java: content_speech_recognition_error_java_gyp
247
248LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp
249LOCAL_UNINSTALLABLE_MODULE := true
250LOCAL_2ND_ARCH_VAR_PREFIX := $(GYP_VAR_PREFIX)
251
252include $(BUILD_SYSTEM)/base_rules.mk
253
254$(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES)
255	$(hide) echo "Gyp timestamp: $@"
256	$(hide) mkdir -p $(dir $@)
257	$(hide) touch $@
258
259LOCAL_2ND_ARCH_VAR_PREFIX :=
260