OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 }, |
6 'targets': [ | 15 'targets': [ |
7 { | 16 { |
8 'target_name': 'appcache', | 17 'target_name': 'appcache', |
9 'variables': { 'enable_wexit_time_destructors': 1, }, | 18 'variables': { 'enable_wexit_time_destructors': 1, }, |
10 'defines': [ | 19 'defines': [ |
11 'APPCACHE_IMPLEMENTATION', | 20 'APPCACHE_IMPLEMENTATION', |
12 ], | 21 ], |
13 'dependencies': [ | 22 'dependencies': [ |
14 'quota', | 23 'quota', |
15 '<(DEPTH)/base/base.gyp:base_i18n', | 24 '<(DEPTH)/base/base.gyp:base_i18n', |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 ], | 80 ], |
72 'conditions': [ | 81 'conditions': [ |
73 [# TODO(dpranke): Remove once the circular dependencies in | 82 [# TODO(dpranke): Remove once the circular dependencies in |
74 # WebKit.gyp are fixed on the mac. | 83 # WebKit.gyp are fixed on the mac. |
75 # See https://bugs.webkit.org/show_bug.cgi?id=68463 | 84 # See https://bugs.webkit.org/show_bug.cgi?id=68463 |
76 'OS=="mac"', { | 85 'OS=="mac"', { |
77 'type': 'static_library', | 86 'type': 'static_library', |
78 }, { | 87 }, { |
79 'type': '<(component)', | 88 'type': '<(component)', |
80 'dependencies': [ | 89 'dependencies': [ |
81 '<(DEPTH)/third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:web
kit', | 90 '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit', |
82 ], | 91 ], |
83 }], | 92 }], |
84 ['inside_chromium_build==0', { | 93 ['inside_chromium_build==0', { |
85 'dependencies': [ | 94 'dependencies': [ |
86 '<(DEPTH)/webkit/support/setup_third_party.gyp:third_party_headers', | 95 '<(DEPTH)/webkit/support/setup_third_party.gyp:third_party_headers', |
87 ], | 96 ], |
88 }], | 97 }], |
89 ], | 98 ], |
90 }, | 99 }, |
91 ], | 100 ], |
92 } | 101 } |
OLD | NEW |