Index: build/common_untrusted.gypi |
=================================================================== |
--- build/common_untrusted.gypi (revision 0) |
+++ build/common_untrusted.gypi (revision 0) |
@@ -0,0 +1,30 @@ |
+# Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+# This GYP file should be included for every target in Chromium that is built |
+# using the NaCl toolchain. |
+{ |
+ 'includes': [ |
+ '../native_client/build/untrusted.gypi', |
+ ], |
+ 'target_defaults': { |
+ 'variables': { |
+ 'conditions': [ |
+ ['target_arch=="arm"', { |
+ 'clang': 1, |
DaleCurtis
2012/08/23 19:16:40
Slightly off topic: but I'd heard the clang arm cr
bbudge
2012/08/23 20:32:30
My understanding is that Clang is the only ARM com
|
+ 'defines': [ |
+ # Disable ValGrind. The assembly code it generates causes the build |
+ # to fail. |
+ 'NVALGRIND', |
+ ], |
+ 'compile_flags': [ |
+ # Disable C++ 11 extensions. Chrome's OVERRIDE macro will generate |
+ # warnings that cause the build to fail. |
+ '-Wno-c++11-extensions', |
+ ], |
+ }], |
+ ], |
+ }, |
+ }, |
+} |