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