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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'conditions': [ | 7 'conditions': [ |
8 # TODO(kmadhusu): We are not ready to build this library on Android. | 8 # TODO(kmadhusu): We are not ready to build this library on Android. |
9 # Resolve the issues and build on Android. | 9 # Resolve the issues and build on Android. |
10 ['os_posix==1 and OS!="mac"', { | 10 ['os_posix==1 and OS!="mac"', { |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 ], | 49 ], |
50 'include_dirs': [ | 50 'include_dirs': [ |
51 'sources', | 51 'sources', |
52 ], | 52 ], |
53 'direct_dependent_settings': { | 53 'direct_dependent_settings': { |
54 'include_dirs': [ | 54 'include_dirs': [ |
55 'sources', | 55 'sources', |
56 ], | 56 ], |
57 }, | 57 }, |
58 'conditions': [ | 58 'conditions': [ |
| 59 ['clang==1', { |
| 60 'cflags': ['-Wno-enum-conversion', '-Wno-switch'], |
| 61 }], |
59 ['os_posix==1 and OS!="mac"', { | 62 ['os_posix==1 and OS!="mac"', { |
60 'cflags!': ['-fvisibility=hidden'], | 63 'cflags!': ['-fvisibility=hidden'], |
61 }], | 64 }], |
62 ['OS=="mac"', { | 65 ['OS=="mac"', { |
63 'conditions': [ | 66 'conditions': [ |
64 ['mac_breakpad==1', { | 67 ['mac_breakpad==1', { |
65 'variables': { | 68 'variables': { |
66 'mac_real_dsym': 1, | 69 'mac_real_dsym': 1, |
67 }, | 70 }, |
68 }], | 71 }], |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 ], | 123 ], |
121 'libraries': [ | 124 'libraries': [ |
122 '<!@(<(pkg-config) --libs-only-l libexif)', | 125 '<!@(<(pkg-config) --libs-only-l libexif)', |
123 ], | 126 ], |
124 }, | 127 }, |
125 } | 128 } |
126 ], | 129 ], |
127 }], | 130 }], |
128 ] | 131 ] |
129 } | 132 } |
OLD | NEW |