Home | History | Annotate | Download | only in webkit
      1 # This file is generated by gyp; do not edit.
      2 
      3 include $(CLEAR_VARS)
      4 
      5 LOCAL_MODULE_CLASS := STATIC_LIBRARIES
      6 LOCAL_MODULE := webkit_webkit_storage_browser_gyp
      7 LOCAL_MODULE_SUFFIX := .a
      8 LOCAL_MODULE_TAGS := optional
      9 gyp_intermediate_dir := $(call local-intermediates-dir)
     10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared)
     11 
     12 # Make sure our deps are built first.
     13 GYP_TARGET_DEPENDENCIES := \
     14 	$(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_gyp)/blink.stamp
     15 
     16 GYP_GENERATED_OUTPUTS :=
     17 
     18 # Make sure our deps and generated files are built first.
     19 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     20 
     21 LOCAL_CPP_EXTENSION := .cc
     22 LOCAL_GENERATED_SOURCES :=
     23 
     24 GYP_COPIED_SOURCE_ORIGIN_DIRS :=
     25 
     26 LOCAL_SRC_FILES := \
     27 	webkit/browser/appcache/appcache.cc \
     28 	webkit/browser/appcache/appcache_backend_impl.cc \
     29 	webkit/browser/appcache/appcache_database.cc \
     30 	webkit/browser/appcache/appcache_disk_cache.cc \
     31 	webkit/browser/appcache/appcache_group.cc \
     32 	webkit/browser/appcache/appcache_histograms.cc \
     33 	webkit/browser/appcache/appcache_host.cc \
     34 	webkit/browser/appcache/appcache_interceptor.cc \
     35 	webkit/browser/appcache/appcache_quota_client.cc \
     36 	webkit/browser/appcache/appcache_request_handler.cc \
     37 	webkit/browser/appcache/appcache_response.cc \
     38 	webkit/browser/appcache/appcache_service.cc \
     39 	webkit/browser/appcache/appcache_storage.cc \
     40 	webkit/browser/appcache/appcache_storage_impl.cc \
     41 	webkit/browser/appcache/appcache_working_set.cc \
     42 	webkit/browser/appcache/appcache_update_job.cc \
     43 	webkit/browser/appcache/appcache_url_request_job.cc \
     44 	webkit/browser/appcache/manifest_parser.cc \
     45 	webkit/browser/appcache/view_appcache_internals_job.cc \
     46 	webkit/browser/blob/blob_data_handle.cc \
     47 	webkit/browser/blob/blob_storage_context.cc \
     48 	webkit/browser/blob/blob_storage_host.cc \
     49 	webkit/browser/blob/blob_url_request_job.cc \
     50 	webkit/browser/blob/blob_url_request_job_factory.cc \
     51 	webkit/browser/blob/local_file_stream_reader.cc \
     52 	webkit/browser/blob/view_blob_internals_job.cc \
     53 	webkit/browser/database/database_quota_client.cc \
     54 	webkit/browser/database/database_tracker.cc \
     55 	webkit/browser/database/database_util.cc \
     56 	webkit/browser/database/databases_table.cc \
     57 	webkit/browser/database/vfs_backend.cc \
     58 	webkit/browser/fileapi/async_file_util_adapter.cc \
     59 	webkit/browser/fileapi/copy_or_move_operation_delegate.cc \
     60 	webkit/browser/fileapi/dragged_file_util.cc \
     61 	webkit/browser/fileapi/external_mount_points.cc \
     62 	webkit/browser/fileapi/file_system_context.cc \
     63 	webkit/browser/fileapi/file_system_dir_url_request_job.cc \
     64 	webkit/browser/fileapi/file_system_file_stream_reader.cc \
     65 	webkit/browser/fileapi/file_system_file_util.cc \
     66 	webkit/browser/fileapi/file_system_operation_context.cc \
     67 	webkit/browser/fileapi/file_system_operation_impl.cc \
     68 	webkit/browser/fileapi/file_system_operation_runner.cc \
     69 	webkit/browser/fileapi/file_system_options.cc \
     70 	webkit/browser/fileapi/file_system_quota_client.cc \
     71 	webkit/browser/fileapi/file_system_url.cc \
     72 	webkit/browser/fileapi/file_system_url_request_job.cc \
     73 	webkit/browser/fileapi/file_system_url_request_job_factory.cc \
     74 	webkit/browser/fileapi/file_system_usage_cache.cc \
     75 	webkit/browser/fileapi/file_writer_delegate.cc \
     76 	webkit/browser/fileapi/isolated_context.cc \
     77 	webkit/browser/fileapi/isolated_file_system_backend.cc \
     78 	webkit/browser/fileapi/local_file_stream_writer.cc \
     79 	webkit/browser/fileapi/local_file_util.cc \
     80 	webkit/browser/fileapi/mount_points.cc \
     81 	webkit/browser/fileapi/native_file_util.cc \
     82 	webkit/browser/fileapi/obfuscated_file_util.cc \
     83 	webkit/browser/fileapi/plugin_private_file_system_backend.cc \
     84 	webkit/browser/fileapi/quota/open_file_handle.cc \
     85 	webkit/browser/fileapi/quota/open_file_handle_context.cc \
     86 	webkit/browser/fileapi/quota/quota_backend_impl.cc \
     87 	webkit/browser/fileapi/quota/quota_reservation.cc \
     88 	webkit/browser/fileapi/quota/quota_reservation_buffer.cc \
     89 	webkit/browser/fileapi/quota/quota_reservation_manager.cc \
     90 	webkit/browser/fileapi/recursive_operation_delegate.cc \
     91 	webkit/browser/fileapi/remove_operation_delegate.cc \
     92 	webkit/browser/fileapi/sandbox_directory_database.cc \
     93 	webkit/browser/fileapi/sandbox_file_stream_writer.cc \
     94 	webkit/browser/fileapi/sandbox_file_system_backend.cc \
     95 	webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc \
     96 	webkit/browser/fileapi/sandbox_isolated_origin_database.cc \
     97 	webkit/browser/fileapi/sandbox_origin_database.cc \
     98 	webkit/browser/fileapi/sandbox_origin_database_interface.cc \
     99 	webkit/browser/fileapi/sandbox_prioritized_origin_database.cc \
    100 	webkit/browser/fileapi/sandbox_quota_observer.cc \
    101 	webkit/browser/fileapi/timed_task_helper.cc \
    102 	webkit/browser/fileapi/transient_file_util.cc \
    103 	webkit/browser/fileapi/upload_file_system_file_element_reader.cc \
    104 	webkit/browser/quota/quota_database.cc \
    105 	webkit/browser/quota/quota_manager.cc \
    106 	webkit/browser/quota/quota_task.cc \
    107 	webkit/browser/quota/quota_temporary_storage_evictor.cc \
    108 	webkit/browser/quota/special_storage_policy.cc \
    109 	webkit/browser/quota/usage_tracker.cc
    110 
    111 
    112 # Flags passed to both C and C++ files.
    113 MY_CFLAGS_Debug := \
    114 	--param=ssp-buffer-size=4 \
    115 	-Werror \
    116 	-fno-exceptions \
    117 	-fno-strict-aliasing \
    118 	-Wall \
    119 	-Wno-unused-parameter \
    120 	-Wno-missing-field-initializers \
    121 	-fvisibility=hidden \
    122 	-pipe \
    123 	-fPIC \
    124 	-m32 \
    125 	-mmmx \
    126 	-march=pentium4 \
    127 	-msse2 \
    128 	-mfpmath=sse \
    129 	-fuse-ld=gold \
    130 	-ffunction-sections \
    131 	-funwind-tables \
    132 	-g \
    133 	-fno-short-enums \
    134 	-finline-limit=64 \
    135 	-Wa,--noexecstack \
    136 	-U_FORTIFY_SOURCE \
    137 	-Wno-extra \
    138 	-Wno-ignored-qualifiers \
    139 	-Wno-type-limits \
    140 	-fno-stack-protector \
    141 	-Os \
    142 	-g \
    143 	-fomit-frame-pointer \
    144 	-fdata-sections \
    145 	-ffunction-sections
    146 
    147 MY_DEFS_Debug := \
    148 	'-DV8_DEPRECATION_WARNINGS' \
    149 	'-D_FILE_OFFSET_BITS=64' \
    150 	'-DNO_TCMALLOC' \
    151 	'-DDISABLE_NACL' \
    152 	'-DCHROMIUM_BUILD' \
    153 	'-DUSE_LIBJPEG_TURBO=1' \
    154 	'-DUSE_PROPRIETARY_CODECS' \
    155 	'-DENABLE_CONFIGURATION_POLICY' \
    156 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    157 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    158 	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
    159 	'-DUSE_OPENSSL=1' \
    160 	'-DENABLE_EGLIMAGE=1' \
    161 	'-DCLD_VERSION=1' \
    162 	'-DENABLE_PRINTING=1' \
    163 	'-DENABLE_MANAGED_USERS=1' \
    164 	'-DWEBKIT_STORAGE_BROWSER_IMPLEMENTATION' \
    165 	'-DAPPCACHE_USE_SIMPLE_CACHE' \
    166 	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
    167 	'-DU_USING_ICU_NAMESPACE=0' \
    168 	'-DCHROME_PNG_WRITE_SUPPORT' \
    169 	'-DPNG_USER_CONFIG' \
    170 	'-DCHROME_PNG_READ_PACK_SUPPORT' \
    171 	'-DUSE_SYSTEM_LIBJPEG' \
    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
    185 LOCAL_C_INCLUDES_Debug := \
    186 	$(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \
    187 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    188 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    189 	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
    190 	$(LOCAL_PATH) \
    191 	$(LOCAL_PATH)/skia/config \
    192 	$(LOCAL_PATH)/third_party/WebKit/Source \
    193 	$(LOCAL_PATH)/third_party/khronos \
    194 	$(LOCAL_PATH)/gpu \
    195 	$(LOCAL_PATH)/third_party/leveldatabase/src/include \
    196 	$(LOCAL_PATH)/third_party/leveldatabase/src \
    197 	$(LOCAL_PATH)/third_party/leveldatabase \
    198 	$(LOCAL_PATH)/third_party/sqlite \
    199 	$(LOCAL_PATH)/third_party/WebKit \
    200 	$(PWD)/external/skia/include \
    201 	$(PWD)/external/skia/include/core \
    202 	$(LOCAL_PATH)/third_party/skia/src/core \
    203 	$(LOCAL_PATH)/skia/ext \
    204 	$(PWD)/external/icu4c/common \
    205 	$(PWD)/external/icu4c/i18n \
    206 	$(LOCAL_PATH)/third_party/npapi \
    207 	$(LOCAL_PATH)/third_party/npapi/bindings \
    208 	$(LOCAL_PATH)/v8/include \
    209 	$(LOCAL_PATH)/third_party/libpng \
    210 	$(LOCAL_PATH)/third_party/zlib \
    211 	$(LOCAL_PATH)/third_party/libwebp \
    212 	$(LOCAL_PATH)/third_party/ots/include \
    213 	$(LOCAL_PATH)/third_party/qcms/src \
    214 	$(LOCAL_PATH)/third_party/iccjpeg \
    215 	$(PWD)/external/jpeg \
    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.
    222 LOCAL_CPPFLAGS_Debug := \
    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 
    232 # Flags passed to both C and C++ files.
    233 MY_CFLAGS_Release := \
    234 	--param=ssp-buffer-size=4 \
    235 	-Werror \
    236 	-fno-exceptions \
    237 	-fno-strict-aliasing \
    238 	-Wall \
    239 	-Wno-unused-parameter \
    240 	-Wno-missing-field-initializers \
    241 	-fvisibility=hidden \
    242 	-pipe \
    243 	-fPIC \
    244 	-m32 \
    245 	-mmmx \
    246 	-march=pentium4 \
    247 	-msse2 \
    248 	-mfpmath=sse \
    249 	-fuse-ld=gold \
    250 	-ffunction-sections \
    251 	-funwind-tables \
    252 	-g \
    253 	-fno-short-enums \
    254 	-finline-limit=64 \
    255 	-Wa,--noexecstack \
    256 	-U_FORTIFY_SOURCE \
    257 	-Wno-extra \
    258 	-Wno-ignored-qualifiers \
    259 	-Wno-type-limits \
    260 	-fno-stack-protector \
    261 	-Os \
    262 	-fno-ident \
    263 	-fdata-sections \
    264 	-ffunction-sections \
    265 	-fomit-frame-pointer \
    266 	-fno-unwind-tables \
    267 	-fno-asynchronous-unwind-tables
    268 
    269 MY_DEFS_Release := \
    270 	'-DV8_DEPRECATION_WARNINGS' \
    271 	'-D_FILE_OFFSET_BITS=64' \
    272 	'-DNO_TCMALLOC' \
    273 	'-DDISABLE_NACL' \
    274 	'-DCHROMIUM_BUILD' \
    275 	'-DUSE_LIBJPEG_TURBO=1' \
    276 	'-DUSE_PROPRIETARY_CODECS' \
    277 	'-DENABLE_CONFIGURATION_POLICY' \
    278 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    279 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    280 	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
    281 	'-DUSE_OPENSSL=1' \
    282 	'-DENABLE_EGLIMAGE=1' \
    283 	'-DCLD_VERSION=1' \
    284 	'-DENABLE_PRINTING=1' \
    285 	'-DENABLE_MANAGED_USERS=1' \
    286 	'-DWEBKIT_STORAGE_BROWSER_IMPLEMENTATION' \
    287 	'-DAPPCACHE_USE_SIMPLE_CACHE' \
    288 	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
    289 	'-DU_USING_ICU_NAMESPACE=0' \
    290 	'-DCHROME_PNG_WRITE_SUPPORT' \
    291 	'-DPNG_USER_CONFIG' \
    292 	'-DCHROME_PNG_READ_PACK_SUPPORT' \
    293 	'-DUSE_SYSTEM_LIBJPEG' \
    294 	'-D__STDC_CONSTANT_MACROS' \
    295 	'-D__STDC_FORMAT_MACROS' \
    296 	'-DANDROID' \
    297 	'-D__GNU_SOURCE=1' \
    298 	'-DUSE_STLPORT=1' \
    299 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    300 	'-DCHROME_BUILD_ID=""' \
    301 	'-DNDEBUG' \
    302 	'-DNVALGRIND' \
    303 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    304 	'-D_FORTIFY_SOURCE=2'
    305 
    306 
    307 # Include paths placed before CFLAGS/CPPFLAGS
    308 LOCAL_C_INCLUDES_Release := \
    309 	$(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \
    310 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    311 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    312 	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
    313 	$(LOCAL_PATH) \
    314 	$(LOCAL_PATH)/skia/config \
    315 	$(LOCAL_PATH)/third_party/WebKit/Source \
    316 	$(LOCAL_PATH)/third_party/khronos \
    317 	$(LOCAL_PATH)/gpu \
    318 	$(LOCAL_PATH)/third_party/leveldatabase/src/include \
    319 	$(LOCAL_PATH)/third_party/leveldatabase/src \
    320 	$(LOCAL_PATH)/third_party/leveldatabase \
    321 	$(LOCAL_PATH)/third_party/sqlite \
    322 	$(LOCAL_PATH)/third_party/WebKit \
    323 	$(PWD)/external/skia/include \
    324 	$(PWD)/external/skia/include/core \
    325 	$(LOCAL_PATH)/third_party/skia/src/core \
    326 	$(LOCAL_PATH)/skia/ext \
    327 	$(PWD)/external/icu4c/common \
    328 	$(PWD)/external/icu4c/i18n \
    329 	$(LOCAL_PATH)/third_party/npapi \
    330 	$(LOCAL_PATH)/third_party/npapi/bindings \
    331 	$(LOCAL_PATH)/v8/include \
    332 	$(LOCAL_PATH)/third_party/libpng \
    333 	$(LOCAL_PATH)/third_party/zlib \
    334 	$(LOCAL_PATH)/third_party/libwebp \
    335 	$(LOCAL_PATH)/third_party/ots/include \
    336 	$(LOCAL_PATH)/third_party/qcms/src \
    337 	$(LOCAL_PATH)/third_party/iccjpeg \
    338 	$(PWD)/external/jpeg \
    339 	$(PWD)/frameworks/wilhelm/include \
    340 	$(PWD)/bionic \
    341 	$(PWD)/external/stlport/stlport
    342 
    343 
    344 # Flags passed to only C++ (and not C) files.
    345 LOCAL_CPPFLAGS_Release := \
    346 	-fno-rtti \
    347 	-fno-threadsafe-statics \
    348 	-fvisibility-inlines-hidden \
    349 	-Wsign-compare \
    350 	-Wno-error=c++0x-compat \
    351 	-Wno-non-virtual-dtor \
    352 	-Wno-sign-promo
    353 
    354 
    355 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    356 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    357 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    358 ### Rules for final target.
    359 
    360 LOCAL_LDFLAGS_Debug := \
    361 	-Wl,-z,now \
    362 	-Wl,-z,relro \
    363 	-Wl,-z,noexecstack \
    364 	-fPIC \
    365 	-m32 \
    366 	-fuse-ld=gold \
    367 	-nostdlib \
    368 	-Wl,--no-undefined \
    369 	-Wl,--exclude-libs=ALL \
    370 	-Wl,--fatal-warnings \
    371 	-Wl,--gc-sections \
    372 	-Wl,--warn-shared-textrel \
    373 	-Wl,-O1 \
    374 	-Wl,--as-needed
    375 
    376 
    377 LOCAL_LDFLAGS_Release := \
    378 	-Wl,-z,now \
    379 	-Wl,-z,relro \
    380 	-Wl,-z,noexecstack \
    381 	-fPIC \
    382 	-m32 \
    383 	-fuse-ld=gold \
    384 	-nostdlib \
    385 	-Wl,--no-undefined \
    386 	-Wl,--exclude-libs=ALL \
    387 	-Wl,-O1 \
    388 	-Wl,--as-needed \
    389 	-Wl,--gc-sections \
    390 	-Wl,--fatal-warnings \
    391 	-Wl,--warn-shared-textrel
    392 
    393 
    394 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
    395 
    396 LOCAL_STATIC_LIBRARIES :=
    397 
    398 # Enable grouping to fix circular references
    399 LOCAL_GROUP_STATIC_LIBRARIES := true
    400 
    401 LOCAL_SHARED_LIBRARIES := \
    402 	libskia \
    403 	libstlport \
    404 	libdl
    405 
    406 # Add target alias to "gyp_all_modules" target.
    407 .PHONY: gyp_all_modules
    408 gyp_all_modules: webkit_webkit_storage_browser_gyp
    409 
    410 # Alias gyp target name.
    411 .PHONY: webkit_storage_browser
    412 webkit_storage_browser: webkit_webkit_storage_browser_gyp
    413 
    414 include $(BUILD_STATIC_LIBRARY)
    415