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