• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# This file is generated by gyp; do not edit.
2
3include $(CLEAR_VARS)
4
5LOCAL_MODULE_CLASS := STATIC_LIBRARIES
6LOCAL_MODULE := components_navigation_interception_gyp
7LOCAL_MODULE_SUFFIX := .a
8LOCAL_MODULE_TAGS := optional
9gyp_intermediate_dir := $(call local-intermediates-dir)
10gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared)
11
12# Make sure our deps are built first.
13GYP_TARGET_DEPENDENCIES := \
14	$(call intermediates-dir-for,GYP,skia_skia_gyp)/skia.stamp \
15	$(call intermediates-dir-for,GYP,components_navigation_interception_jni_headers_gyp)/navigation_interception_jni_headers.stamp
16
17GYP_GENERATED_OUTPUTS :=
18
19# Make sure our deps and generated files are built first.
20LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
21
22LOCAL_CPP_EXTENSION := .cc
23LOCAL_GENERATED_SOURCES :=
24
25GYP_COPIED_SOURCE_ORIGIN_DIRS :=
26
27LOCAL_SRC_FILES := \
28	components/navigation_interception/intercept_navigation_resource_throttle.cc \
29	components/navigation_interception/navigation_params.cc \
30	components/navigation_interception/component_jni_registrar.cc \
31	components/navigation_interception/intercept_navigation_delegate.cc \
32	components/navigation_interception/navigation_params_android.cc
33
34
35# Flags passed to both C and C++ files.
36MY_CFLAGS_Debug := \
37	--param=ssp-buffer-size=4 \
38	-Werror \
39	-fno-exceptions \
40	-fno-strict-aliasing \
41	-Wall \
42	-Wno-unused-parameter \
43	-Wno-missing-field-initializers \
44	-fvisibility=hidden \
45	-pipe \
46	-fPIC \
47	-m32 \
48	-mmmx \
49	-march=pentium4 \
50	-msse2 \
51	-mfpmath=sse \
52	-fuse-ld=gold \
53	-ffunction-sections \
54	-funwind-tables \
55	-g \
56	-fno-short-enums \
57	-finline-limit=64 \
58	-Wa,--noexecstack \
59	-U_FORTIFY_SOURCE \
60	-Wno-extra \
61	-Wno-ignored-qualifiers \
62	-Wno-type-limits \
63	-fno-stack-protector \
64	-Os \
65	-g \
66	-fomit-frame-pointer \
67	-fdata-sections \
68	-ffunction-sections
69
70MY_DEFS_Debug := \
71	'-DV8_DEPRECATION_WARNINGS' \
72	'-D_FILE_OFFSET_BITS=64' \
73	'-DNO_TCMALLOC' \
74	'-DDISABLE_NACL' \
75	'-DCHROMIUM_BUILD' \
76	'-DUSE_LIBJPEG_TURBO=1' \
77	'-DUSE_PROPRIETARY_CODECS' \
78	'-DENABLE_CONFIGURATION_POLICY' \
79	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
80	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
81	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
82	'-DUSE_OPENSSL=1' \
83	'-DENABLE_EGLIMAGE=1' \
84	'-DCLD_VERSION=1' \
85	'-DENABLE_PRINTING=1' \
86	'-DENABLE_MANAGED_USERS=1' \
87	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
88	'-D__STDC_CONSTANT_MACROS' \
89	'-D__STDC_FORMAT_MACROS' \
90	'-DANDROID' \
91	'-D__GNU_SOURCE=1' \
92	'-DUSE_STLPORT=1' \
93	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
94	'-DCHROME_BUILD_ID=""' \
95	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
96	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
97	'-D_DEBUG'
98
99
100# Include paths placed before CFLAGS/CPPFLAGS
101LOCAL_C_INCLUDES_Debug := \
102	$(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \
103	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
104	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
105	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
106	$(LOCAL_PATH) \
107	$(LOCAL_PATH)/skia/config \
108	$(gyp_shared_intermediate_dir)/navigation_interception \
109	$(LOCAL_PATH)/third_party/khronos \
110	$(LOCAL_PATH)/gpu \
111	$(LOCAL_PATH)/third_party/WebKit/Source \
112	$(PWD)/external/skia/include \
113	$(PWD)/external/skia/include/core \
114	$(LOCAL_PATH)/third_party/skia/src/core \
115	$(LOCAL_PATH)/skia/ext \
116	$(PWD)/frameworks/wilhelm/include \
117	$(PWD)/bionic \
118	$(PWD)/external/stlport/stlport
119
120
121# Flags passed to only C++ (and not C) files.
122LOCAL_CPPFLAGS_Debug := \
123	-fno-rtti \
124	-fno-threadsafe-statics \
125	-fvisibility-inlines-hidden \
126	-Wsign-compare \
127	-Wno-error=c++0x-compat \
128	-Wno-non-virtual-dtor \
129	-Wno-sign-promo
130
131
132# Flags passed to both C and C++ files.
133MY_CFLAGS_Release := \
134	--param=ssp-buffer-size=4 \
135	-Werror \
136	-fno-exceptions \
137	-fno-strict-aliasing \
138	-Wall \
139	-Wno-unused-parameter \
140	-Wno-missing-field-initializers \
141	-fvisibility=hidden \
142	-pipe \
143	-fPIC \
144	-m32 \
145	-mmmx \
146	-march=pentium4 \
147	-msse2 \
148	-mfpmath=sse \
149	-fuse-ld=gold \
150	-ffunction-sections \
151	-funwind-tables \
152	-g \
153	-fno-short-enums \
154	-finline-limit=64 \
155	-Wa,--noexecstack \
156	-U_FORTIFY_SOURCE \
157	-Wno-extra \
158	-Wno-ignored-qualifiers \
159	-Wno-type-limits \
160	-fno-stack-protector \
161	-Os \
162	-fno-ident \
163	-fdata-sections \
164	-ffunction-sections \
165	-fomit-frame-pointer \
166	-fno-unwind-tables \
167	-fno-asynchronous-unwind-tables
168
169MY_DEFS_Release := \
170	'-DV8_DEPRECATION_WARNINGS' \
171	'-D_FILE_OFFSET_BITS=64' \
172	'-DNO_TCMALLOC' \
173	'-DDISABLE_NACL' \
174	'-DCHROMIUM_BUILD' \
175	'-DUSE_LIBJPEG_TURBO=1' \
176	'-DUSE_PROPRIETARY_CODECS' \
177	'-DENABLE_CONFIGURATION_POLICY' \
178	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
179	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
180	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
181	'-DUSE_OPENSSL=1' \
182	'-DENABLE_EGLIMAGE=1' \
183	'-DCLD_VERSION=1' \
184	'-DENABLE_PRINTING=1' \
185	'-DENABLE_MANAGED_USERS=1' \
186	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
187	'-D__STDC_CONSTANT_MACROS' \
188	'-D__STDC_FORMAT_MACROS' \
189	'-DANDROID' \
190	'-D__GNU_SOURCE=1' \
191	'-DUSE_STLPORT=1' \
192	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
193	'-DCHROME_BUILD_ID=""' \
194	'-DNDEBUG' \
195	'-DNVALGRIND' \
196	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
197	'-D_FORTIFY_SOURCE=2'
198
199
200# Include paths placed before CFLAGS/CPPFLAGS
201LOCAL_C_INCLUDES_Release := \
202	$(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \
203	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
204	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
205	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
206	$(LOCAL_PATH) \
207	$(LOCAL_PATH)/skia/config \
208	$(gyp_shared_intermediate_dir)/navigation_interception \
209	$(LOCAL_PATH)/third_party/khronos \
210	$(LOCAL_PATH)/gpu \
211	$(LOCAL_PATH)/third_party/WebKit/Source \
212	$(PWD)/external/skia/include \
213	$(PWD)/external/skia/include/core \
214	$(LOCAL_PATH)/third_party/skia/src/core \
215	$(LOCAL_PATH)/skia/ext \
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-error=c++0x-compat \
228	-Wno-non-virtual-dtor \
229	-Wno-sign-promo
230
231
232LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
233LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
234LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
235### Rules for final target.
236
237LOCAL_LDFLAGS_Debug := \
238	-Wl,-z,now \
239	-Wl,-z,relro \
240	-Wl,-z,noexecstack \
241	-fPIC \
242	-m32 \
243	-fuse-ld=gold \
244	-nostdlib \
245	-Wl,--no-undefined \
246	-Wl,--exclude-libs=ALL \
247	-Wl,--fatal-warnings \
248	-Wl,--gc-sections \
249	-Wl,--warn-shared-textrel \
250	-Wl,-O1 \
251	-Wl,--as-needed
252
253
254LOCAL_LDFLAGS_Release := \
255	-Wl,-z,now \
256	-Wl,-z,relro \
257	-Wl,-z,noexecstack \
258	-fPIC \
259	-m32 \
260	-fuse-ld=gold \
261	-nostdlib \
262	-Wl,--no-undefined \
263	-Wl,--exclude-libs=ALL \
264	-Wl,-O1 \
265	-Wl,--as-needed \
266	-Wl,--gc-sections \
267	-Wl,--fatal-warnings \
268	-Wl,--warn-shared-textrel
269
270
271LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
272
273LOCAL_STATIC_LIBRARIES :=
274
275# Enable grouping to fix circular references
276LOCAL_GROUP_STATIC_LIBRARIES := true
277
278LOCAL_SHARED_LIBRARIES := \
279	libskia \
280	libstlport \
281	libdl
282
283# Add target alias to "gyp_all_modules" target.
284.PHONY: gyp_all_modules
285gyp_all_modules: components_navigation_interception_gyp
286
287# Alias gyp target name.
288.PHONY: navigation_interception
289navigation_interception: components_navigation_interception_gyp
290
291include $(BUILD_STATIC_LIBRARY)
292