| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # GYP version: webkit/common/webkit_common.gyp:webkit_common | 5 # GYP version: webkit/common/webkit_common.gyp:webkit_common |
| 6 component("common") { | 6 component("common") { |
| 7 output_name = "webkit_common" | 7 output_name = "webkit_common" |
| 8 | 8 |
| 9 sources = [ | 9 sources = [ |
| 10 "data_element.cc", | 10 "data_element.cc", |
| 11 "data_element.h", | 11 "data_element.h", |
| 12 "webkit_common_export.h", | 12 "webkit_common_export.h", |
| 13 ] | 13 ] |
| 14 | 14 |
| 15 defines = [ "WEBKIT_COMMON_IMPLEMENTATION" ] | 15 defines = [ "WEBKIT_COMMON_IMPLEMENTATION" ] |
| 16 | 16 |
| 17 deps = [ | 17 deps = [ |
| 18 "//base", | 18 "//base", |
| 19 "//url", | 19 "//url", |
| 20 ] | 20 ] |
| 21 } | 21 } |
| 22 | 22 |
| 23 component("storage") { | 23 component("storage_common") { |
| 24 output_name = "storage_common" | 24 output_name = "storage" |
| 25 sources = [ | 25 sources = [ |
| 26 "storage_export.h", | 26 "storage_common_export.h", |
| 27 "blob/blob_data.cc", | 27 "blob/blob_data.cc", |
| 28 "blob/blob_data.h", | 28 "blob/blob_data.h", |
| 29 "blob/scoped_file.cc", | 29 "blob/scoped_file.cc", |
| 30 "blob/scoped_file.h", | 30 "blob/scoped_file.h", |
| 31 "blob/shareable_file_reference.cc", | 31 "blob/shareable_file_reference.cc", |
| 32 "blob/shareable_file_reference.h", | 32 "blob/shareable_file_reference.h", |
| 33 "database/database_connections.cc", | 33 "database/database_connections.cc", |
| 34 "database/database_connections.h", | 34 "database/database_connections.h", |
| 35 "database/database_identifier.cc", | 35 "database/database_identifier.cc", |
| 36 "database/database_identifier.h", | 36 "database/database_identifier.h", |
| 37 "fileapi/directory_entry.cc", | 37 "fileapi/directory_entry.cc", |
| 38 "fileapi/directory_entry.h", | 38 "fileapi/directory_entry.h", |
| 39 "fileapi/file_system_info.cc", | 39 "fileapi/file_system_info.cc", |
| 40 "fileapi/file_system_info.h", | 40 "fileapi/file_system_info.h", |
| 41 "fileapi/file_system_mount_option.h", | 41 "fileapi/file_system_mount_option.h", |
| 42 "fileapi/file_system_types.h", | 42 "fileapi/file_system_types.h", |
| 43 "fileapi/file_system_util.cc", | 43 "fileapi/file_system_util.cc", |
| 44 "fileapi/file_system_util.h", | 44 "fileapi/file_system_util.h", |
| 45 "quota/quota_status_code.cc", | 45 "quota/quota_status_code.cc", |
| 46 "quota/quota_status_code.h", | 46 "quota/quota_status_code.h", |
| 47 "quota/quota_types.h", | 47 "quota/quota_types.h", |
| 48 ] | 48 ] |
| 49 | 49 |
| 50 defines = [ "WEBKIT_STORAGE_COMMON_IMPLEMENTATION" ] | 50 defines = [ "STORAGE_COMMON_IMPLEMENTATION" ] |
| 51 if (is_win) { | 51 if (is_win) { |
| 52 cflags = [ "/wd4267" ] # TODO(jschuh): fix size_t to int truncations. | 52 cflags = [ "/wd4267" ] # TODO(jschuh): fix size_t to int truncations. |
| 53 } | 53 } |
| 54 | 54 |
| 55 deps = [ | 55 deps = [ |
| 56 ":common", | 56 ":common", |
| 57 "//base", | 57 "//base", |
| 58 "//base/third_party/dynamic_annotations", | 58 "//base/third_party/dynamic_annotations", |
| 59 "//net", | 59 "//net", |
| 60 "//url", | 60 "//url", |
| 61 ] | 61 ] |
| 62 } | 62 } |
| OLD | NEW |