• 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 := components_navigation_interception_jni_headers_gyp
7LOCAL_MODULE_STEM := navigation_interception_jni_headers
8LOCAL_MODULE_SUFFIX := .stamp
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	$(call intermediates-dir-for,GYP,build_android_android_exports_gyp,,,$(GYP_VAR_PREFIX))/android_exports.stamp
16
17
18### Generated for rule "components_components_gyp_navigation_interception_jni_headers_target_generate_jni_headers":
19# "{'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)/navigation_interception/jni/%(INPUT_ROOT)s_jni.h'], 'rule_name': 'generate_jni_headers', 'rule_sources': ['navigation_interception/android/java/src/org/chromium/components/navigation_interception/InterceptNavigationDelegate.java', 'navigation_interception/android/java/src/org/chromium/components/navigation_interception/NavigationParams.java'], 'action': ['../base/android/jni_generator/jni_generator.py', '--input_file', '$(RULE_SOURCES)', '--output_dir', '$(gyp_shared_intermediate_dir)/navigation_interception/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)'}":
20$(gyp_shared_intermediate_dir)/navigation_interception/jni/InterceptNavigationDelegate_jni.h: gyp_local_path := $(LOCAL_PATH)
21$(gyp_shared_intermediate_dir)/navigation_interception/jni/InterceptNavigationDelegate_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX)
22$(gyp_shared_intermediate_dir)/navigation_interception/jni/InterceptNavigationDelegate_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
23$(gyp_shared_intermediate_dir)/navigation_interception/jni/InterceptNavigationDelegate_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
24$(gyp_shared_intermediate_dir)/navigation_interception/jni/InterceptNavigationDelegate_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
25$(gyp_shared_intermediate_dir)/navigation_interception/jni/InterceptNavigationDelegate_jni.h: $(LOCAL_PATH)/components/navigation_interception/android/java/src/org/chromium/components/navigation_interception/InterceptNavigationDelegate.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
26	mkdir -p $(gyp_shared_intermediate_dir)/navigation_interception/jni; cd $(gyp_local_path)/components; ../base/android/jni_generator/jni_generator.py --input_file navigation_interception/android/java/src/org/chromium/components/navigation_interception/InterceptNavigationDelegate.java --output_dir "$(gyp_shared_intermediate_dir)/navigation_interception/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
27
28
29$(gyp_shared_intermediate_dir)/navigation_interception/jni/NavigationParams_jni.h: gyp_local_path := $(LOCAL_PATH)
30$(gyp_shared_intermediate_dir)/navigation_interception/jni/NavigationParams_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX)
31$(gyp_shared_intermediate_dir)/navigation_interception/jni/NavigationParams_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
32$(gyp_shared_intermediate_dir)/navigation_interception/jni/NavigationParams_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
33$(gyp_shared_intermediate_dir)/navigation_interception/jni/NavigationParams_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
34$(gyp_shared_intermediate_dir)/navigation_interception/jni/NavigationParams_jni.h: $(LOCAL_PATH)/components/navigation_interception/android/java/src/org/chromium/components/navigation_interception/NavigationParams.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
35	mkdir -p $(gyp_shared_intermediate_dir)/navigation_interception/jni; cd $(gyp_local_path)/components; ../base/android/jni_generator/jni_generator.py --input_file navigation_interception/android/java/src/org/chromium/components/navigation_interception/NavigationParams.java --output_dir "$(gyp_shared_intermediate_dir)/navigation_interception/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
36
37
38
39GYP_GENERATED_OUTPUTS := \
40	$(gyp_shared_intermediate_dir)/navigation_interception/jni/InterceptNavigationDelegate_jni.h \
41	$(gyp_shared_intermediate_dir)/navigation_interception/jni/NavigationParams_jni.h
42
43# Make sure our deps and generated files are built first.
44LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
45
46LOCAL_GENERATED_SOURCES := \
47	$(gyp_shared_intermediate_dir)/navigation_interception/jni/InterceptNavigationDelegate_jni.h \
48	$(gyp_shared_intermediate_dir)/navigation_interception/jni/NavigationParams_jni.h
49
50GYP_COPIED_SOURCE_ORIGIN_DIRS :=
51
52LOCAL_SRC_FILES :=
53
54
55# Flags passed to both C and C++ files.
56MY_CFLAGS_Debug := \
57	-fstack-protector \
58	--param=ssp-buffer-size=4 \
59	 \
60	-fno-strict-aliasing \
61	-Wall \
62	-Wno-unused-parameter \
63	-Wno-missing-field-initializers \
64	-fvisibility=hidden \
65	-pipe \
66	-fPIC \
67	-Wno-unused-local-typedefs \
68	-ffunction-sections \
69	-funwind-tables \
70	-g \
71	-fstack-protector \
72	-fno-short-enums \
73	-finline-limit=64 \
74	-Wa,--noexecstack \
75	-U_FORTIFY_SOURCE \
76	-Wno-extra \
77	-Wno-ignored-qualifiers \
78	-Wno-type-limits \
79	-Wno-unused-but-set-variable \
80	-Os \
81	-g \
82	-gdwarf-4 \
83	-fdata-sections \
84	-ffunction-sections \
85	-fomit-frame-pointer \
86	-funwind-tables
87
88MY_DEFS_Debug := \
89	'-DV8_DEPRECATION_WARNINGS' \
90	'-D_FILE_OFFSET_BITS=64' \
91	'-DNO_TCMALLOC' \
92	'-DDISABLE_NACL' \
93	'-DCHROMIUM_BUILD' \
94	'-DUSE_LIBJPEG_TURBO=1' \
95	'-DENABLE_WEBRTC=1' \
96	'-DUSE_PROPRIETARY_CODECS' \
97	'-DENABLE_BROWSER_CDMS' \
98	'-DENABLE_CONFIGURATION_POLICY' \
99	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
100	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
101	'-DENABLE_EGLIMAGE=1' \
102	'-DCLD_VERSION=1' \
103	'-DENABLE_PRINTING=1' \
104	'-DENABLE_MANAGED_USERS=1' \
105	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
106	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
107	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
108	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
109	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
110	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
111	'-DVIDEO_HOLE=1' \
112	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
113	'-DUSE_OPENSSL=1' \
114	'-DUSE_OPENSSL_CERTS=1' \
115	'-D__STDC_CONSTANT_MACROS' \
116	'-D__STDC_FORMAT_MACROS' \
117	'-DANDROID' \
118	'-D__GNU_SOURCE=1' \
119	'-DUSE_STLPORT=1' \
120	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
121	'-DCHROME_BUILD_ID=""' \
122	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
123	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
124	'-D_DEBUG'
125
126
127# Include paths placed before CFLAGS/CPPFLAGS
128LOCAL_C_INCLUDES_Debug := \
129	$(gyp_shared_intermediate_dir) \
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-exceptions \
138	-fno-rtti \
139	-fno-threadsafe-statics \
140	-fvisibility-inlines-hidden \
141	-Wsign-compare \
142	-Wno-uninitialized \
143	-std=gnu++11 \
144	-Wno-narrowing \
145	-Wno-literal-suffix \
146	-Wno-non-virtual-dtor \
147	-Wno-sign-promo
148
149
150# Flags passed to both C and C++ files.
151MY_CFLAGS_Release := \
152	-fstack-protector \
153	--param=ssp-buffer-size=4 \
154	 \
155	-fno-strict-aliasing \
156	-Wall \
157	-Wno-unused-parameter \
158	-Wno-missing-field-initializers \
159	-fvisibility=hidden \
160	-pipe \
161	-fPIC \
162	-Wno-unused-local-typedefs \
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	-Os \
176	-fno-ident \
177	-fdata-sections \
178	-ffunction-sections \
179	-fomit-frame-pointer \
180	-funwind-tables
181
182MY_DEFS_Release := \
183	'-DV8_DEPRECATION_WARNINGS' \
184	'-D_FILE_OFFSET_BITS=64' \
185	'-DNO_TCMALLOC' \
186	'-DDISABLE_NACL' \
187	'-DCHROMIUM_BUILD' \
188	'-DUSE_LIBJPEG_TURBO=1' \
189	'-DENABLE_WEBRTC=1' \
190	'-DUSE_PROPRIETARY_CODECS' \
191	'-DENABLE_BROWSER_CDMS' \
192	'-DENABLE_CONFIGURATION_POLICY' \
193	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
194	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
195	'-DENABLE_EGLIMAGE=1' \
196	'-DCLD_VERSION=1' \
197	'-DENABLE_PRINTING=1' \
198	'-DENABLE_MANAGED_USERS=1' \
199	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
200	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
201	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
202	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
203	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
204	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
205	'-DVIDEO_HOLE=1' \
206	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
207	'-DUSE_OPENSSL=1' \
208	'-DUSE_OPENSSL_CERTS=1' \
209	'-D__STDC_CONSTANT_MACROS' \
210	'-D__STDC_FORMAT_MACROS' \
211	'-DANDROID' \
212	'-D__GNU_SOURCE=1' \
213	'-DUSE_STLPORT=1' \
214	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
215	'-DCHROME_BUILD_ID=""' \
216	'-DNDEBUG' \
217	'-DNVALGRIND' \
218	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
219	'-D_FORTIFY_SOURCE=2'
220
221
222# Include paths placed before CFLAGS/CPPFLAGS
223LOCAL_C_INCLUDES_Release := \
224	$(gyp_shared_intermediate_dir) \
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-exceptions \
233	-fno-rtti \
234	-fno-threadsafe-statics \
235	-fvisibility-inlines-hidden \
236	-Wsign-compare \
237	-Wno-uninitialized \
238	-std=gnu++11 \
239	-Wno-narrowing \
240	-Wno-literal-suffix \
241	-Wno-non-virtual-dtor \
242	-Wno-sign-promo
243
244
245LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
246LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
247LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
248LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
249### Rules for final target.
250# Add target alias to "gyp_all_modules" target.
251.PHONY: gyp_all_modules
252gyp_all_modules: components_navigation_interception_jni_headers_gyp
253
254# Alias gyp target name.
255.PHONY: navigation_interception_jni_headers
256navigation_interception_jni_headers: components_navigation_interception_jni_headers_gyp
257
258LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp
259LOCAL_UNINSTALLABLE_MODULE := true
260LOCAL_2ND_ARCH_VAR_PREFIX := $(GYP_VAR_PREFIX)
261
262include $(BUILD_SYSTEM)/base_rules.mk
263
264$(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES)
265	$(hide) echo "Gyp timestamp: $@"
266	$(hide) mkdir -p $(dir $@)
267	$(hide) touch $@
268
269LOCAL_2ND_ARCH_VAR_PREFIX :=
270