OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 'target_name': 'webkit_support', | 11 'target_name': 'webkit_support', |
12 'type': 'static_library', | 12 'type': 'static_library', |
13 'dependencies': [ | 13 'dependencies': [ |
14 '<(DEPTH)/media/media.gyp:media', | 14 '<(DEPTH)/media/media.gyp:media', |
15 '<(DEPTH)/skia/skia.gyp:skia', | 15 '<(DEPTH)/skia/skia.gyp:skia', |
16 'appcache', | 16 'appcache', |
17 'database', | 17 'database', |
18 'glue', | 18 'glue', |
19 ], | 19 ], |
20 'include_dirs': [ | 20 'include_dirs': [ |
21 '<(SHARED_INTERMEDIATE_DIR)/webkit', # for a header generated by grit | 21 '<(SHARED_INTERMEDIATE_DIR)/webkit', # for a header generated by grit |
22 ], | 22 ], |
| 23 'defines': [ |
| 24 # Technically not a unit test but require functions available only to |
| 25 # unit tests. |
| 26 'UNIT_TEST' |
| 27 ], |
23 'sources': [ | 28 'sources': [ |
24 'platform_support.h', | 29 'platform_support.h', |
25 'platform_support_gtk.cc', | 30 'platform_support_gtk.cc', |
26 'platform_support_mac.mm', | 31 'platform_support_mac.mm', |
27 'platform_support_win.cc', | 32 'platform_support_win.cc', |
28 'test_webkit_client.cc', | 33 'test_webkit_client.cc', |
29 'test_webkit_client.h', | 34 'test_webkit_client.h', |
30 'test_webplugin_page_delegate.h', | 35 'test_webplugin_page_delegate.h', |
31 'webkit_support.cc', | 36 'webkit_support.cc', |
32 'webkit_support.h', | 37 'webkit_support.h', |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 }], | 78 }], |
74 ], | 79 ], |
75 }, | 80 }, |
76 ], | 81 ], |
77 } | 82 } |
78 # Local Variables: | 83 # Local Variables: |
79 # tab-width:2 | 84 # tab-width:2 |
80 # indent-tabs-mode:nil | 85 # indent-tabs-mode:nil |
81 # End: | 86 # End: |
82 # vim: set expandtab tabstop=2 shiftwidth=2: | 87 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |