Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 # 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.
| |
| 6 { | |
| 7 'includes': [ | |
| 8 '../native_client/build/untrusted.gypi', | |
| 9 ], | |
| 10 'target_defaults': { | |
| 11 'variables': { | |
| 12 'conditions': [ | |
| 13 ['target_arch=="arm"', { | |
| 14 'defines': [ | |
| 15 # Disable ValGrind. The assembly it generates causes the build | |
| 16 # to fail. | |
| 17 'NVALGRIND', | |
| 18 ], | |
| 19 'compile_flags': [ | |
| 20 # 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.
| |
| 21 # warnings that cause the build to fail. | |
| 22 '-Wno-c++11-extensions', | |
| 23 ], | |
| 24 }], | |
| 25 ], | |
| 26 }, | |
| 27 }, | |
| 28 } | |
| OLD | NEW |