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 'includes': [ | 6 'includes': [ |
7 '../appcache/webkit_appcache.gypi', | 7 '../appcache/webkit_appcache.gypi', |
8 '../dom_storage/webkit_dom_storage.gypi', | 8 '../dom_storage/webkit_dom_storage.gypi', |
9 '../quota/webkit_quota.gypi', | |
10 | 9 |
11 # TODO(kinuko): Deprecate this when we have a new target for | 10 # TODO(kinuko): Deprecate this when we have a new target for |
12 # webkit_browser. crbug.com/239710 | 11 # webkit_browser. crbug.com/239710 |
13 '../browser/webkit_browser.gypi', | 12 '../browser/webkit_browser.gypi', |
14 '../common/webkit_common.gypi', | 13 '../common/webkit_common.gypi', |
15 ], | 14 ], |
16 'targets': [ | 15 'targets': [ |
17 { | 16 { |
18 'target_name': 'webkit_storage', | 17 'target_name': 'webkit_storage', |
19 'type': '<(component)', | 18 'type': '<(component)', |
20 'variables': { 'enable_wexit_time_destructors': 1, }, | 19 'variables': { 'enable_wexit_time_destructors': 1, }, |
21 'dependencies': [ | 20 'dependencies': [ |
22 '<(DEPTH)/base/base.gyp:base', | 21 '<(DEPTH)/base/base.gyp:base', |
23 '<(DEPTH)/base/base.gyp:base_i18n', | 22 '<(DEPTH)/base/base.gyp:base_i18n', |
24 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', | 23 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', |
25 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', | 24 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', |
26 '<(DEPTH)/net/net.gyp:net', | 25 '<(DEPTH)/net/net.gyp:net', |
27 '<(DEPTH)/sql/sql.gyp:sql', | 26 '<(DEPTH)/sql/sql.gyp:sql', |
28 '<(DEPTH)/third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit', | 27 '<(DEPTH)/third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit', |
29 '<(DEPTH)/third_party/leveldatabase/leveldatabase.gyp:leveldatabase', | 28 '<(DEPTH)/third_party/leveldatabase/leveldatabase.gyp:leveldatabase', |
30 '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite', | 29 '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite', |
31 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_base', | 30 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_base', |
32 ], | 31 ], |
33 'defines': ['WEBKIT_STORAGE_IMPLEMENTATION'], | 32 'defines': ['WEBKIT_STORAGE_IMPLEMENTATION'], |
34 'sources': [ | 33 'sources': [ |
35 '../storage/webkit_storage_export.h', | 34 '../storage/webkit_storage_export.h', |
36 '<@(webkit_appcache_sources)', | 35 '<@(webkit_appcache_sources)', |
37 '<@(webkit_dom_storage_sources)', | 36 '<@(webkit_dom_storage_sources)', |
38 '<@(webkit_quota_sources)', | |
39 | 37 |
40 # TODO(kinuko): Deprecate them when we have new targets for | 38 # TODO(kinuko): Deprecate them when we have new targets for |
41 # browser|common|renderer. crbug.com/239710 | 39 # browser|common|renderer. crbug.com/239710 |
42 '<@(webkit_browser_storage_sources)', | 40 '<@(webkit_browser_storage_sources)', |
43 '<@(webkit_common_storage_sources)', | 41 '<@(webkit_common_storage_sources)', |
44 '../renderer/fileapi/webfilewriter_base.cc', | 42 '../renderer/fileapi/webfilewriter_base.cc', |
45 '../renderer/fileapi/webfilewriter_base.h', | 43 '../renderer/fileapi/webfilewriter_base.h', |
46 ], | 44 ], |
47 'conditions': [ | 45 'conditions': [ |
48 ['chromeos==1', { | 46 ['chromeos==1', { |
49 'sources': [ | 47 'sources': [ |
50 '<@(webkit_browser_fileapi_chromeos_sources)', | 48 '<@(webkit_browser_fileapi_chromeos_sources)', |
51 ], | 49 ], |
52 }], | 50 }], |
53 ], | 51 ], |
54 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 52 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
55 'msvs_disabled_warnings': [ 4267, ], | 53 'msvs_disabled_warnings': [ 4267, ], |
56 }, | 54 }, |
57 ], | 55 ], |
58 } | 56 } |
OLD | NEW |