Skip to content

Commit

Permalink
PPC/s390: Fix GN error on PPC and s390
Browse files Browse the repository at this point in the history
R=cwallez@chroimium.org, fjhenigman@chromium.org, geofflang@chromium.org, jmadill@chromium.org, ynovikov@chromium.org

Change-Id: Iae4cfeb4db83c777d3c9a0a4c115c583113c5b70
Reviewed-on: https://chromium-review.googlesource.com/1087567
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
  • Loading branch information
Junliang Yan authored and Commit Bot committed Jun 6, 2018
1 parent d197803 commit 0211346
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Opera Software ASA
The Qt Company Ltd.
Advanced Micro Devices, Inc.
LG Electronics, Inc.
IBM Inc.

Jacek Caban
Mark Callow
Expand Down
3 changes: 3 additions & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,6 @@ Advanced Micro Devices, Inc.

LG Electronics, Inc.
Jani Hautakangas

IBM Inc.
Junliang Yan
6 changes: 4 additions & 2 deletions gni/angle.gni
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ data_dir = "angledata"

declare_args() {
if (current_cpu == "arm64" || current_cpu == "x64" ||
current_cpu == "mips64el") {
current_cpu == "mips64el" || current_cpu == "s390x" ||
current_cpu == "ppc64le") {
angle_64bit_current_cpu = true
} else if (current_cpu == "arm" || current_cpu == "x86" ||
current_cpu == "mipsel") {
current_cpu == "mipsel" || current_cpu == "s390" ||
current_cpu == "ppcle") {
angle_64bit_current_cpu = false
} else {
assert(false, "Unknown current CPU: $current_cpu")
Expand Down

0 comments on commit 0211346

Please sign in to comment.