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. |
71 'cflags!': [ | 56 [ 'skia_warnings_as_errors', { |
72 '-Werror', | 57 'conditions': [ |
| 58 [ 'skia_os == "mac"', { |
| 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 == "android"', { |
| 73 'cflags!': [ |
| 74 '-Werror', |
| 75 ], |
| 76 }], |
| 77 ['skia_os in ["linux", "freebsd", "openbsd", "solaris", "nacl"]', { |
| 78 'cflags!': [ |
| 79 '-Werror', |
| 80 ], |
| 81 }], |
73 ], | 82 ], |
74 }], | 83 }], |
75 ], | 84 ], |
76 }, | 85 }, |
77 ], | 86 ], |
78 } | 87 } |
79 | 88 |
80 # Local Variables: | 89 # Local Variables: |
81 # tab-width:2 | 90 # tab-width:2 |
82 # indent-tabs-mode:nil | 91 # indent-tabs-mode:nil |
83 # End: | 92 # End: |
84 # vim: set expandtab tabstop=2 shiftwidth=2: | 93 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |