Chromium Code Reviews| Index: tools/gn/args.cc |
| diff --git a/tools/gn/args.cc b/tools/gn/args.cc |
| index 3bb40b415743d7fc422230e56adf898ceba5c43e..c3b5553e219082e3e8fb819220eea200f080b209 100644 |
| --- a/tools/gn/args.cc |
| +++ b/tools/gn/args.cc |
| @@ -302,6 +302,8 @@ void Args::SetSystemVarsLocked(Scope* dest) const { |
| os = "android"; |
| #elif defined(OS_NETBSD) |
| os = "netbsd"; |
| +#elif defined(OS_AIX) |
| + os = "aix"; |
| #else |
| #error Unknown OS type. |
| #endif |
| @@ -331,7 +333,10 @@ void Args::SetSystemVarsLocked(Scope* dest) const { |
| arch = kMips; |
| else if (os_arch == "s390x") |
| arch = kS390X; |
| - else if (os_arch == "mips") |
| + else if (os_arch == "ppc64" || os_arch == "ppc64le") |
| + // We handle the endianess inside build/config/BUILDCONFIG.gn. |
|
Dirk Pranke
2017/04/14 01:19:33
s/endianess/endianness
rayb
2017/04/19 19:51:50
Acknowledged.
rayb
2017/04/19 20:17:09
Done.
|
| + // This allows us to use the same toolchain as ppc64 BE |
| + // and specifc flags are included using the host_byteorder logic. |
|
Dirk Pranke
2017/04/14 01:19:33
s/specifc/specific
rayb
2017/04/19 19:51:50
Acknowledged.
rayb
2017/04/19 20:17:09
Done.
|
| arch = kPPC64; |
| else |
| CHECK(false) << "OS architecture not handled. (" << os_arch << ")"; |