| 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 # Always provide a target, so we can put the logic about whether there's | 6 # Always provide a target, so we can put the logic about whether there's |
| 7 # anything to be done in this file (instead of a higher-level .gyp file). | 7 # anything to be done in this file (instead of a higher-level .gyp file). |
| 8 'targets': [ | 8 'targets': [ |
| 9 { | 9 { |
| 10 'target_name': 'flash_player', | 10 'target_name': 'flash_player', |
| 11 'type': 'none', | 11 'type': 'none', |
| 12 'conditions': [ | 12 'conditions': [ |
| 13 [ 'branding == "Chrome"', { | 13 [ 'branding == "Chrome"', { |
| 14 'copies': [{ | 14 'copies': [{ |
| 15 'destination': '<(PRODUCT_DIR)', | 15 'destination': '<(PRODUCT_DIR)', |
| 16 'files': [], | 16 'files': [], |
| 17 'conditions': [ | 17 'conditions': [ |
| 18 [ 'OS == "linux" and target_arch == "ia32"', { | 18 [ 'OS == "linux" and target_arch == "ia32"', { |
| 19 'files': [ 'binaries/linux/libgcflashplayer.so' ] | 19 'files': [ |
| 20 'binaries/linux/libgcflashplayer.so', |
| 21 'binaries/linux/plugin.vch', |
| 22 ] |
| 20 }], | 23 }], |
| 21 [ 'OS == "mac"', { | 24 [ 'OS == "mac"', { |
| 22 'files': | 25 'files': [ |
| 23 [ 'binaries/mac/Flash Player Plugin for Chrome.plugin' ] | 26 'binaries/mac/Flash Player Plugin for Chrome.plugin', |
| 27 'binaries/mac/plugin.vch', |
| 28 ] |
| 24 }], | 29 }], |
| 25 [ 'OS == "win"', { | 30 [ 'OS == "win"', { |
| 26 'files': [ 'binaries/win/gcswf32.dll' ] | 31 'files': [ |
| 32 'binaries/win/gcswf32.dll', |
| 33 'binaries/win/plugin.vch', |
| 34 ] |
| 27 }], | 35 }], |
| 28 ], | 36 ], |
| 29 }], | 37 }], |
| 30 }], | 38 }], |
| 31 ], | 39 ], |
| 32 }, | 40 }, |
| 33 ], | 41 ], |
| 34 } | 42 } |
| 35 | 43 |
| 36 # Local Variables: | 44 # Local Variables: |
| 37 # tab-width:2 | 45 # tab-width:2 |
| 38 # indent-tabs-mode:nil | 46 # indent-tabs-mode:nil |
| 39 # End: | 47 # End: |
| 40 # vim: set expandtab tabstop=2 shiftwidth=2: | 48 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |