| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 } else { | 42 } else { |
| 43 flapper_version_h_file = "flapper_version.h" | 43 flapper_version_h_file = "flapper_version.h" |
| 44 flapper_binary_files = [] | 44 flapper_binary_files = [] |
| 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 = [ flapper_version_h_file ] | 52 sources = [ |
| 53 flapper_version_h_file, |
| 54 ] |
| 53 outputs = [ "$root_gen_dir/{{source_file_part}}" ] | 55 outputs = [ "$root_gen_dir/{{source_file_part}}" ] |
| 54 } | 56 } |
| 55 | 57 |
| 56 if (flapper_binary_files == []) { | 58 if (flapper_binary_files == []) { |
| 57 group("flapper_binaries") { | 59 group("flapper_binaries") { |
| 58 # NOP | 60 # NOP |
| 59 } | 61 } |
| 60 } else { | 62 } else { |
| 61 copy("flapper_binaries") { | 63 copy("flapper_binaries") { |
| 62 sources = flapper_binary_files | 64 sources = flapper_binary_files |
| 63 outputs = [ "$root_out_dir/PepperFlash/{{source_file_part}}" ] | 65 outputs = [ "$root_out_dir/PepperFlash/{{source_file_part}}" ] |
| 64 } | 66 } |
| 65 } | 67 } |
| OLD | NEW |