aacff36
From cc613c2e3bac8d4d1ff153700b819f964435923a Mon Sep 17 00:00:00 2001
aacff36
From: Shawn Anastasio <shawnanastasio@yahoo.com>
aacff36
Date: Tue, 4 Sep 2018 18:16:07 -0500
aacff36
Subject: [PATCH] third_party/libvpx: Properly generate gni on ppc64
aacff36
aacff36
---
aacff36
 third_party/libvpx/BUILD.gn        |  2 ++
aacff36
 third_party/libvpx/generate_gni.sh | 10 ++++++++++
aacff36
 2 files changed, 12 insertions(+)
aacff36
aacff36
Index: chromium-120.0.6099.71/third_party/libvpx/BUILD.gn
aacff36
===================================================================
aacff36
--- chromium-120.0.6099.71.orig/third_party/libvpx/BUILD.gn
aacff36
+++ chromium-120.0.6099.71/third_party/libvpx/BUILD.gn
aacff36
@@ -248,6 +248,8 @@ if (current_cpu == "x86" || (current_cpu
aacff36
     } else if (current_cpu == "x64") {
aacff36
       deps = [ ":libvpx_x86_64_headers" ]
aacff36
       sources = libvpx_srcs_x86_64_avx512
aacff36
+    } else if (current_cpu == "ppc64") {
aacff36
+      sources = libvpx_srcs_ppc64
aacff36
     }
aacff36
   }
aacff36
 }