OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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': 'default_plugin', | 11 'target_name': 'default_plugin', |
12 'type': '<(library)', | 12 'type': '<(library)', |
13 'dependencies': [ | 13 'dependencies': [ |
14 '../../net/net.gyp:net_resources', | 14 '<(DEPTH)/net/net.gyp:net_resources', |
15 '../../third_party/icu/icu.gyp:icui18n', | 15 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', |
16 '../../third_party/icu/icu.gyp:icuuc', | 16 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
17 '../../third_party/libxml/libxml.gyp:libxml', | 17 '<(DEPTH)/third_party/libxml/libxml.gyp:libxml', |
18 '../../third_party/npapi/npapi.gyp:npapi', | 18 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', |
19 '../support/webkit_support.gyp:webkit_resources', | 19 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_resources', |
20 '../support/webkit_support.gyp:webkit_strings', | 20 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_strings', |
21 ], | 21 ], |
22 'include_dirs': [ | 22 'include_dirs': [ |
23 '../..', | 23 '<(DEPTH)', |
24 '<(DEPTH)/third_party/wtl/include', | 24 '<(DEPTH)/third_party/wtl/include', |
25 # TODO(bradnelson): this should fall out of the dependencies. | |
26 '<(SHARED_INTERMEDIATE_DIR)/webkit', | |
27 ], | 25 ], |
28 'sources': [ | 26 'sources': [ |
29 'default_plugin_shared.h', | |
30 'plugin_impl_gtk.cc', | 27 'plugin_impl_gtk.cc', |
31 'plugin_impl_gtk.h', | 28 'plugin_impl_gtk.h', |
32 'plugin_impl_mac.h', | 29 'plugin_impl_mac.h', |
33 'plugin_impl_mac.mm', | 30 'plugin_impl_mac.mm', |
34 'plugin_impl_win.cc', | 31 'plugin_impl_win.cc', |
35 'plugin_impl_win.h', | 32 'plugin_impl_win.h', |
36 'plugin_main.cc', | 33 'plugin_main.cc', |
37 'plugin_main.h', | 34 'plugin_main.h', |
38 ], | 35 ], |
39 'conditions': [ | 36 'conditions': [ |
40 ['OS=="win"', { | 37 ['OS=="win"', { |
41 'msvs_guid': '5916D37D-8C97-424F-A904-74E52594C2D6', | 38 'msvs_guid': '5916D37D-8C97-424F-A904-74E52594C2D6', |
42 'link_settings': { | 39 'link_settings': { |
43 'libraries': ['-lurlmon.lib'], | 40 'libraries': ['-lurlmon.lib'], |
44 }, | 41 }, |
45 'sources': [ | 42 'sources': [ |
46 'default_plugin_resources.h', | 43 'default_plugin_resources.h', |
47 'install_dialog.cc', | 44 'install_dialog.cc', |
48 'install_dialog.h', | 45 'install_dialog.h', |
49 'plugin_database_handler.cc', | 46 'plugin_database_handler.cc', |
50 'plugin_database_handler.h', | 47 'plugin_database_handler.h', |
51 'plugin_install_job_monitor.cc', | 48 'plugin_install_job_monitor.cc', |
52 'plugin_install_job_monitor.h', | 49 'plugin_install_job_monitor.h', |
53 ], | 50 ], |
54 }], | 51 }], |
55 ['OS=="linux"', { | 52 ['OS=="linux"', { |
56 'dependencies': [ | 53 'dependencies': [ |
57 '../../build/linux/system.gyp:gtk', | 54 '<(DEPTH)/build/linux/system.gyp:gtk', |
58 ], | 55 ], |
59 }], | 56 }], |
60 ], | 57 ], |
61 }, | 58 }, |
62 ], | 59 ], |
63 } | 60 } |
64 | 61 |
65 # Local Variables: | 62 # Local Variables: |
66 # tab-width:2 | 63 # tab-width:2 |
67 # indent-tabs-mode:nil | 64 # indent-tabs-mode:nil |
68 # End: | 65 # End: |
69 # vim: set expandtab tabstop=2 shiftwidth=2: | 66 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |