OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'dom_storage', | 8 'target_name': 'dom_storage', |
9 'type': 'static_library', | 9 'type': '<(component)', |
10 'variables': { 'enable_wexit_time_destructors': 1, }, | 10 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 11 'defines': ['DOM_STORAGE_IMPLEMENTATION'], |
11 'dependencies': [ | 12 'dependencies': [ |
12 '<(DEPTH)/base/base.gyp:base', | 13 '<(DEPTH)/base/base.gyp:base', |
13 '<(DEPTH)/sql/sql.gyp:sql', | 14 '<(DEPTH)/sql/sql.gyp:sql', |
14 '<(DEPTH)/third_party/leveldatabase/leveldatabase.gyp:leveldatabase', | 15 '<(DEPTH)/third_party/leveldatabase/leveldatabase.gyp:leveldatabase', |
15 '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite', | 16 '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite', |
| 17 '<(DEPTH)/webkit/support/webkit_support.gyp:database', |
16 '<(DEPTH)/webkit/support/webkit_support.gyp:quota', | 18 '<(DEPTH)/webkit/support/webkit_support.gyp:quota', |
| 19 '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit', |
| 20 'fileapi', |
| 21 'glue', |
17 ], | 22 ], |
18 'sources': [ | 23 'sources': [ |
19 'dom_storage_area.cc', | 24 'dom_storage_area.cc', |
20 'dom_storage_area.h', | 25 'dom_storage_area.h', |
21 'dom_storage_cached_area.cc', | 26 'dom_storage_cached_area.cc', |
22 'dom_storage_cached_area.h', | 27 'dom_storage_cached_area.h', |
23 'dom_storage_context.cc', | 28 'dom_storage_context.cc', |
24 'dom_storage_context.h', | 29 'dom_storage_context.h', |
25 'dom_storage_database.cc', | 30 'dom_storage_database.cc', |
26 'dom_storage_database.h', | 31 'dom_storage_database.h', |
27 'dom_storage_database_adapter.h', | 32 'dom_storage_database_adapter.h', |
| 33 'dom_storage_export.h', |
28 'dom_storage_host.cc', | 34 'dom_storage_host.cc', |
29 'dom_storage_host.h', | 35 'dom_storage_host.h', |
30 'dom_storage_map.cc', | 36 'dom_storage_map.cc', |
31 'dom_storage_map.h', | 37 'dom_storage_map.h', |
32 'dom_storage_namespace.cc', | 38 'dom_storage_namespace.cc', |
33 'dom_storage_namespace.h', | 39 'dom_storage_namespace.h', |
34 'dom_storage_proxy.h', | 40 'dom_storage_proxy.h', |
35 'dom_storage_session.cc', | 41 'dom_storage_session.cc', |
36 'dom_storage_session.h', | 42 'dom_storage_session.h', |
37 'dom_storage_task_runner.cc', | 43 'dom_storage_task_runner.cc', |
38 'dom_storage_task_runner.h', | 44 'dom_storage_task_runner.h', |
39 'dom_storage_types.h', | 45 'dom_storage_types.h', |
40 'local_storage_database_adapter.cc', | 46 'local_storage_database_adapter.cc', |
41 'local_storage_database_adapter.h', | 47 'local_storage_database_adapter.h', |
42 'session_storage_database.cc', | 48 'session_storage_database.cc', |
43 'session_storage_database.h', | 49 'session_storage_database.h', |
44 'session_storage_database_adapter.cc', | 50 'session_storage_database_adapter.cc', |
45 'session_storage_database_adapter.h', | 51 'session_storage_database_adapter.h', |
46 ], | 52 ], |
47 'conditions': [ | 53 'conditions': [ |
48 ['inside_chromium_build==0', { | 54 ['inside_chromium_build==0', { |
49 'dependencies': [ | 55 'dependencies': [ |
50 '<(DEPTH)/webkit/support/setup_third_party.gyp:third_party_headers', | 56 '<(DEPTH)/webkit/support/setup_third_party.gyp:third_party_headers', |
51 ], | 57 ], |
52 }], | 58 }], |
53 ], | 59 ], |
54 }, | 60 }, |
55 ], | 61 ], |
56 } | 62 } |
OLD | NEW |