Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # TODO: This file was copied from the external dependency | 5 # TODO: This file was copied from the external dependency |
| 6 # third_party/externals/jsoncpp-chromium/jsoncpp.gyp , at revision 125399, | 6 # third_party/externals/jsoncpp-chromium/jsoncpp.gyp , at revision 125399, |
| 7 # with directory paths modified to work at this level. | 7 # with directory paths modified to work at this level. |
| 8 # | 8 # |
| 9 # It would be better for us to depend on that gypfile within the external | 9 # It would be better for us to depend on that gypfile within the external |
| 10 # dependency, but so far we have been unable to make that work reliably. | 10 # dependency, but so far we have been unable to make that work reliably. |
| (...skipping 29 matching lines...) Expand all Loading... | |
| 40 '../third_party/externals/jsoncpp/include/', | 40 '../third_party/externals/jsoncpp/include/', |
| 41 '../third_party/externals/jsoncpp/src/lib_json/', | 41 '../third_party/externals/jsoncpp/src/lib_json/', |
| 42 ], | 42 ], |
| 43 'direct_dependent_settings': { | 43 'direct_dependent_settings': { |
| 44 'include_dirs': [ | 44 'include_dirs': [ |
| 45 '../third_party/externals/jsoncpp-chromium/overrides/include/', | 45 '../third_party/externals/jsoncpp-chromium/overrides/include/', |
| 46 '../third_party/externals/jsoncpp/include/', | 46 '../third_party/externals/jsoncpp/include/', |
| 47 ], | 47 ], |
| 48 }, | 48 }, |
| 49 'conditions': [ | 49 'conditions': [ |
| 50 [ 'skia_os == "mac"', { | |
| 51 'xcode_settings': { | |
| 52 'OTHER_CPLUSPLUSFLAGS!': [ | |
| 53 '-Werror', | |
| 54 ] | |
| 55 }, | |
| 56 }], | |
| 57 [ 'skia_os == "win"', { | |
| 58 'msvs_settings': { | |
| 59 'VCCLCompilerTool': { | |
| 60 'WarnAsError': 'false', | |
| 61 }, | |
| 62 }, | |
| 63 }], | |
| 64 [ 'skia_os == "android"', { | 50 [ 'skia_os == "android"', { |
| 65 'cflags!': [ | 51 'cflags!': [ |
| 66 '-Wall', | 52 '-Wall', |
| 67 '-Werror', | |
| 68 ], | 53 ], |
| 69 }], | 54 }], |
| 70 ['skia_os in ["linux", "freebsd", "openbsd", "solaris", "nacl"]', { | 55 # Turn off warnings as errors. |
|
djsollen
2013/03/20 19:29:07
What do you think of putting this in a gypi and ca
borenet
2013/03/20 20:02:50
I like it! Done.
| |
| 71 'cflags!': [ | 56 [ 'skia_warnings_as_errors', { |
| 72 '-Werror', | 57 'conditions': [ |
| 58 [ 'skia_os == "mac" or skia_os == "ios"', { | |
| 59 'xcode_settings': { | |
| 60 'OTHER_CPLUSPLUSFLAGS!': [ | |
| 61 '-Werror', | |
| 62 ] | |
| 63 }, | |
| 64 }], | |
| 65 [ 'skia_os == "win"', { | |
| 66 'msvs_settings': { | |
| 67 'VCCLCompilerTool': { | |
| 68 'WarnAsError': 'false', | |
| 69 }, | |
| 70 }, | |
| 71 }], | |
| 72 ['skia_os in ["linux", "freebsd", "openbsd", "solaris", "nacl", "and roid"]', { | |
| 73 'cflags!': [ | |
| 74 '-Werror', | |
| 75 ], | |
| 76 }], | |
| 73 ], | 77 ], |
| 74 }], | 78 }], |
| 75 ], | 79 ], |
| 76 }, | 80 }, |
| 77 ], | 81 ], |
| 78 } | 82 } |
| 79 | 83 |
| 80 # Local Variables: | 84 # Local Variables: |
| 81 # tab-width:2 | 85 # tab-width:2 |
| 82 # indent-tabs-mode:nil | 86 # indent-tabs-mode:nil |
| 83 # End: | 87 # End: |
| 84 # vim: set expandtab tabstop=2 shiftwidth=2: | 88 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |