• 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	-Werror \
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	-m64 \
69	-march=x86-64 \
70	-ffunction-sections \
71	-funwind-tables \
72	-g \
73	-fstack-protector \
74	-fno-short-enums \
75	-finline-limit=64 \
76	-Wa,--noexecstack \
77	-U_FORTIFY_SOURCE \
78	-Wno-extra \
79	-Wno-ignored-qualifiers \
80	-Wno-type-limits \
81	-Wno-unused-but-set-variable \
82	-Os \
83	-g \
84	-gdwarf-4 \
85	-fdata-sections \
86	-ffunction-sections \
87	-fomit-frame-pointer \
88	-funwind-tables
89
90MY_DEFS_Debug := \
91	'-DV8_DEPRECATION_WARNINGS' \
92	'-D_FILE_OFFSET_BITS=64' \
93	'-DNO_TCMALLOC' \
94	'-DDISABLE_NACL' \
95	'-DCHROMIUM_BUILD' \
96	'-DUSE_LIBJPEG_TURBO=1' \
97	'-DENABLE_WEBRTC=1' \
98	'-DUSE_PROPRIETARY_CODECS' \
99	'-DENABLE_BROWSER_CDMS' \
100	'-DENABLE_CONFIGURATION_POLICY' \
101	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
102	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
103	'-DENABLE_EGLIMAGE=1' \
104	'-DCLD_VERSION=1' \
105	'-DENABLE_PRINTING=1' \
106	'-DENABLE_MANAGED_USERS=1' \
107	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
108	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
109	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
110	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
111	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
112	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
113	'-DVIDEO_HOLE=1' \
114	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
115	'-DUSE_OPENSSL=1' \
116	'-DUSE_OPENSSL_CERTS=1' \
117	'-D__STDC_CONSTANT_MACROS' \
118	'-D__STDC_FORMAT_MACROS' \
119	'-DANDROID' \
120	'-D__GNU_SOURCE=1' \
121	'-DUSE_STLPORT=1' \
122	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
123	'-DCHROME_BUILD_ID=""' \
124	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
125	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
126	'-D_DEBUG'
127
128
129# Include paths placed before CFLAGS/CPPFLAGS
130LOCAL_C_INCLUDES_Debug := \
131	$(gyp_shared_intermediate_dir) \
132	$(PWD)/frameworks/wilhelm/include \
133	$(PWD)/bionic \
134	$(PWD)/external/stlport/stlport
135
136
137# Flags passed to only C++ (and not C) files.
138LOCAL_CPPFLAGS_Debug := \
139	-fno-exceptions \
140	-fno-rtti \
141	-fno-threadsafe-statics \
142	-fvisibility-inlines-hidden \
143	-Wsign-compare \
144	-std=gnu++11 \
145	-Wno-narrowing \
146	-Wno-literal-suffix \
147	-Wno-non-virtual-dtor \
148	-Wno-sign-promo
149
150
151# Flags passed to both C and C++ files.
152MY_CFLAGS_Release := \
153	-fstack-protector \
154	--param=ssp-buffer-size=4 \
155	-Werror \
156	-fno-strict-aliasing \
157	-Wall \
158	-Wno-unused-parameter \
159	-Wno-missing-field-initializers \
160	-fvisibility=hidden \
161	-pipe \
162	-fPIC \
163	-Wno-unused-local-typedefs \
164	-m64 \
165	-march=x86-64 \
166	-ffunction-sections \
167	-funwind-tables \
168	-g \
169	-fstack-protector \
170	-fno-short-enums \
171	-finline-limit=64 \
172	-Wa,--noexecstack \
173	-U_FORTIFY_SOURCE \
174	-Wno-extra \
175	-Wno-ignored-qualifiers \
176	-Wno-type-limits \
177	-Wno-unused-but-set-variable \
178	-Os \
179	-fno-ident \
180	-fdata-sections \
181	-ffunction-sections \
182	-fomit-frame-pointer \
183	-funwind-tables
184
185MY_DEFS_Release := \
186	'-DV8_DEPRECATION_WARNINGS' \
187	'-D_FILE_OFFSET_BITS=64' \
188	'-DNO_TCMALLOC' \
189	'-DDISABLE_NACL' \
190	'-DCHROMIUM_BUILD' \
191	'-DUSE_LIBJPEG_TURBO=1' \
192	'-DENABLE_WEBRTC=1' \
193	'-DUSE_PROPRIETARY_CODECS' \
194	'-DENABLE_BROWSER_CDMS' \
195	'-DENABLE_CONFIGURATION_POLICY' \
196	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
197	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
198	'-DENABLE_EGLIMAGE=1' \
199	'-DCLD_VERSION=1' \
200	'-DENABLE_PRINTING=1' \
201	'-DENABLE_MANAGED_USERS=1' \
202	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
203	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
204	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
205	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
206	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
207	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
208	'-DVIDEO_HOLE=1' \
209	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
210	'-DUSE_OPENSSL=1' \
211	'-DUSE_OPENSSL_CERTS=1' \
212	'-D__STDC_CONSTANT_MACROS' \
213	'-D__STDC_FORMAT_MACROS' \
214	'-DANDROID' \
215	'-D__GNU_SOURCE=1' \
216	'-DUSE_STLPORT=1' \
217	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
218	'-DCHROME_BUILD_ID=""' \
219	'-DNDEBUG' \
220	'-DNVALGRIND' \
221	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
222	'-D_FORTIFY_SOURCE=2'
223
224
225# Include paths placed before CFLAGS/CPPFLAGS
226LOCAL_C_INCLUDES_Release := \
227	$(gyp_shared_intermediate_dir) \
228	$(PWD)/frameworks/wilhelm/include \
229	$(PWD)/bionic \
230	$(PWD)/external/stlport/stlport
231
232
233# Flags passed to only C++ (and not C) files.
234LOCAL_CPPFLAGS_Release := \
235	-fno-exceptions \
236	-fno-rtti \
237	-fno-threadsafe-statics \
238	-fvisibility-inlines-hidden \
239	-Wsign-compare \
240	-std=gnu++11 \
241	-Wno-narrowing \
242	-Wno-literal-suffix \
243	-Wno-non-virtual-dtor \
244	-Wno-sign-promo
245
246
247LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
248LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
249LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
250LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
251### Rules for final target.
252# Add target alias to "gyp_all_modules" target.
253.PHONY: gyp_all_modules
254gyp_all_modules: components_navigation_interception_jni_headers_gyp
255
256# Alias gyp target name.
257.PHONY: navigation_interception_jni_headers
258navigation_interception_jni_headers: components_navigation_interception_jni_headers_gyp
259
260LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp
261LOCAL_UNINSTALLABLE_MODULE := true
262LOCAL_2ND_ARCH_VAR_PREFIX := $(GYP_VAR_PREFIX)
263
264include $(BUILD_SYSTEM)/base_rules.mk
265
266$(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES)
267	$(hide) echo "Gyp timestamp: $@"
268	$(hide) mkdir -p $(dir $@)
269	$(hide) touch $@
270
271LOCAL_2ND_ARCH_VAR_PREFIX :=
272