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 ['OS == "linux" and chromeos==0', { | 8 ['OS == "linux" and chromeos==0', { |
9 'use_system_libexif%': 1, | 9 'use_system_libexif%': 1, |
10 }, { # OS != "linux" and chromeos==0 | 10 }, { # OS != "linux" and chromeos==0 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 '-Wno-enum-conversion', | 57 '-Wno-enum-conversion', |
58 '-Wno-switch', | 58 '-Wno-switch', |
59 '-Wno-format', | 59 '-Wno-format', |
60 # libexif uses fabs(int) to cast to float. | 60 # libexif uses fabs(int) to cast to float. |
61 '-Wno-absolute-value', | 61 '-Wno-absolute-value', |
62 ], | 62 ], |
63 }, | 63 }, |
64 'conditions': [ | 64 'conditions': [ |
65 ['os_posix==1 and OS!="mac"', { | 65 ['os_posix==1 and OS!="mac"', { |
66 'cflags!': ['-fvisibility=hidden'], | 66 'cflags!': ['-fvisibility=hidden'], |
| 67 'libraries': ['-lm'], |
67 }], | 68 }], |
68 ['OS=="mac"', { | 69 ['OS=="mac"', { |
69 'conditions': [ | 70 'conditions': [ |
70 ['mac_breakpad==1', { | 71 ['mac_breakpad==1', { |
71 'variables': { | 72 'variables': { |
72 'mac_real_dsym': 1, | 73 'mac_real_dsym': 1, |
73 }, | 74 }, |
74 }], | 75 }], |
75 ], | 76 ], |
76 'xcode_settings': { | 77 'xcode_settings': { |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 ], | 128 ], |
128 'defines': [ | 129 'defines': [ |
129 'USE_SYSTEM_LIBEXIF', | 130 'USE_SYSTEM_LIBEXIF', |
130 ], | 131 ], |
131 }, | 132 }, |
132 } | 133 } |
133 ], | 134 ], |
134 }], | 135 }], |
135 ] | 136 ] |
136 } | 137 } |
OLD | NEW |