| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'flapper_version_h_file%': 'flapper_version.h', | 7 'flapper_version_h_file%': 'flapper_version.h', |
| 8 'flapper_binary_files%': [], | 8 'flapper_binary_files%': [], |
| 9 'conditions': [ | 9 'conditions': [ |
| 10 [ 'branding == "Chrome"', { | 10 [ 'branding == "Chrome"', { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 'binaries/ppapi/mac/manifest.json', | 30 'binaries/ppapi/mac/manifest.json', |
| 31 ], | 31 ], |
| 32 }], | 32 }], |
| 33 [ 'OS == "mac" and target_arch == "x64"', { | 33 [ 'OS == "mac" and target_arch == "x64"', { |
| 34 'flapper_version_h_file%': 'symbols/ppapi/mac_64/flapper_version.h', | 34 'flapper_version_h_file%': 'symbols/ppapi/mac_64/flapper_version.h', |
| 35 'flapper_binary_files%': [ | 35 'flapper_binary_files%': [ |
| 36 'binaries/ppapi/mac_64/PepperFlashPlayer.plugin', | 36 'binaries/ppapi/mac_64/PepperFlashPlayer.plugin', |
| 37 'binaries/ppapi/mac_64/manifest.json', | 37 'binaries/ppapi/mac_64/manifest.json', |
| 38 ], | 38 ], |
| 39 }], | 39 }], |
| 40 [ 'OS == "win"', { | 40 [ 'OS == "win" and target_arch == "ia32"', { |
| 41 'flapper_version_h_file%': 'symbols/ppapi/win/flapper_version.h', | 41 'flapper_version_h_file%': 'symbols/ppapi/win/flapper_version.h', |
| 42 'flapper_binary_files%': [ | 42 'flapper_binary_files%': [ |
| 43 'binaries/ppapi/win/pepflashplayer.dll', | 43 'binaries/ppapi/win/pepflashplayer.dll', |
| 44 'binaries/ppapi/win/manifest.json', | 44 'binaries/ppapi/win/manifest.json', |
| 45 ], | 45 ], |
| 46 }], | 46 }], |
| 47 [ 'OS == "win" and target_arch == "x64"', { |
| 48 'flapper_version_h_file%': 'symbols/ppapi/win_x64/flapper_version.h'
, |
| 49 'flapper_binary_files%': [ |
| 50 'binaries/ppapi/win_x64/pepflashplayer.dll', |
| 51 'binaries/ppapi/win_x64/manifest.json', |
| 52 ], |
| 53 }], |
| 47 ], | 54 ], |
| 48 }], | 55 }], |
| 49 ], | 56 ], |
| 50 }, | 57 }, |
| 51 # Always provide a target, so we can put the logic about whether there's | 58 # Always provide a target, so we can put the logic about whether there's |
| 52 # anything to be done in this file (instead of a higher-level .gyp file). | 59 # anything to be done in this file (instead of a higher-level .gyp file). |
| 53 'targets': [ | 60 'targets': [ |
| 54 { | 61 { |
| 55 'target_name': 'flapper_version_h', | 62 'target_name': 'flapper_version_h', |
| 56 'type': 'none', | 63 'type': 'none', |
| 57 'copies': [{ | 64 'copies': [{ |
| 58 'destination': '<(SHARED_INTERMEDIATE_DIR)', | 65 'destination': '<(SHARED_INTERMEDIATE_DIR)', |
| 59 'files': [ '<(flapper_version_h_file)' ], | 66 'files': [ '<(flapper_version_h_file)' ], |
| 60 }], | 67 }], |
| 61 }, | 68 }, |
| 62 { | 69 { |
| 63 'target_name': 'flapper_binaries', | 70 'target_name': 'flapper_binaries', |
| 64 'type': 'none', | 71 'type': 'none', |
| 65 'copies': [{ | 72 'copies': [{ |
| 66 'destination': '<(PRODUCT_DIR)/PepperFlash', | 73 'destination': '<(PRODUCT_DIR)/PepperFlash', |
| 67 'files': [ '<@(flapper_binary_files)' ], | 74 'files': [ '<@(flapper_binary_files)' ], |
| 68 }], | 75 }], |
| 69 }, | 76 }, |
| 70 ], | 77 ], |
| 71 } | 78 } |
| OLD | NEW |