allocator_extension_thunks.target.linux-mips.mk revision eb525c5499e34cc9c4b825d6d9e75bb07cc06ace
1# This file is generated by gyp; do not edit.
2
3include $(CLEAR_VARS)
4
5LOCAL_MODULE_CLASS := STATIC_LIBRARIES
6LOCAL_MODULE := base_allocator_allocator_extension_thunks_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
15GYP_GENERATED_OUTPUTS :=
16
17# Make sure our deps and generated files are built first.
18LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
19
20LOCAL_CPP_EXTENSION := .cc
21LOCAL_GENERATED_SOURCES :=
22
23GYP_COPIED_SOURCE_ORIGIN_DIRS :=
24
25LOCAL_SRC_FILES := \
26	base/allocator/allocator_extension_thunks.cc
27
28
29# Flags passed to both C and C++ files.
30MY_CFLAGS_Debug := \
31	-fstack-protector \
32	--param=ssp-buffer-size=4 \
33	 \
34	-fno-exceptions \
35	-fno-strict-aliasing \
36	-Wno-unused-parameter \
37	-Wno-missing-field-initializers \
38	-fvisibility=hidden \
39	-pipe \
40	-fPIC \
41	-Wno-format \
42	-EL \
43	-mhard-float \
44	-ffunction-sections \
45	-funwind-tables \
46	-g \
47	-fstack-protector \
48	-fno-short-enums \
49	-finline-limit=64 \
50	-Wa,--noexecstack \
51	-U_FORTIFY_SOURCE \
52	-Wno-extra \
53	-Wno-ignored-qualifiers \
54	-Wno-type-limits \
55	-Wno-address \
56	-Wno-format-security \
57	-Wno-return-type \
58	-Wno-sequence-point \
59	-Os \
60	-g \
61	-fomit-frame-pointer \
62	-fdata-sections \
63	-ffunction-sections
64
65MY_DEFS_Debug := \
66	'-DANGLE_DX11' \
67	'-D_FILE_OFFSET_BITS=64' \
68	'-DNO_TCMALLOC' \
69	'-DDISABLE_NACL' \
70	'-DCHROMIUM_BUILD' \
71	'-DUSE_LIBJPEG_TURBO=1' \
72	'-DUSE_PROPRIETARY_CODECS' \
73	'-DENABLE_GPU=1' \
74	'-DUSE_OPENSSL=1' \
75	'-DENABLE_EGLIMAGE=1' \
76	'-DENABLE_LANGUAGE_DETECTION=1' \
77	'-DANDROID' \
78	'-D__GNU_SOURCE=1' \
79	'-DUSE_STLPORT=1' \
80	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
81	'-DCHROME_BUILD_ID=""' \
82	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
83	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
84	'-D_DEBUG'
85
86
87# Include paths placed before CFLAGS/CPPFLAGS
88LOCAL_C_INCLUDES_Debug := \
89	$(LOCAL_PATH) \
90	$(PWD)/frameworks/wilhelm/include \
91	$(PWD)/bionic \
92	$(PWD)/external/stlport/stlport
93
94
95# Flags passed to only C++ (and not C) files.
96LOCAL_CPPFLAGS_Debug := \
97	-fno-rtti \
98	-fno-threadsafe-statics \
99	-fvisibility-inlines-hidden \
100	-Wno-deprecated \
101	-Wno-uninitialized \
102	-Wno-error=c++0x-compat \
103	-Wno-non-virtual-dtor \
104	-Wno-sign-promo \
105	-Wno-non-virtual-dtor
106
107
108# Flags passed to both C and C++ files.
109MY_CFLAGS_Release := \
110	-fstack-protector \
111	--param=ssp-buffer-size=4 \
112	 \
113	-fno-exceptions \
114	-fno-strict-aliasing \
115	-Wno-unused-parameter \
116	-Wno-missing-field-initializers \
117	-fvisibility=hidden \
118	-pipe \
119	-fPIC \
120	-Wno-format \
121	-EL \
122	-mhard-float \
123	-ffunction-sections \
124	-funwind-tables \
125	-g \
126	-fstack-protector \
127	-fno-short-enums \
128	-finline-limit=64 \
129	-Wa,--noexecstack \
130	-U_FORTIFY_SOURCE \
131	-Wno-extra \
132	-Wno-ignored-qualifiers \
133	-Wno-type-limits \
134	-Wno-address \
135	-Wno-format-security \
136	-Wno-return-type \
137	-Wno-sequence-point \
138	-Os \
139	-fno-ident \
140	-fdata-sections \
141	-ffunction-sections \
142	-fomit-frame-pointer
143
144MY_DEFS_Release := \
145	'-DANGLE_DX11' \
146	'-D_FILE_OFFSET_BITS=64' \
147	'-DNO_TCMALLOC' \
148	'-DDISABLE_NACL' \
149	'-DCHROMIUM_BUILD' \
150	'-DUSE_LIBJPEG_TURBO=1' \
151	'-DUSE_PROPRIETARY_CODECS' \
152	'-DENABLE_GPU=1' \
153	'-DUSE_OPENSSL=1' \
154	'-DENABLE_EGLIMAGE=1' \
155	'-DENABLE_LANGUAGE_DETECTION=1' \
156	'-DANDROID' \
157	'-D__GNU_SOURCE=1' \
158	'-DUSE_STLPORT=1' \
159	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
160	'-DCHROME_BUILD_ID=""' \
161	'-DNDEBUG' \
162	'-DNVALGRIND' \
163	'-DDYNAMIC_ANNOTATIONS_ENABLED=0'
164
165
166# Include paths placed before CFLAGS/CPPFLAGS
167LOCAL_C_INCLUDES_Release := \
168	$(LOCAL_PATH) \
169	$(PWD)/frameworks/wilhelm/include \
170	$(PWD)/bionic \
171	$(PWD)/external/stlport/stlport
172
173
174# Flags passed to only C++ (and not C) files.
175LOCAL_CPPFLAGS_Release := \
176	-fno-rtti \
177	-fno-threadsafe-statics \
178	-fvisibility-inlines-hidden \
179	-Wno-deprecated \
180	-Wno-uninitialized \
181	-Wno-error=c++0x-compat \
182	-Wno-non-virtual-dtor \
183	-Wno-sign-promo \
184	-Wno-non-virtual-dtor
185
186
187LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
188LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
189LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
190### Rules for final target.
191
192LOCAL_LDFLAGS_Debug := \
193	-Wl,-z,now \
194	-Wl,-z,relro \
195	-Wl,-z,noexecstack \
196	-fPIC \
197	-EL \
198	-Wl,--no-keep-memory \
199	-nostdlib \
200	-Wl,--no-undefined \
201	-Wl,--exclude-libs=ALL \
202	-Wl,--gc-sections \
203	-Wl,-O1 \
204	-Wl,--as-needed
205
206
207LOCAL_LDFLAGS_Release := \
208	-Wl,-z,now \
209	-Wl,-z,relro \
210	-Wl,-z,noexecstack \
211	-fPIC \
212	-EL \
213	-Wl,--no-keep-memory \
214	-nostdlib \
215	-Wl,--no-undefined \
216	-Wl,--exclude-libs=ALL \
217	-Wl,-O1 \
218	-Wl,--as-needed \
219	-Wl,--gc-sections
220
221
222LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
223
224LOCAL_STATIC_LIBRARIES :=
225
226# Enable grouping to fix circular references
227LOCAL_GROUP_STATIC_LIBRARIES := true
228
229LOCAL_SHARED_LIBRARIES := \
230	libstlport \
231	libdl
232
233# Add target alias to "gyp_all_modules" target.
234.PHONY: gyp_all_modules
235gyp_all_modules: base_allocator_allocator_extension_thunks_gyp
236
237# Alias gyp target name.
238.PHONY: allocator_extension_thunks
239allocator_extension_thunks: base_allocator_allocator_extension_thunks_gyp
240
241include $(BUILD_STATIC_LIBRARY)
242