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
3 # found in the LICENSE file.
7 'flapper_version_h_file%': 'flapper_version.h',
8 'flapper_binary_files%': [],
10 [ 'branding == "Chrome"', {
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',
19 [ 'OS == "linux" and target_arch == "x64"', {
20 'flapper_version_h_file%': 'symbols/ppapi/linux_x64/flapper_version.h',
21 'flapper_binary_files%': [
22 'binaries/ppapi/linux_x64/libpepflashplayer.so',
23 'binaries/ppapi/linux_x64/manifest.json',
26 [ 'OS == "mac" and target_arch == "ia32"', {
27 'flapper_version_h_file%': 'symbols/ppapi/mac/flapper_version.h',
28 'flapper_binary_files%': [
29 'binaries/ppapi/mac/PepperFlashPlayer.plugin',
30 'binaries/ppapi/mac/manifest.json',
33 [ 'OS == "mac" and target_arch == "x64"', {
34 'flapper_version_h_file%': 'symbols/ppapi/mac_64/flapper_version.h',
35 'flapper_binary_files%': [
36 'binaries/ppapi/mac_64/PepperFlashPlayer.plugin',
37 'binaries/ppapi/mac_64/manifest.json',
40 [ 'OS == "win" and target_arch == "ia32"', {
41 'flapper_version_h_file%': 'symbols/ppapi/win/flapper_version.h',
42 'flapper_binary_files%': [
43 'binaries/ppapi/win/pepflashplayer.dll',
44 'binaries/ppapi/win/manifest.json',
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',
58 # Always provide a target, so we can put the logic about whether there's
59 # anything to be done in this file (instead of a higher-level .gyp file).
62 'target_name': 'flapper_version_h',
65 'destination': '<(SHARED_INTERMEDIATE_DIR)',
66 'files': [ '<(flapper_version_h_file)' ],
70 'target_name': 'flapper_binaries',
73 'destination': '<(PRODUCT_DIR)/PepperFlash',
74 'files': [ '<@(flapper_binary_files)' ],