Index: build/common_untrusted.gypi |
=================================================================== |
--- build/common_untrusted.gypi (revision 0) |
+++ build/common_untrusted.gypi (revision 0) |
@@ -0,0 +1,28 @@ |
+# 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 in every NaCl build of Chrome code. |
dmichael (off chromium)
2012/08/23 17:49:45
NaCl is maybe a little ambiguous here, and "target
bbudge
2012/08/23 20:32:29
Done. Thanks for the excellent comment.
|
+{ |
+ 'includes': [ |
+ '../native_client/build/untrusted.gypi', |
+ ], |
+ 'target_defaults': { |
+ 'variables': { |
+ 'conditions': [ |
+ ['target_arch=="arm"', { |
+ 'defines': [ |
+ # Disable ValGrind. The assembly it generates causes the build |
+ # to fail. |
+ 'NVALGRIND', |
+ ], |
+ 'compile_flags': [ |
+ # Disable C++ 11 extensions. Chrome's OVERRIDE macro will generate |
brettw
2012/08/23 03:55:16
I'm surprised about this. Are there a bunch of OVE
bbudge
2012/08/23 12:29:30
There are a bunch (> 1100) of them, coming from ba
dmichael (off chromium)
2012/08/23 17:46:32
Is this relevant?
https://groups.google.com/a/chro
bbudge
2012/08/23 20:32:29
Done. Yep, that works.
|
+ # warnings that cause the build to fail. |
+ '-Wno-c++11-extensions', |
+ ], |
+ }], |
+ ], |
+ }, |
+ }, |
+} |