From 13d67667cc5ffa52457e654a0a44c89aefbca6f7 Mon Sep 17 00:00:00 2001 From: Vasili Skurydzin Date: Thu, 1 Feb 2018 14:52:44 -0500 Subject: [PATCH] Fixes to V8 GN build process on AIX Change to v8/BUILD.gn regarding GN build of V8. Excluding platform-posix-time.h and platform-posix-time.cc from the sources list on AIX os. The changes affect AIX only. Bug: chromium:616029 Change-Id: I5e5d46aa4c62f70544ff593294e459c607a03c67 Reviewed-on: https://chromium-review.googlesource.com/897124 Commit-Queue: Michael Achenbach Reviewed-by: Michael Achenbach Cr-Commit-Position: refs/heads/master@{#51183} --- BUILD.gn | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index e177018ed8..8f24bd41b4 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -2589,11 +2589,15 @@ v8_component("v8_libbase") { if (is_posix) { sources += [ - "src/base/platform/platform-posix-time.cc", - "src/base/platform/platform-posix-time.h", "src/base/platform/platform-posix.cc", "src/base/platform/platform-posix.h", ] + if (current_os != "aix") { + sources += [ + "src/base/platform/platform-posix-time.cc", + "src/base/platform/platform-posix-time.h" + ] + } } if (is_linux) {