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