| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 'sources/libexif/pentax/mnote-pentax-tag.c', | 45 'sources/libexif/pentax/mnote-pentax-tag.c', |
| 46 ], | 46 ], |
| 47 'include_dirs': [ | 47 'include_dirs': [ |
| 48 'sources', | 48 'sources', |
| 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 'variables': { |
| 56 'clang_warning_flags': [ |
| 57 '-Wno-enum-conversion', |
| 58 '-Wno-switch', |
| 59 '-Wno-format', |
| 60 # libexif uses fabs(int) to cast to float. |
| 61 '-Wno-absolute-value', |
| 62 ], |
| 63 }, |
| 55 'conditions': [ | 64 'conditions': [ |
| 56 ['clang==1', { | |
| 57 'cflags': [ | |
| 58 '-Wno-enum-conversion', | |
| 59 '-Wno-switch', | |
| 60 # libexif uses fabs(int) to cast to float. | |
| 61 '-Wno-absolute-value', | |
| 62 ], | |
| 63 'xcode_settings': { | |
| 64 'WARNING_CFLAGS': [ | |
| 65 '-Wno-enum-conversion', | |
| 66 '-Wno-switch', | |
| 67 '-Wno-format', | |
| 68 # libexif uses fabs(int) to cast to float. | |
| 69 '-Wno-absolute-value', | |
| 70 ], | |
| 71 }, | |
| 72 }], | |
| 73 ['os_posix==1 and OS!="mac"', { | 65 ['os_posix==1 and OS!="mac"', { |
| 74 'cflags!': ['-fvisibility=hidden'], | 66 'cflags!': ['-fvisibility=hidden'], |
| 75 }], | 67 }], |
| 76 ['OS=="mac"', { | 68 ['OS=="mac"', { |
| 77 'conditions': [ | 69 'conditions': [ |
| 78 ['mac_breakpad==1', { | 70 ['mac_breakpad==1', { |
| 79 'variables': { | 71 'variables': { |
| 80 'mac_real_dsym': 1, | 72 'mac_real_dsym': 1, |
| 81 }, | 73 }, |
| 82 }], | 74 }], |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 ], | 117 ], |
| 126 'defines': [ | 118 'defines': [ |
| 127 'USE_SYSTEM_LIBEXIF', | 119 'USE_SYSTEM_LIBEXIF', |
| 128 ], | 120 ], |
| 129 }, | 121 }, |
| 130 } | 122 } |
| 131 ], | 123 ], |
| 132 }], | 124 }], |
| 133 ] | 125 ] |
| 134 } | 126 } |
| OLD | NEW |