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: storage/storage_common.gyp:storage_common |
6 component("common") { | 6 component("common") { |
7 output_name = "webkit_common" | 7 output_name = "storage_common" |
8 | |
9 sources = [ | 8 sources = [ |
10 "data_element.cc", | 9 "data_element.cc", |
11 "data_element.h", | 10 "data_element.h", |
12 "webkit_common_export.h", | |
13 ] | |
14 | |
15 defines = [ "WEBKIT_COMMON_IMPLEMENTATION" ] | |
16 | |
17 deps = [ | |
18 "//base", | |
19 "//url", | |
20 ] | |
21 } | |
22 | |
23 component("storage_common") { | |
24 output_name = "storage" | |
25 sources = [ | |
26 "storage_common_export.h", | 11 "storage_common_export.h", |
27 "blob/blob_data.cc", | 12 "blob/blob_data.cc", |
28 "blob/blob_data.h", | 13 "blob/blob_data.h", |
29 "blob/scoped_file.cc", | 14 "blob/scoped_file.cc", |
30 "blob/scoped_file.h", | 15 "blob/scoped_file.h", |
31 "blob/shareable_file_reference.cc", | 16 "blob/shareable_file_reference.cc", |
32 "blob/shareable_file_reference.h", | 17 "blob/shareable_file_reference.h", |
33 "database/database_connections.cc", | 18 "database/database_connections.cc", |
34 "database/database_connections.h", | 19 "database/database_connections.h", |
35 "database/database_identifier.cc", | 20 "database/database_identifier.cc", |
(...skipping 10 matching lines...) Expand all Loading... |
46 "quota/quota_status_code.h", | 31 "quota/quota_status_code.h", |
47 "quota/quota_types.h", | 32 "quota/quota_types.h", |
48 ] | 33 ] |
49 | 34 |
50 defines = [ "STORAGE_COMMON_IMPLEMENTATION" ] | 35 defines = [ "STORAGE_COMMON_IMPLEMENTATION" ] |
51 if (is_win) { | 36 if (is_win) { |
52 cflags = [ "/wd4267" ] # TODO(jschuh): fix size_t to int truncations. | 37 cflags = [ "/wd4267" ] # TODO(jschuh): fix size_t to int truncations. |
53 } | 38 } |
54 | 39 |
55 deps = [ | 40 deps = [ |
56 ":common", | |
57 "//base", | 41 "//base", |
58 "//base/third_party/dynamic_annotations", | 42 "//base/third_party/dynamic_annotations", |
59 "//net", | 43 "//net", |
60 "//url", | 44 "//url", |
61 ] | 45 ] |
62 } | 46 } |
OLD | NEW |