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