| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 { |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 'plugin_impl_mac.h', | 31 'plugin_impl_mac.h', |
| 32 'plugin_impl_mac.mm', | 32 'plugin_impl_mac.mm', |
| 33 'plugin_impl_win.cc', | 33 'plugin_impl_win.cc', |
| 34 'plugin_impl_win.h', | 34 'plugin_impl_win.h', |
| 35 'plugin_installer_base.cc', | 35 'plugin_installer_base.cc', |
| 36 'plugin_installer_base.h', | 36 'plugin_installer_base.h', |
| 37 'plugin_main.cc', | 37 'plugin_main.cc', |
| 38 'plugin_main.h', | 38 'plugin_main.h', |
| 39 ], | 39 ], |
| 40 'conditions': [ | 40 'conditions': [ |
| 41 ['OS=="win"', { | 41 ['use_aura==1', { |
| 42 'link_settings': { | 42 'sources/': [ |
| 43 'libraries': ['-lurlmon.lib'], | 43 ['exclude', '^plugin_impl_win.cc'], |
| 44 }, | 44 ['exclude', '^plugin_impl_win.h'], |
| 45 'sources': [ | 45 ], |
| 46 'default_plugin_resources.h', | 46 }], |
| 47 'install_dialog.cc', | 47 ['OS=="win"', { |
| 48 'install_dialog.h', | 48 'link_settings': { |
| 49 'plugin_database_handler.cc', | 49 'libraries': ['-lurlmon.lib'], |
| 50 'plugin_database_handler.h', | 50 }, |
| 51 'plugin_install_job_monitor.cc', | 51 'sources': [ |
| 52 'plugin_install_job_monitor.h', | 52 'default_plugin_resources.h', |
| 53 ], | 53 'install_dialog.cc', |
| 54 }], | 54 'install_dialog.h', |
| 55 ['toolkit_uses_gtk == 1', { | 55 'plugin_database_handler.cc', |
| 56 'dependencies': [ | 56 'plugin_database_handler.h', |
| 57 '<(DEPTH)/build/linux/system.gyp:gtk', | 57 'plugin_install_job_monitor.cc', |
| 58 ], | 58 'plugin_install_job_monitor.h', |
| 59 }], | 59 ], |
| 60 }], |
| 61 ['toolkit_uses_gtk == 1', { |
| 62 'dependencies': [ |
| 63 '<(DEPTH)/build/linux/system.gyp:gtk', |
| 64 ], |
| 65 }], |
| 60 ], | 66 ], |
| 61 }, | 67 }, |
| 62 # This can't be part of chrome.gyp:chrome_resources because then there'd | 68 # This can't be part of chrome.gyp:chrome_resources because then there'd |
| 63 # be a cyclic dependency. | 69 # be a cyclic dependency. |
| 64 { | 70 { |
| 65 'target_name': 'default_plugin_resources', | 71 'target_name': 'default_plugin_resources', |
| 66 'type': 'none', | 72 'type': 'none', |
| 67 'variables': { | 73 'variables': { |
| 68 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome/default_plugin_resour
ces', | 74 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome/default_plugin_resour
ces', |
| 69 }, | 75 }, |
| 70 'actions': [ | 76 'actions': [ |
| 71 { | 77 { |
| 72 'action_name': 'default_plugin_resources', | 78 'action_name': 'default_plugin_resources', |
| 73 'variables': { | 79 'variables': { |
| 74 'grit_grd_file': 'default_plugin_resources.grd', | 80 'grit_grd_file': 'default_plugin_resources.grd', |
| 75 }, | 81 }, |
| 76 'includes': [ '../../build/grit_action.gypi' ], | 82 'includes': [ '../../build/grit_action.gypi' ], |
| 77 }, | 83 }, |
| 78 ], | 84 ], |
| 79 'includes': [ '../../build/grit_target.gypi' ], | 85 'includes': [ '../../build/grit_target.gypi' ], |
| 80 }, | 86 }, |
| 81 ], | 87 ], |
| 82 } | 88 } |
| OLD | NEW |