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