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

Unified Diff: BUILD.gn

Issue 2812173002: For building v8 using gn on aix_ppc64, linux_s390x and linux_ppc64. (Closed)
Patch Set: rebased again Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index 7c38dbb4693ce262a948e376ec86d1dc8db41a9e..e3d12f490183ccf362fc5c412e40047dbdd6ef1e 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/config/host_byteorder.gni")
import("//third_party/icu/config.gni")
if (is_android) {
@@ -984,8 +985,9 @@ if (is_android) {
} else {
data_dir = "common"
}
-# TODO(GYP): Support to use host byteorder to select the icu date file
-if (current_cpu == "mips" || current_cpu == "mips64") {
+
+if (current_cpu == "mips" || current_cpu == "mips64" ||
+ host_byteorder == "big") {
data_bundle_prefix = "icudtb"
} else {
data_bundle_prefix = "icudtl"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698