| 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 if (is_chrome_branded) { | 5 if (is_chrome_branded) { |
| 6 if (is_linux && cpu_arch == "x86") { | 6 if (is_linux && cpu_arch == "x86") { |
| 7 flapper_version_h_file = "symbols/ppapi/linux/flapper_version.h" | 7 flapper_version_h_file = "symbols/ppapi/linux/flapper_version.h" |
| 8 flapper_binary_files = [ | 8 flapper_binary_files = [ |
| 9 "binaries/ppapi/linux/libpepflashplayer.so", | 9 "binaries/ppapi/linux/libpepflashplayer.so", |
| 10 "binaries/ppapi/linux/manifest.json", | 10 "binaries/ppapi/linux/manifest.json", |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 } | 45 } |
| 46 } else { | 46 } else { |
| 47 flapper_version_h_file = "flapper_version.h" | 47 flapper_version_h_file = "flapper_version.h" |
| 48 flapper_binary_files = [] | 48 flapper_binary_files = [] |
| 49 } | 49 } |
| 50 | 50 |
| 51 copy("flapper_version_h") { | 51 copy("flapper_version_h") { |
| 52 sources = [ | 52 sources = [ |
| 53 flapper_version_h_file, | 53 flapper_version_h_file, |
| 54 ] | 54 ] |
| 55 outputs = [ "$root_gen_dir/{{source_file_part}}" ] | 55 outputs = [ |
| 56 "$root_gen_dir/{{source_file_part}}", |
| 57 ] |
| 56 } | 58 } |
| 57 | 59 |
| 58 if (flapper_binary_files == []) { | 60 if (flapper_binary_files == []) { |
| 59 group("flapper_binaries") { | 61 group("flapper_binaries") { |
| 60 # NOP | 62 # NOP |
| 61 } | 63 } |
| 62 } else { | 64 } else { |
| 63 copy("flapper_binaries") { | 65 copy("flapper_binaries") { |
| 64 sources = flapper_binary_files | 66 sources = flapper_binary_files |
| 65 outputs = [ "$root_out_dir/PepperFlash/{{source_file_part}}" ] | 67 outputs = [ |
| 68 "$root_out_dir/PepperFlash/{{source_file_part}}", |
| 69 ] |
| 66 } | 70 } |
| 67 } | 71 } |
| OLD | NEW |