| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 ], | 49 ], |
| 50 'direct_dependent_settings': { | 50 'direct_dependent_settings': { |
| 51 'include_dirs': [ | 51 'include_dirs': [ |
| 52 'sources', | 52 'sources', |
| 53 ], | 53 ], |
| 54 }, | 54 }, |
| 55 'conditions': [ | 55 'conditions': [ |
| 56 ['clang==1', { | 56 ['clang==1', { |
| 57 'cflags': [ | 57 'cflags': [ |
| 58 '-Wno-enum-conversion', | 58 '-Wno-enum-conversion', |
| 59 '-Wno-switch' | 59 '-Wno-switch', |
| 60 # libexif uses fabs(int) to cast to float. |
| 61 '-Wno-absolute-value', |
| 60 ], | 62 ], |
| 61 'xcode_settings': { | 63 'xcode_settings': { |
| 62 'WARNING_CFLAGS': [ | 64 'WARNING_CFLAGS': [ |
| 63 '-Wno-enum-conversion', | 65 '-Wno-enum-conversion', |
| 64 '-Wno-switch', | 66 '-Wno-switch', |
| 65 '-Wno-format', | 67 '-Wno-format', |
| 68 # libexif uses fabs(int) to cast to float. |
| 69 '-Wno-absolute-value', |
| 66 ], | 70 ], |
| 67 }, | 71 }, |
| 68 }], | 72 }], |
| 69 ['os_posix==1 and OS!="mac"', { | 73 ['os_posix==1 and OS!="mac"', { |
| 70 'cflags!': ['-fvisibility=hidden'], | 74 'cflags!': ['-fvisibility=hidden'], |
| 71 }], | 75 }], |
| 72 ['OS=="mac"', { | 76 ['OS=="mac"', { |
| 73 'conditions': [ | 77 'conditions': [ |
| 74 ['mac_breakpad==1', { | 78 ['mac_breakpad==1', { |
| 75 'variables': { | 79 'variables': { |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 ], | 125 ], |
| 122 'defines': [ | 126 'defines': [ |
| 123 'USE_SYSTEM_LIBEXIF', | 127 'USE_SYSTEM_LIBEXIF', |
| 124 ], | 128 ], |
| 125 }, | 129 }, |
| 126 } | 130 } |
| 127 ], | 131 ], |
| 128 }], | 132 }], |
| 129 ] | 133 ] |
| 130 } | 134 } |
| OLD | NEW |