OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'npapi_layout_test_plugin', | 8 'target_name': 'npapi_layout_test_plugin', |
9 'type': 'loadable_module', | 9 'type': 'loadable_module', |
10 'variables': { | 10 'variables': { |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', | 82 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', |
83 ], | 83 ], |
84 }, | 84 }, |
85 }], | 85 }], |
86 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and (
target_arch=="x64" or target_arch=="arm")', { | 86 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and (
target_arch=="x64" or target_arch=="arm")', { |
87 # Shared libraries need -fPIC on x86-64 | 87 # Shared libraries need -fPIC on x86-64 |
88 'cflags': ['-fPIC'] | 88 'cflags': ['-fPIC'] |
89 }], | 89 }], |
90 ], | 90 ], |
91 }, | 91 }, |
| 92 { |
| 93 'target_name': 'copy_npapi_layout_test_plugin', |
| 94 'type': 'none', |
| 95 'dependencies': [ |
| 96 'npapi_layout_test_plugin', |
| 97 ], |
| 98 'conditions': [ |
| 99 ['OS=="win"', { |
| 100 'copies': [ |
| 101 { |
| 102 'destination': '<(PRODUCT_DIR)/plugins', |
| 103 'files': ['<(PRODUCT_DIR)/npapi_layout_test_plugin.dll'], |
| 104 }, |
| 105 ], |
| 106 }], |
| 107 ['OS=="mac"', { |
| 108 'copies': [ |
| 109 { |
| 110 'destination': '<(PRODUCT_DIR)/TestShell.app/Contents/PlugIns/', |
| 111 'files': ['<(PRODUCT_DIR)/TestNetscapePlugIn.plugin/'], |
| 112 }, |
| 113 ] |
| 114 }], |
| 115 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { |
| 116 'copies': [ |
| 117 { |
| 118 'destination': '<(PRODUCT_DIR)/plugins', |
| 119 'files': ['<(PRODUCT_DIR)/libnpapi_layout_test_plugin.so'], |
| 120 }, |
| 121 ], |
| 122 }], |
| 123 ], |
| 124 }, |
92 ], | 125 ], |
93 } | 126 } |
94 | 127 |
95 # Local Variables: | 128 # Local Variables: |
96 # tab-width:2 | 129 # tab-width:2 |
97 # indent-tabs-mode:nil | 130 # indent-tabs-mode:nil |
98 # End: | 131 # End: |
99 # vim: set expandtab tabstop=2 shiftwidth=2: | 132 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |