OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/chrome_build.gni") |
| 6 |
5 if (is_chrome_branded) { | 7 if (is_chrome_branded) { |
6 if (is_linux && current_cpu == "x86") { | 8 if (is_linux && current_cpu == "x86") { |
7 flapper_version_h_file = "symbols/ppapi/linux/flapper_version.h" | 9 flapper_version_h_file = "symbols/ppapi/linux/flapper_version.h" |
8 flapper_binary_files = [ | 10 flapper_binary_files = [ |
9 "binaries/ppapi/linux/libpepflashplayer.so", | 11 "binaries/ppapi/linux/libpepflashplayer.so", |
10 "binaries/ppapi/linux/manifest.json", | 12 "binaries/ppapi/linux/manifest.json", |
11 ] | 13 ] |
12 } else if (is_linux && current_cpu == "x64") { | 14 } else if (is_linux && current_cpu == "x64") { |
13 flapper_version_h_file = "symbols/ppapi/linux_x64/flapper_version.h" | 15 flapper_version_h_file = "symbols/ppapi/linux_x64/flapper_version.h" |
14 flapper_binary_files = [ | 16 flapper_binary_files = [ |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 # NOP | 64 # NOP |
63 } | 65 } |
64 } else { | 66 } else { |
65 copy("flapper_binaries") { | 67 copy("flapper_binaries") { |
66 sources = flapper_binary_files | 68 sources = flapper_binary_files |
67 outputs = [ | 69 outputs = [ |
68 "$root_out_dir/PepperFlash/{{source_file_part}}", | 70 "$root_out_dir/PepperFlash/{{source_file_part}}", |
69 ] | 71 ] |
70 } | 72 } |
71 } | 73 } |
OLD | NEW |