Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Side by Side Diff: third_party/adobe/flash/BUILD.gn

Issue 913373002: Update Chomium's build files to work w/ latest GN binaries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn_cpu_arch_changes
Patch Set: merge to #317214 Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 && current_cpu == "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",
11 ] 11 ]
12 } else if (is_linux && cpu_arch == "x64") { 12 } else if (is_linux && current_cpu == "x64") {
13 flapper_version_h_file = "symbols/ppapi/linux_x64/flapper_version.h" 13 flapper_version_h_file = "symbols/ppapi/linux_x64/flapper_version.h"
14 flapper_binary_files = [ 14 flapper_binary_files = [
15 "binaries/ppapi/linux_x64/libpepflashplayer.so", 15 "binaries/ppapi/linux_x64/libpepflashplayer.so",
16 "binaries/ppapi/linux_x64/manifest.json", 16 "binaries/ppapi/linux_x64/manifest.json",
17 ] 17 ]
18 } else if (is_mac && cpu_arch == "x86") { 18 } else if (is_mac && current_cpu == "x86") {
19 flapper_version_h_file = "symbols/ppapi/mac/flapper_version.h" 19 flapper_version_h_file = "symbols/ppapi/mac/flapper_version.h"
20 flapper_binary_files = [ 20 flapper_binary_files = [
21 "binaries/ppapi/mac/PepperFlashPlayer.plugin", 21 "binaries/ppapi/mac/PepperFlashPlayer.plugin",
22 "binaries/ppapi/mac/manifest.json", 22 "binaries/ppapi/mac/manifest.json",
23 ] 23 ]
24 } else if (is_mac && cpu_arch == "x64") { 24 } else if (is_mac && current_cpu == "x64") {
25 flapper_version_h_file = "symbols/ppapi/mac_64/flapper_version.h" 25 flapper_version_h_file = "symbols/ppapi/mac_64/flapper_version.h"
26 flapper_binary_files = [ 26 flapper_binary_files = [
27 "binaries/ppapi/mac_64/PepperFlashPlayer.plugin", 27 "binaries/ppapi/mac_64/PepperFlashPlayer.plugin",
28 "binaries/ppapi/mac_64/manifest.json", 28 "binaries/ppapi/mac_64/manifest.json",
29 ] 29 ]
30 } else if (is_win && cpu_arch == "x86") { 30 } else if (is_win && current_cpu == "x86") {
31 flapper_version_h_file = "symbols/ppapi/win/flapper_version.h" 31 flapper_version_h_file = "symbols/ppapi/win/flapper_version.h"
32 flapper_binary_files = [ 32 flapper_binary_files = [
33 "binaries/ppapi/win/pepflashplayer.dll", 33 "binaries/ppapi/win/pepflashplayer.dll",
34 "binaries/ppapi/win/manifest.json", 34 "binaries/ppapi/win/manifest.json",
35 ] 35 ]
36 } else if (is_win && cpu_arch == "x64") { 36 } else if (is_win && current_cpu == "x64") {
37 flapper_version_h_file = "symbols/ppapi/win_x64/flapper_version.h" 37 flapper_version_h_file = "symbols/ppapi/win_x64/flapper_version.h"
38 flapper_binary_files = [ 38 flapper_binary_files = [
39 "binaries/ppapi/win_x64/pepflashplayer.dll", 39 "binaries/ppapi/win_x64/pepflashplayer.dll",
40 "binaries/ppapi/win_x64/manifest.json", 40 "binaries/ppapi/win_x64/manifest.json",
41 ] 41 ]
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 {
(...skipping 15 matching lines...) Expand all
62 # NOP 62 # NOP
63 } 63 }
64 } else { 64 } else {
65 copy("flapper_binaries") { 65 copy("flapper_binaries") {
66 sources = flapper_binary_files 66 sources = flapper_binary_files
67 outputs = [ 67 outputs = [
68 "$root_out_dir/PepperFlash/{{source_file_part}}", 68 "$root_out_dir/PepperFlash/{{source_file_part}}",
69 ] 69 ]
70 } 70 }
71 } 71 }
OLDNEW
« no previous file with comments | « skia/BUILD.gn ('k') | third_party/boringssl/BUILD.gn » ('j') | third_party/widevine/cdm/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698