| 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"', { |
| 11 'conditions': [ | 11 'conditions': [ |
| 12 [ 'OS == "linux" and target_arch == "ia32"', { |
| 13 'flapper_version_h_file%': 'symbols/ppapi/linux/flapper_version.h', |
| 14 'flapper_binary_files%': [ |
| 15 'binaries/ppapi/linux/libpepflashplayer.so', |
| 16 'binaries/ppapi/linux/manifest.json', |
| 17 ], |
| 18 }], |
| 12 [ 'OS == "linux" and target_arch == "x64"', { | 19 [ 'OS == "linux" and target_arch == "x64"', { |
| 13 'flapper_version_h_file%': 'symbols/ppapi/linux_x64/flapper_version.
h', | 20 'flapper_version_h_file%': 'symbols/ppapi/linux_x64/flapper_version.
h', |
| 14 'flapper_binary_files%': [ | 21 'flapper_binary_files%': [ |
| 15 'binaries/ppapi/linux_x64/libpepflashplayer.so', | 22 'binaries/ppapi/linux_x64/libpepflashplayer.so', |
| 16 'binaries/ppapi/linux_x64/manifest.json', | 23 'binaries/ppapi/linux_x64/manifest.json', |
| 17 ], | 24 ], |
| 18 }], | 25 }], |
| 19 [ 'OS == "linux" and target_arch == "ia32"', { | 26 [ 'OS == "win"', { |
| 20 'flapper_version_h_file%': 'symbols/ppapi/linux/flapper_version.h', | 27 'flapper_version_h_file%': 'symbols/ppapi/win/flapper_version.h', |
| 21 'flapper_binary_files%': [ | 28 'flapper_binary_files%': [ |
| 22 'binaries/ppapi/linux/libpepflashplayer.so', | 29 'binaries/ppapi/win/pepflashplayer.dll', |
| 23 'binaries/ppapi/linux/manifest.json', | 30 'binaries/ppapi/win/manifest.json', |
| 24 ], | 31 ], |
| 25 }], | 32 }], |
| 26 ], | 33 ], |
| 27 }], | 34 }], |
| 28 ], | 35 ], |
| 29 }, | 36 }, |
| 30 # Always provide a target, so we can put the logic about whether there's | 37 # Always provide a target, so we can put the logic about whether there's |
| 31 # anything to be done in this file (instead of a higher-level .gyp file). | 38 # anything to be done in this file (instead of a higher-level .gyp file). |
| 32 'targets': [ | 39 'targets': [ |
| 33 { | 40 { |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 { | 77 { |
| 71 'target_name': 'flapper_binaries', | 78 'target_name': 'flapper_binaries', |
| 72 'type': 'none', | 79 'type': 'none', |
| 73 'copies': [{ | 80 'copies': [{ |
| 74 'destination': '<(PRODUCT_DIR)/PepperFlash', | 81 'destination': '<(PRODUCT_DIR)/PepperFlash', |
| 75 'files': [ '<@(flapper_binary_files)' ], | 82 'files': [ '<@(flapper_binary_files)' ], |
| 76 }], | 83 }], |
| 77 }, | 84 }, |
| 78 ], | 85 ], |
| 79 } | 86 } |
| OLD | NEW |