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 'variables': { | 6 'variables': { |
7 'conditions': [ | 7 'conditions': [ |
8 ['inside_chromium_build==0', { | 8 ['inside_chromium_build==0', { |
9 'webkit_src_dir': '../../../../..', | 9 'webkit_src_dir': '../../../../..', |
10 },{ | 10 },{ |
11 'webkit_src_dir': '../../third_party/WebKit', | 11 'webkit_src_dir': '../../third_party/WebKit', |
12 }], | 12 }], |
13 ], | 13 ], |
14 }, | 14 }, |
15 'includes': [ | 15 'includes': [ |
16 '../appcache/webkit_appcache.gypi', | 16 '../appcache/webkit_appcache.gypi', |
17 '../blob/webkit_blob.gypi', | 17 '../blob/webkit_blob.gypi', |
| 18 '../database/webkit_database.gypi', |
18 '../dom_storage/webkit_dom_storage.gypi', | 19 '../dom_storage/webkit_dom_storage.gypi', |
19 '../fileapi/webkit_fileapi.gypi', | 20 '../fileapi/webkit_fileapi.gypi', |
| 21 '../quota/webkit_quota.gypi', |
20 ], | 22 ], |
21 'targets': [ | 23 'targets': [ |
22 { | 24 { |
23 'target_name': 'webkit_storage', | 25 'target_name': 'webkit_storage', |
24 'type': '<(component)', | 26 'type': '<(component)', |
25 'variables': { 'enable_wexit_time_destructors': 1, }, | 27 'variables': { 'enable_wexit_time_destructors': 1, }, |
26 'dependencies': [ | 28 'dependencies': [ |
27 '<(DEPTH)/base/base.gyp:base', | 29 '<(DEPTH)/base/base.gyp:base', |
28 '<(DEPTH)/base/base.gyp:base_i18n', | 30 '<(DEPTH)/base/base.gyp:base_i18n', |
29 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', | 31 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', |
30 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', | 32 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', |
31 '<(DEPTH)/net/net.gyp:net', | 33 '<(DEPTH)/net/net.gyp:net', |
32 '<(DEPTH)/sql/sql.gyp:sql', | 34 '<(DEPTH)/sql/sql.gyp:sql', |
33 '<(DEPTH)/third_party/leveldatabase/leveldatabase.gyp:leveldatabase', | 35 '<(DEPTH)/third_party/leveldatabase/leveldatabase.gyp:leveldatabase', |
34 '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite', | 36 '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite', |
35 '<(DEPTH)/webkit/support/webkit_support.gyp:database', | |
36 '<(DEPTH)/webkit/support/webkit_support.gyp:quota', | |
37 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_base', | 37 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_base', |
38 '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit', | 38 '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit', |
39 ], | 39 ], |
40 'defines': ['WEBKIT_STORAGE_IMPLEMENTATION'], | 40 'defines': ['WEBKIT_STORAGE_IMPLEMENTATION'], |
41 'sources': [ | 41 'sources': [ |
42 # TODO(hashimoto): Import all storage related modules. crbug.com/155242 | |
43 '../storage/webkit_storage_export.h', | 42 '../storage/webkit_storage_export.h', |
44 '<@(webkit_appcache_sources)', | 43 '<@(webkit_appcache_sources)', |
45 '<@(webkit_blob_sources)', | 44 '<@(webkit_blob_sources)', |
| 45 '<@(webkit_database_sources)', |
46 '<@(webkit_dom_storage_sources)', | 46 '<@(webkit_dom_storage_sources)', |
47 '<@(webkit_fileapi_sources)', | 47 '<@(webkit_fileapi_sources)', |
| 48 '<@(webkit_quota_sources)', |
48 ], | 49 ], |
49 'conditions': [ | 50 'conditions': [ |
50 ['inside_chromium_build==0', { | 51 ['inside_chromium_build==0', { |
51 'dependencies': [ | 52 'dependencies': [ |
52 '<(DEPTH)/webkit/support/setup_third_party.gyp:third_party_headers', | 53 '<(DEPTH)/webkit/support/setup_third_party.gyp:third_party_headers', |
53 ], | 54 ], |
54 }], | 55 }], |
55 ['chromeos==1', { | 56 ['chromeos==1', { |
56 'sources': [ | 57 'sources': [ |
57 '<@(webkit_fileapi_chromeos_sources)', | 58 '<@(webkit_fileapi_chromeos_sources)', |
58 ], | 59 ], |
59 }], | 60 }], |
60 ['OS=="linux" or chromeos==1', { | 61 ['OS=="linux" or chromeos==1', { |
61 'sources': [ | 62 'sources': [ |
62 '<@(webkit_fileapi_media_sources)', | 63 '<@(webkit_fileapi_media_sources)', |
63 ], | 64 ], |
64 }], | 65 }], |
65 ], | 66 ], |
66 }, | 67 }, |
67 ], | 68 ], |
68 } | 69 } |
OLD | NEW |