• 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 := net_net_jni_headers_gyp
7LOCAL_MODULE_STEM := net_jni_headers
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	$(call intermediates-dir-for,GYP,build_android_android_exports_gyp,,,$(GYP_VAR_PREFIX))/android_exports.stamp
17
18
19### Generated for rule "net_net_gyp_net_jni_headers_target_generate_jni_headers":
20# "{'inputs': ['../base/android/jni_generator/jni_generator.py', '../android_webview/build/jarjar-rules.txt'], 'process_outputs_as_sources': '1', 'extension': 'java', 'outputs': ['$(gyp_shared_intermediate_dir)/net/jni/%(INPUT_ROOT)s_jni.h'], 'rule_name': 'generate_jni_headers', 'rule_sources': ['android/java/src/org/chromium/net/AndroidCertVerifyResult.java', 'android/java/src/org/chromium/net/AndroidKeyStore.java', 'android/java/src/org/chromium/net/AndroidNetworkLibrary.java', 'android/java/src/org/chromium/net/AndroidPrivateKey.java', 'android/java/src/org/chromium/net/GURLUtils.java', 'android/java/src/org/chromium/net/NetworkChangeNotifier.java', 'android/java/src/org/chromium/net/ProxyChangeListener.java', 'android/java/src/org/chromium/net/X509Util.java'], 'action': ['../base/android/jni_generator/jni_generator.py', '--input_file', '$(RULE_SOURCES)', '--output_dir', '$(gyp_shared_intermediate_dir)/net/jni', '--includes', 'base/android/jni_generator/jni_generator_helper.h', '--optimize_generation', '0', '--jarjar', '../android_webview/build/jarjar-rules.txt', '--ptr_type', 'long', '--native_exports'], 'message': 'Generating JNI bindings from $(RULE_SOURCES)'}":
21$(gyp_shared_intermediate_dir)/net/jni/AndroidCertVerifyResult_jni.h: gyp_local_path := $(LOCAL_PATH)
22$(gyp_shared_intermediate_dir)/net/jni/AndroidCertVerifyResult_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX)
23$(gyp_shared_intermediate_dir)/net/jni/AndroidCertVerifyResult_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
24$(gyp_shared_intermediate_dir)/net/jni/AndroidCertVerifyResult_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
25$(gyp_shared_intermediate_dir)/net/jni/AndroidCertVerifyResult_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
26$(gyp_shared_intermediate_dir)/net/jni/AndroidCertVerifyResult_jni.h: $(LOCAL_PATH)/net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
27	mkdir -p $(gyp_shared_intermediate_dir)/net/jni; cd $(gyp_local_path)/net; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/net/AndroidCertVerifyResult.java --output_dir "$(gyp_shared_intermediate_dir)/net/jni" --includes base/android/jni_generator/jni_generator_helper.h --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt --ptr_type long --native_exports
28
29
30$(gyp_shared_intermediate_dir)/net/jni/AndroidKeyStore_jni.h: gyp_local_path := $(LOCAL_PATH)
31$(gyp_shared_intermediate_dir)/net/jni/AndroidKeyStore_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX)
32$(gyp_shared_intermediate_dir)/net/jni/AndroidKeyStore_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
33$(gyp_shared_intermediate_dir)/net/jni/AndroidKeyStore_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
34$(gyp_shared_intermediate_dir)/net/jni/AndroidKeyStore_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
35$(gyp_shared_intermediate_dir)/net/jni/AndroidKeyStore_jni.h: $(LOCAL_PATH)/net/android/java/src/org/chromium/net/AndroidKeyStore.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
36	mkdir -p $(gyp_shared_intermediate_dir)/net/jni; cd $(gyp_local_path)/net; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/net/AndroidKeyStore.java --output_dir "$(gyp_shared_intermediate_dir)/net/jni" --includes base/android/jni_generator/jni_generator_helper.h --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt --ptr_type long --native_exports
37
38
39$(gyp_shared_intermediate_dir)/net/jni/AndroidNetworkLibrary_jni.h: gyp_local_path := $(LOCAL_PATH)
40$(gyp_shared_intermediate_dir)/net/jni/AndroidNetworkLibrary_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX)
41$(gyp_shared_intermediate_dir)/net/jni/AndroidNetworkLibrary_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
42$(gyp_shared_intermediate_dir)/net/jni/AndroidNetworkLibrary_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
43$(gyp_shared_intermediate_dir)/net/jni/AndroidNetworkLibrary_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
44$(gyp_shared_intermediate_dir)/net/jni/AndroidNetworkLibrary_jni.h: $(LOCAL_PATH)/net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
45	mkdir -p $(gyp_shared_intermediate_dir)/net/jni; cd $(gyp_local_path)/net; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/net/AndroidNetworkLibrary.java --output_dir "$(gyp_shared_intermediate_dir)/net/jni" --includes base/android/jni_generator/jni_generator_helper.h --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt --ptr_type long --native_exports
46
47
48$(gyp_shared_intermediate_dir)/net/jni/AndroidPrivateKey_jni.h: gyp_local_path := $(LOCAL_PATH)
49$(gyp_shared_intermediate_dir)/net/jni/AndroidPrivateKey_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX)
50$(gyp_shared_intermediate_dir)/net/jni/AndroidPrivateKey_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
51$(gyp_shared_intermediate_dir)/net/jni/AndroidPrivateKey_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
52$(gyp_shared_intermediate_dir)/net/jni/AndroidPrivateKey_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
53$(gyp_shared_intermediate_dir)/net/jni/AndroidPrivateKey_jni.h: $(LOCAL_PATH)/net/android/java/src/org/chromium/net/AndroidPrivateKey.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
54	mkdir -p $(gyp_shared_intermediate_dir)/net/jni; cd $(gyp_local_path)/net; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/net/AndroidPrivateKey.java --output_dir "$(gyp_shared_intermediate_dir)/net/jni" --includes base/android/jni_generator/jni_generator_helper.h --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt --ptr_type long --native_exports
55
56
57$(gyp_shared_intermediate_dir)/net/jni/GURLUtils_jni.h: gyp_local_path := $(LOCAL_PATH)
58$(gyp_shared_intermediate_dir)/net/jni/GURLUtils_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX)
59$(gyp_shared_intermediate_dir)/net/jni/GURLUtils_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
60$(gyp_shared_intermediate_dir)/net/jni/GURLUtils_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
61$(gyp_shared_intermediate_dir)/net/jni/GURLUtils_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
62$(gyp_shared_intermediate_dir)/net/jni/GURLUtils_jni.h: $(LOCAL_PATH)/net/android/java/src/org/chromium/net/GURLUtils.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
63	mkdir -p $(gyp_shared_intermediate_dir)/net/jni; cd $(gyp_local_path)/net; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/net/GURLUtils.java --output_dir "$(gyp_shared_intermediate_dir)/net/jni" --includes base/android/jni_generator/jni_generator_helper.h --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt --ptr_type long --native_exports
64
65
66$(gyp_shared_intermediate_dir)/net/jni/NetworkChangeNotifier_jni.h: gyp_local_path := $(LOCAL_PATH)
67$(gyp_shared_intermediate_dir)/net/jni/NetworkChangeNotifier_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX)
68$(gyp_shared_intermediate_dir)/net/jni/NetworkChangeNotifier_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
69$(gyp_shared_intermediate_dir)/net/jni/NetworkChangeNotifier_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
70$(gyp_shared_intermediate_dir)/net/jni/NetworkChangeNotifier_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
71$(gyp_shared_intermediate_dir)/net/jni/NetworkChangeNotifier_jni.h: $(LOCAL_PATH)/net/android/java/src/org/chromium/net/NetworkChangeNotifier.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
72	mkdir -p $(gyp_shared_intermediate_dir)/net/jni; cd $(gyp_local_path)/net; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/net/NetworkChangeNotifier.java --output_dir "$(gyp_shared_intermediate_dir)/net/jni" --includes base/android/jni_generator/jni_generator_helper.h --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt --ptr_type long --native_exports
73
74
75$(gyp_shared_intermediate_dir)/net/jni/ProxyChangeListener_jni.h: gyp_local_path := $(LOCAL_PATH)
76$(gyp_shared_intermediate_dir)/net/jni/ProxyChangeListener_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX)
77$(gyp_shared_intermediate_dir)/net/jni/ProxyChangeListener_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
78$(gyp_shared_intermediate_dir)/net/jni/ProxyChangeListener_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
79$(gyp_shared_intermediate_dir)/net/jni/ProxyChangeListener_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
80$(gyp_shared_intermediate_dir)/net/jni/ProxyChangeListener_jni.h: $(LOCAL_PATH)/net/android/java/src/org/chromium/net/ProxyChangeListener.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
81	mkdir -p $(gyp_shared_intermediate_dir)/net/jni; cd $(gyp_local_path)/net; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/net/ProxyChangeListener.java --output_dir "$(gyp_shared_intermediate_dir)/net/jni" --includes base/android/jni_generator/jni_generator_helper.h --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt --ptr_type long --native_exports
82
83
84$(gyp_shared_intermediate_dir)/net/jni/X509Util_jni.h: gyp_local_path := $(LOCAL_PATH)
85$(gyp_shared_intermediate_dir)/net/jni/X509Util_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX)
86$(gyp_shared_intermediate_dir)/net/jni/X509Util_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
87$(gyp_shared_intermediate_dir)/net/jni/X509Util_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
88$(gyp_shared_intermediate_dir)/net/jni/X509Util_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
89$(gyp_shared_intermediate_dir)/net/jni/X509Util_jni.h: $(LOCAL_PATH)/net/android/java/src/org/chromium/net/X509Util.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
90	mkdir -p $(gyp_shared_intermediate_dir)/net/jni; cd $(gyp_local_path)/net; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/net/X509Util.java --output_dir "$(gyp_shared_intermediate_dir)/net/jni" --includes base/android/jni_generator/jni_generator_helper.h --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt --ptr_type long --native_exports
91
92
93
94GYP_GENERATED_OUTPUTS := \
95	$(gyp_shared_intermediate_dir)/net/jni/AndroidCertVerifyResult_jni.h \
96	$(gyp_shared_intermediate_dir)/net/jni/AndroidKeyStore_jni.h \
97	$(gyp_shared_intermediate_dir)/net/jni/AndroidNetworkLibrary_jni.h \
98	$(gyp_shared_intermediate_dir)/net/jni/AndroidPrivateKey_jni.h \
99	$(gyp_shared_intermediate_dir)/net/jni/GURLUtils_jni.h \
100	$(gyp_shared_intermediate_dir)/net/jni/NetworkChangeNotifier_jni.h \
101	$(gyp_shared_intermediate_dir)/net/jni/ProxyChangeListener_jni.h \
102	$(gyp_shared_intermediate_dir)/net/jni/X509Util_jni.h
103
104# Make sure our deps and generated files are built first.
105LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
106
107LOCAL_GENERATED_SOURCES := \
108	$(gyp_shared_intermediate_dir)/net/jni/AndroidCertVerifyResult_jni.h \
109	$(gyp_shared_intermediate_dir)/net/jni/AndroidKeyStore_jni.h \
110	$(gyp_shared_intermediate_dir)/net/jni/AndroidNetworkLibrary_jni.h \
111	$(gyp_shared_intermediate_dir)/net/jni/AndroidPrivateKey_jni.h \
112	$(gyp_shared_intermediate_dir)/net/jni/GURLUtils_jni.h \
113	$(gyp_shared_intermediate_dir)/net/jni/NetworkChangeNotifier_jni.h \
114	$(gyp_shared_intermediate_dir)/net/jni/ProxyChangeListener_jni.h \
115	$(gyp_shared_intermediate_dir)/net/jni/X509Util_jni.h
116
117GYP_COPIED_SOURCE_ORIGIN_DIRS :=
118
119LOCAL_SRC_FILES :=
120
121
122# Flags passed to both C and C++ files.
123MY_CFLAGS_Debug := \
124	--param=ssp-buffer-size=4 \
125	-Werror \
126	-fno-exceptions \
127	-fno-strict-aliasing \
128	-Wall \
129	-Wno-unused-parameter \
130	-Wno-missing-field-initializers \
131	-fvisibility=hidden \
132	-pipe \
133	-fPIC \
134	-Wno-unused-local-typedefs \
135	-ffunction-sections \
136	-funwind-tables \
137	-g \
138	-fno-short-enums \
139	-finline-limit=64 \
140	-Wa,--noexecstack \
141	-U_FORTIFY_SOURCE \
142	-Wno-extra \
143	-Wno-ignored-qualifiers \
144	-Wno-type-limits \
145	-Wno-unused-but-set-variable \
146	-Os \
147	-g \
148	-fdata-sections \
149	-ffunction-sections \
150	-funwind-tables
151
152MY_DEFS_Debug := \
153	'-DV8_DEPRECATION_WARNINGS' \
154	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
155	'-D_FILE_OFFSET_BITS=64' \
156	'-DNO_TCMALLOC' \
157	'-DDISABLE_NACL' \
158	'-DCHROMIUM_BUILD' \
159	'-DUSE_LIBJPEG_TURBO=1' \
160	'-DENABLE_WEBRTC=1' \
161	'-DUSE_PROPRIETARY_CODECS' \
162	'-DENABLE_BROWSER_CDMS' \
163	'-DENABLE_CONFIGURATION_POLICY' \
164	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
165	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
166	'-DENABLE_EGLIMAGE=1' \
167	'-DCLD_VERSION=1' \
168	'-DENABLE_PRINTING=1' \
169	'-DENABLE_MANAGED_USERS=1' \
170	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
171	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
172	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
173	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
174	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
175	'-DVIDEO_HOLE=1' \
176	'-DUSE_OPENSSL=1' \
177	'-DUSE_OPENSSL_CERTS=1' \
178	'-D__STDC_CONSTANT_MACROS' \
179	'-D__STDC_FORMAT_MACROS' \
180	'-DANDROID' \
181	'-D__GNU_SOURCE=1' \
182	'-DUSE_STLPORT=1' \
183	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
184	'-DCHROME_BUILD_ID=""' \
185	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
186	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
187	'-D_DEBUG'
188
189
190# Include paths placed before CFLAGS/CPPFLAGS
191LOCAL_C_INCLUDES_Debug := \
192	$(gyp_shared_intermediate_dir) \
193	$(PWD)/frameworks/wilhelm/include \
194	$(PWD)/bionic \
195	$(PWD)/external/stlport/stlport
196
197
198# Flags passed to only C++ (and not C) files.
199LOCAL_CPPFLAGS_Debug := \
200	-fno-rtti \
201	-fno-threadsafe-statics \
202	-fvisibility-inlines-hidden \
203	-Wsign-compare \
204	-Wno-non-virtual-dtor \
205	-Wno-sign-promo
206
207
208LOCAL_FDO_SUPPORT_Debug := false
209
210# Flags passed to both C and C++ files.
211MY_CFLAGS_Release := \
212	--param=ssp-buffer-size=4 \
213	-Werror \
214	-fno-exceptions \
215	-fno-strict-aliasing \
216	-Wall \
217	-Wno-unused-parameter \
218	-Wno-missing-field-initializers \
219	-fvisibility=hidden \
220	-pipe \
221	-fPIC \
222	-Wno-unused-local-typedefs \
223	-ffunction-sections \
224	-funwind-tables \
225	-g \
226	-fno-short-enums \
227	-finline-limit=64 \
228	-Wa,--noexecstack \
229	-U_FORTIFY_SOURCE \
230	-Wno-extra \
231	-Wno-ignored-qualifiers \
232	-Wno-type-limits \
233	-Wno-unused-but-set-variable \
234	-Os \
235	-fno-ident \
236	-fdata-sections \
237	-ffunction-sections \
238	-funwind-tables
239
240MY_DEFS_Release := \
241	'-DV8_DEPRECATION_WARNINGS' \
242	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
243	'-D_FILE_OFFSET_BITS=64' \
244	'-DNO_TCMALLOC' \
245	'-DDISABLE_NACL' \
246	'-DCHROMIUM_BUILD' \
247	'-DUSE_LIBJPEG_TURBO=1' \
248	'-DENABLE_WEBRTC=1' \
249	'-DUSE_PROPRIETARY_CODECS' \
250	'-DENABLE_BROWSER_CDMS' \
251	'-DENABLE_CONFIGURATION_POLICY' \
252	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
253	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
254	'-DENABLE_EGLIMAGE=1' \
255	'-DCLD_VERSION=1' \
256	'-DENABLE_PRINTING=1' \
257	'-DENABLE_MANAGED_USERS=1' \
258	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
259	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
260	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
261	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
262	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
263	'-DVIDEO_HOLE=1' \
264	'-DUSE_OPENSSL=1' \
265	'-DUSE_OPENSSL_CERTS=1' \
266	'-D__STDC_CONSTANT_MACROS' \
267	'-D__STDC_FORMAT_MACROS' \
268	'-DANDROID' \
269	'-D__GNU_SOURCE=1' \
270	'-DUSE_STLPORT=1' \
271	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
272	'-DCHROME_BUILD_ID=""' \
273	'-DNDEBUG' \
274	'-DNVALGRIND' \
275	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
276	'-D_FORTIFY_SOURCE=2'
277
278
279# Include paths placed before CFLAGS/CPPFLAGS
280LOCAL_C_INCLUDES_Release := \
281	$(gyp_shared_intermediate_dir) \
282	$(PWD)/frameworks/wilhelm/include \
283	$(PWD)/bionic \
284	$(PWD)/external/stlport/stlport
285
286
287# Flags passed to only C++ (and not C) files.
288LOCAL_CPPFLAGS_Release := \
289	-fno-rtti \
290	-fno-threadsafe-statics \
291	-fvisibility-inlines-hidden \
292	-Wsign-compare \
293	-Wno-non-virtual-dtor \
294	-Wno-sign-promo
295
296
297LOCAL_FDO_SUPPORT_Release := false
298
299LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
300LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION))
301LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
302LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
303LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
304### Rules for final target.
305# Add target alias to "gyp_all_modules" target.
306.PHONY: gyp_all_modules
307gyp_all_modules: net_net_jni_headers_gyp
308
309# Alias gyp target name.
310.PHONY: net_jni_headers
311net_jni_headers: net_net_jni_headers_gyp
312
313LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp
314LOCAL_UNINSTALLABLE_MODULE := true
315LOCAL_2ND_ARCH_VAR_PREFIX := $(GYP_VAR_PREFIX)
316
317include $(BUILD_SYSTEM)/base_rules.mk
318
319$(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES)
320	$(hide) echo "Gyp timestamp: $@"
321	$(hide) mkdir -p $(dir $@)
322	$(hide) touch $@
323
324LOCAL_2ND_ARCH_VAR_PREFIX :=
325