• 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 := storage_storage_gyp
7LOCAL_MODULE_SUFFIX := .a
8LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH)
9gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX))
10gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX))
11
12# Make sure our deps are built first.
13GYP_TARGET_DEPENDENCIES := \
14	$(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_gyp,,,$(GYP_VAR_PREFIX))/blink.stamp \
15	$(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a
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	storage/browser/blob/blob_data_handle.cc \
29	storage/browser/blob/blob_storage_context.cc \
30	storage/browser/blob/blob_url_request_job.cc \
31	storage/browser/blob/blob_url_request_job_factory.cc \
32	storage/browser/blob/file_stream_reader.cc \
33	storage/browser/blob/local_file_stream_reader.cc \
34	storage/browser/blob/view_blob_internals_job.cc \
35	storage/browser/database/database_quota_client.cc \
36	storage/browser/database/database_tracker.cc \
37	storage/browser/database/database_util.cc \
38	storage/browser/database/databases_table.cc \
39	storage/browser/database/vfs_backend.cc \
40	storage/browser/fileapi/async_file_util_adapter.cc \
41	storage/browser/fileapi/copy_or_move_operation_delegate.cc \
42	storage/browser/fileapi/dragged_file_util.cc \
43	storage/browser/fileapi/external_mount_points.cc \
44	storage/browser/fileapi/file_system_context.cc \
45	storage/browser/fileapi/file_system_dir_url_request_job.cc \
46	storage/browser/fileapi/file_system_file_stream_reader.cc \
47	storage/browser/fileapi/file_system_file_util.cc \
48	storage/browser/fileapi/file_system_operation_context.cc \
49	storage/browser/fileapi/file_system_operation_impl.cc \
50	storage/browser/fileapi/file_system_operation_runner.cc \
51	storage/browser/fileapi/file_system_options.cc \
52	storage/browser/fileapi/file_system_quota_client.cc \
53	storage/browser/fileapi/file_system_url.cc \
54	storage/browser/fileapi/file_system_url_request_job.cc \
55	storage/browser/fileapi/file_system_url_request_job_factory.cc \
56	storage/browser/fileapi/file_system_usage_cache.cc \
57	storage/browser/fileapi/file_writer_delegate.cc \
58	storage/browser/fileapi/isolated_context.cc \
59	storage/browser/fileapi/isolated_file_system_backend.cc \
60	storage/browser/fileapi/local_file_stream_writer.cc \
61	storage/browser/fileapi/local_file_util.cc \
62	storage/browser/fileapi/mount_points.cc \
63	storage/browser/fileapi/native_file_util.cc \
64	storage/browser/fileapi/obfuscated_file_util.cc \
65	storage/browser/fileapi/plugin_private_file_system_backend.cc \
66	storage/browser/fileapi/quota/open_file_handle.cc \
67	storage/browser/fileapi/quota/open_file_handle_context.cc \
68	storage/browser/fileapi/quota/quota_backend_impl.cc \
69	storage/browser/fileapi/quota/quota_reservation.cc \
70	storage/browser/fileapi/quota/quota_reservation_buffer.cc \
71	storage/browser/fileapi/quota/quota_reservation_manager.cc \
72	storage/browser/fileapi/recursive_operation_delegate.cc \
73	storage/browser/fileapi/remove_operation_delegate.cc \
74	storage/browser/fileapi/sandbox_directory_database.cc \
75	storage/browser/fileapi/sandbox_file_stream_writer.cc \
76	storage/browser/fileapi/sandbox_file_system_backend.cc \
77	storage/browser/fileapi/sandbox_file_system_backend_delegate.cc \
78	storage/browser/fileapi/sandbox_isolated_origin_database.cc \
79	storage/browser/fileapi/sandbox_origin_database.cc \
80	storage/browser/fileapi/sandbox_origin_database_interface.cc \
81	storage/browser/fileapi/sandbox_prioritized_origin_database.cc \
82	storage/browser/fileapi/sandbox_quota_observer.cc \
83	storage/browser/fileapi/timed_task_helper.cc \
84	storage/browser/fileapi/transient_file_util.cc \
85	storage/browser/quota/quota_database.cc \
86	storage/browser/quota/quota_manager.cc \
87	storage/browser/quota/quota_manager_proxy.cc \
88	storage/browser/quota/quota_task.cc \
89	storage/browser/quota/quota_temporary_storage_evictor.cc \
90	storage/browser/quota/special_storage_policy.cc \
91	storage/browser/quota/storage_monitor.cc \
92	storage/browser/quota/storage_observer.cc \
93	storage/browser/quota/usage_tracker.cc
94
95
96# Flags passed to both C and C++ files.
97MY_CFLAGS_Debug := \
98	--param=ssp-buffer-size=4 \
99	-Werror \
100	-fno-strict-aliasing \
101	-Wall \
102	-Wno-unused-parameter \
103	-Wno-missing-field-initializers \
104	-fvisibility=hidden \
105	-pipe \
106	-fPIC \
107	-Wno-unused-local-typedefs \
108	-ffunction-sections \
109	-funwind-tables \
110	-g \
111	-fno-short-enums \
112	-finline-limit=64 \
113	-Wa,--noexecstack \
114	-U_FORTIFY_SOURCE \
115	-Wno-extra \
116	-Wno-ignored-qualifiers \
117	-Wno-type-limits \
118	-Wno-unused-but-set-variable \
119	-Os \
120	-g \
121	-gdwarf-4 \
122	-fdata-sections \
123	-ffunction-sections \
124	-funwind-tables
125
126MY_DEFS_Debug := \
127	'-DV8_DEPRECATION_WARNINGS' \
128	'-D_FILE_OFFSET_BITS=64' \
129	'-DNO_TCMALLOC' \
130	'-DDISABLE_NACL' \
131	'-DCHROMIUM_BUILD' \
132	'-DUSE_LIBJPEG_TURBO=1' \
133	'-DENABLE_WEBRTC=1' \
134	'-DUSE_PROPRIETARY_CODECS' \
135	'-DENABLE_BROWSER_CDMS' \
136	'-DENABLE_CONFIGURATION_POLICY' \
137	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
138	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
139	'-DENABLE_EGLIMAGE=1' \
140	'-DCLD_VERSION=1' \
141	'-DENABLE_PRINTING=1' \
142	'-DENABLE_MANAGED_USERS=1' \
143	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
144	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
145	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
146	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
147	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
148	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
149	'-DVIDEO_HOLE=1' \
150	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
151	'-DSTORAGE_BROWSER_IMPLEMENTATION' \
152	'-DPOSIX_AVOID_MMAP' \
153	'-DSK_ENABLE_INST_COUNT=0' \
154	'-DSK_SUPPORT_GPU=1' \
155	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
156	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
157	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
158	'-DGR_GL_IGNORE_ES3_MSAA=0' \
159	'-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
160	'-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \
161	'-DSK_BUILD_FOR_ANDROID' \
162	'-DSK_USE_POSIX_THREADS' \
163	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
164	'-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \
165	'-DU_USING_ICU_NAMESPACE=0' \
166	'-DU_ENABLE_DYLOAD=0' \
167	'-DCHROME_PNG_WRITE_SUPPORT' \
168	'-DPNG_USER_CONFIG' \
169	'-DCHROME_PNG_READ_PACK_SUPPORT' \
170	'-DUSE_OPENSSL=1' \
171	'-DUSE_OPENSSL_CERTS=1' \
172	'-D__STDC_CONSTANT_MACROS' \
173	'-D__STDC_FORMAT_MACROS' \
174	'-DANDROID' \
175	'-D__GNU_SOURCE=1' \
176	'-DUSE_STLPORT=1' \
177	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
178	'-DCHROME_BUILD_ID=""' \
179	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
180	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
181	'-D_DEBUG'
182
183
184# Include paths placed before CFLAGS/CPPFLAGS
185LOCAL_C_INCLUDES_Debug := \
186	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
187	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
188	$(gyp_shared_intermediate_dir) \
189	$(LOCAL_PATH)/third_party/WebKit/Source \
190	$(LOCAL_PATH) \
191	$(LOCAL_PATH)/skia/config \
192	$(LOCAL_PATH)/third_party/khronos \
193	$(LOCAL_PATH)/gpu \
194	$(LOCAL_PATH)/third_party/leveldatabase/src/include \
195	$(LOCAL_PATH)/third_party/leveldatabase/src \
196	$(LOCAL_PATH)/third_party/leveldatabase \
197	$(LOCAL_PATH)/third_party/sqlite \
198	$(LOCAL_PATH)/third_party/WebKit \
199	$(LOCAL_PATH)/third_party/skia/src/core \
200	$(LOCAL_PATH)/third_party/skia/include/core \
201	$(LOCAL_PATH)/third_party/skia/include/effects \
202	$(LOCAL_PATH)/third_party/skia/include/pdf \
203	$(LOCAL_PATH)/third_party/skia/include/gpu \
204	$(LOCAL_PATH)/third_party/skia/include/lazy \
205	$(LOCAL_PATH)/third_party/skia/include/pathops \
206	$(LOCAL_PATH)/third_party/skia/include/pipe \
207	$(LOCAL_PATH)/third_party/skia/include/ports \
208	$(LOCAL_PATH)/third_party/skia/include/utils \
209	$(LOCAL_PATH)/skia/ext \
210	$(PWD)/external/icu/icu4c/source/common \
211	$(PWD)/external/icu/icu4c/source/i18n \
212	$(LOCAL_PATH)/third_party/npapi \
213	$(LOCAL_PATH)/third_party/npapi/bindings \
214	$(LOCAL_PATH)/v8/include \
215	$(LOCAL_PATH)/third_party/libpng \
216	$(LOCAL_PATH)/third_party/zlib \
217	$(LOCAL_PATH)/third_party/libwebp \
218	$(LOCAL_PATH)/third_party/ots/include \
219	$(LOCAL_PATH)/third_party/qcms/src \
220	$(LOCAL_PATH)/third_party/iccjpeg \
221	$(LOCAL_PATH)/third_party/libjpeg_turbo \
222	$(PWD)/frameworks/wilhelm/include \
223	$(PWD)/bionic \
224	$(PWD)/external/stlport/stlport
225
226
227# Flags passed to only C++ (and not C) files.
228LOCAL_CPPFLAGS_Debug := \
229	-fno-exceptions \
230	-fno-rtti \
231	-fno-threadsafe-statics \
232	-fvisibility-inlines-hidden \
233	-Wsign-compare \
234	-std=gnu++11 \
235	-Wno-narrowing \
236	-Wno-literal-suffix \
237	-Wno-non-virtual-dtor \
238	-Wno-sign-promo
239
240
241# Flags passed to both C and C++ files.
242MY_CFLAGS_Release := \
243	--param=ssp-buffer-size=4 \
244	-Werror \
245	-fno-strict-aliasing \
246	-Wall \
247	-Wno-unused-parameter \
248	-Wno-missing-field-initializers \
249	-fvisibility=hidden \
250	-pipe \
251	-fPIC \
252	-Wno-unused-local-typedefs \
253	-ffunction-sections \
254	-funwind-tables \
255	-g \
256	-fno-short-enums \
257	-finline-limit=64 \
258	-Wa,--noexecstack \
259	-U_FORTIFY_SOURCE \
260	-Wno-extra \
261	-Wno-ignored-qualifiers \
262	-Wno-type-limits \
263	-Wno-unused-but-set-variable \
264	-Os \
265	-fno-ident \
266	-fdata-sections \
267	-ffunction-sections \
268	-funwind-tables
269
270MY_DEFS_Release := \
271	'-DV8_DEPRECATION_WARNINGS' \
272	'-D_FILE_OFFSET_BITS=64' \
273	'-DNO_TCMALLOC' \
274	'-DDISABLE_NACL' \
275	'-DCHROMIUM_BUILD' \
276	'-DUSE_LIBJPEG_TURBO=1' \
277	'-DENABLE_WEBRTC=1' \
278	'-DUSE_PROPRIETARY_CODECS' \
279	'-DENABLE_BROWSER_CDMS' \
280	'-DENABLE_CONFIGURATION_POLICY' \
281	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
282	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
283	'-DENABLE_EGLIMAGE=1' \
284	'-DCLD_VERSION=1' \
285	'-DENABLE_PRINTING=1' \
286	'-DENABLE_MANAGED_USERS=1' \
287	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
288	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
289	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
290	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
291	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
292	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
293	'-DVIDEO_HOLE=1' \
294	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
295	'-DSTORAGE_BROWSER_IMPLEMENTATION' \
296	'-DPOSIX_AVOID_MMAP' \
297	'-DSK_ENABLE_INST_COUNT=0' \
298	'-DSK_SUPPORT_GPU=1' \
299	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
300	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
301	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
302	'-DGR_GL_IGNORE_ES3_MSAA=0' \
303	'-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
304	'-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \
305	'-DSK_BUILD_FOR_ANDROID' \
306	'-DSK_USE_POSIX_THREADS' \
307	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
308	'-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \
309	'-DU_USING_ICU_NAMESPACE=0' \
310	'-DU_ENABLE_DYLOAD=0' \
311	'-DCHROME_PNG_WRITE_SUPPORT' \
312	'-DPNG_USER_CONFIG' \
313	'-DCHROME_PNG_READ_PACK_SUPPORT' \
314	'-DUSE_OPENSSL=1' \
315	'-DUSE_OPENSSL_CERTS=1' \
316	'-D__STDC_CONSTANT_MACROS' \
317	'-D__STDC_FORMAT_MACROS' \
318	'-DANDROID' \
319	'-D__GNU_SOURCE=1' \
320	'-DUSE_STLPORT=1' \
321	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
322	'-DCHROME_BUILD_ID=""' \
323	'-DNDEBUG' \
324	'-DNVALGRIND' \
325	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
326	'-D_FORTIFY_SOURCE=2'
327
328
329# Include paths placed before CFLAGS/CPPFLAGS
330LOCAL_C_INCLUDES_Release := \
331	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
332	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
333	$(gyp_shared_intermediate_dir) \
334	$(LOCAL_PATH)/third_party/WebKit/Source \
335	$(LOCAL_PATH) \
336	$(LOCAL_PATH)/skia/config \
337	$(LOCAL_PATH)/third_party/khronos \
338	$(LOCAL_PATH)/gpu \
339	$(LOCAL_PATH)/third_party/leveldatabase/src/include \
340	$(LOCAL_PATH)/third_party/leveldatabase/src \
341	$(LOCAL_PATH)/third_party/leveldatabase \
342	$(LOCAL_PATH)/third_party/sqlite \
343	$(LOCAL_PATH)/third_party/WebKit \
344	$(LOCAL_PATH)/third_party/skia/src/core \
345	$(LOCAL_PATH)/third_party/skia/include/core \
346	$(LOCAL_PATH)/third_party/skia/include/effects \
347	$(LOCAL_PATH)/third_party/skia/include/pdf \
348	$(LOCAL_PATH)/third_party/skia/include/gpu \
349	$(LOCAL_PATH)/third_party/skia/include/lazy \
350	$(LOCAL_PATH)/third_party/skia/include/pathops \
351	$(LOCAL_PATH)/third_party/skia/include/pipe \
352	$(LOCAL_PATH)/third_party/skia/include/ports \
353	$(LOCAL_PATH)/third_party/skia/include/utils \
354	$(LOCAL_PATH)/skia/ext \
355	$(PWD)/external/icu/icu4c/source/common \
356	$(PWD)/external/icu/icu4c/source/i18n \
357	$(LOCAL_PATH)/third_party/npapi \
358	$(LOCAL_PATH)/third_party/npapi/bindings \
359	$(LOCAL_PATH)/v8/include \
360	$(LOCAL_PATH)/third_party/libpng \
361	$(LOCAL_PATH)/third_party/zlib \
362	$(LOCAL_PATH)/third_party/libwebp \
363	$(LOCAL_PATH)/third_party/ots/include \
364	$(LOCAL_PATH)/third_party/qcms/src \
365	$(LOCAL_PATH)/third_party/iccjpeg \
366	$(LOCAL_PATH)/third_party/libjpeg_turbo \
367	$(PWD)/frameworks/wilhelm/include \
368	$(PWD)/bionic \
369	$(PWD)/external/stlport/stlport
370
371
372# Flags passed to only C++ (and not C) files.
373LOCAL_CPPFLAGS_Release := \
374	-fno-exceptions \
375	-fno-rtti \
376	-fno-threadsafe-statics \
377	-fvisibility-inlines-hidden \
378	-Wsign-compare \
379	-std=gnu++11 \
380	-Wno-narrowing \
381	-Wno-literal-suffix \
382	-Wno-non-virtual-dtor \
383	-Wno-sign-promo
384
385
386LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
387LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
388LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
389LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
390### Rules for final target.
391
392LOCAL_SHARED_LIBRARIES := \
393	libstlport \
394	libdl
395
396# Add target alias to "gyp_all_modules" target.
397.PHONY: gyp_all_modules
398gyp_all_modules: storage_storage_gyp
399
400# Alias gyp target name.
401.PHONY: storage
402storage: storage_storage_gyp
403
404include $(BUILD_STATIC_LIBRARY)
405