summaryrefslogtreecommitdiffstats
path: root/third_party/adobe
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-26 21:20:41 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-26 21:20:41 +0000
commit78fb0befb7193b3a1093f9470686d755b623015f (patch)
tree81b35ab8973ce04d027164f49c42c23923eeda8f /third_party/adobe
parent6594358eb6ec8a2a2d2f3f304a303b22b99a50a6 (diff)
downloadchromium_src-78fb0befb7193b3a1093f9470686d755b623015f.zip
chromium_src-78fb0befb7193b3a1093f9470686d755b623015f.tar.gz
chromium_src-78fb0befb7193b3a1093f9470686d755b623015f.tar.bz2
.gyp(i) changes to put "Cobwerks" into the right place(s) on Linux and Mac.
BUG=none TEST=everything should still build Review URL: http://codereview.chromium.org/1409003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42819 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/adobe')
-rw-r--r--third_party/adobe/flash/flash_player.gyp45
1 files changed, 25 insertions, 20 deletions
diff --git a/third_party/adobe/flash/flash_player.gyp b/third_party/adobe/flash/flash_player.gyp
index a09b351..76807bd 100644
--- a/third_party/adobe/flash/flash_player.gyp
+++ b/third_party/adobe/flash/flash_player.gyp
@@ -3,27 +3,32 @@
# found in the LICENSE file.
{
- 'conditions': [
- [ 'OS == "win"', {
- 'targets': [
- {
- 'target_name': 'flash_player',
- 'type': 'none',
- 'conditions': [
- ['branding == "Chrome"', {
- 'copies': [
- {
- 'destination': '<(PRODUCT_DIR)',
- 'files': [
- 'binaries/win/gcswf32.dll',
- ],
- },
- ],
- }],
- ],
- },
+ # Always provide a target, so we can put the logic about whether there's
+ # anything to be done in this file (instead of a higher-level .gyp file).
+ 'targets': [
+ {
+ 'target_name': 'flash_player',
+ 'type': 'none',
+ 'conditions': [
+ [ 'branding == "Chrome"', {
+ 'copies': [{
+ 'destination': '<(PRODUCT_DIR)',
+ 'conditions': [
+ [ 'OS == "linux" and target_arch == "ia32"', {
+ 'files': [ 'binaries/linux/libgcflashplayer.so' ]
+ }],
+ [ 'OS == "mac"', {
+ 'files':
+ [ 'binaries/mac/Flash Player Plugin for Chrome.plugin' ]
+ }],
+ [ 'OS == "win"', {
+ 'files': [ 'binaries/win/gcswf32.dll' ]
+ }],
+ ],
+ }],
+ }],
],
- }],
+ },
],
}