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

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

Issue 2340643002: Do not reference non-existant bundled flash on Chrome OS. (Closed)
Patch Set: Created 4 years, 3 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 import("//build/config/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 6
7 if (is_chrome_branded) { 7 if (is_chrome_branded) {
8 if (is_linux && current_cpu == "x86") { 8 if (is_linux && !is_chromeos && current_cpu == "x86") {
9 flapper_version_h_file = "symbols/ppapi/linux/flapper_version.h" 9 flapper_version_h_file = "symbols/ppapi/linux/flapper_version.h"
10 flapper_binary_files = [ 10 flapper_binary_files = [
11 "binaries/ppapi/linux/libpepflashplayer.so", 11 "binaries/ppapi/linux/libpepflashplayer.so",
12 "binaries/ppapi/linux/manifest.json", 12 "binaries/ppapi/linux/manifest.json",
13 ] 13 ]
14 } else if (is_linux && current_cpu == "x64") { 14 } else if (is_linux && !is_chromeos && current_cpu == "x64") {
15 flapper_version_h_file = "symbols/ppapi/linux_x64/flapper_version.h" 15 flapper_version_h_file = "symbols/ppapi/linux_x64/flapper_version.h"
16 flapper_binary_files = [ 16 flapper_binary_files = [
17 "binaries/ppapi/linux_x64/libpepflashplayer.so", 17 "binaries/ppapi/linux_x64/libpepflashplayer.so",
18 "binaries/ppapi/linux_x64/manifest.json", 18 "binaries/ppapi/linux_x64/manifest.json",
19 ] 19 ]
20 } else if (is_mac && current_cpu == "x86") { 20 } else if (is_mac && current_cpu == "x86") {
21 flapper_version_h_file = "symbols/ppapi/mac/flapper_version.h" 21 flapper_version_h_file = "symbols/ppapi/mac/flapper_version.h"
22 flapper_binary_files = [ 22 flapper_binary_files = [
23 "binaries/ppapi/mac/PepperFlashPlayer.plugin", 23 "binaries/ppapi/mac/PepperFlashPlayer.plugin",
24 "binaries/ppapi/mac/manifest.json", 24 "binaries/ppapi/mac/manifest.json",
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 # NOP 64 # NOP
65 } 65 }
66 } else { 66 } else {
67 copy("flapper_binaries") { 67 copy("flapper_binaries") {
68 sources = flapper_binary_files 68 sources = flapper_binary_files
69 outputs = [ 69 outputs = [
70 "$root_out_dir/PepperFlash/{{source_file_part}}", 70 "$root_out_dir/PepperFlash/{{source_file_part}}",
71 ] 71 ]
72 } 72 }
73 } 73 }
OLDNEW
« chrome/common/chrome_content_client.cc ('K') | « chrome/common/chrome_content_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698