| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 'msvs_settings': { | 107 'msvs_settings': { |
| 108 'VCCLCompilerTool': { | 108 'VCCLCompilerTool': { |
| 109 'AdditionalOptions!': [ '/analyze' ] | 109 'AdditionalOptions!': [ '/analyze' ] |
| 110 }, | 110 }, |
| 111 }, | 111 }, |
| 112 }], | 112 }], |
| 113 ], | 113 ], |
| 114 }, | 114 }, |
| 115 ], | 115 ], |
| 116 }, { # 'use_system_libexif!=0 | 116 }, { # 'use_system_libexif!=0 |
| 117 'conditions': [ | |
| 118 ['sysroot!=""', { | |
| 119 'variables': { | |
| 120 'pkg-config': '../../build/linux/pkg-config-wrapper "<(sysroot)" "<(
target_arch)" "<(system_libdir)"', | |
| 121 }, | |
| 122 }, { | |
| 123 'variables': { | |
| 124 'pkg-config': 'pkg-config' | |
| 125 }, | |
| 126 }], | |
| 127 ], | |
| 128 'targets': [ | 117 'targets': [ |
| 129 { | 118 { |
| 130 'target_name': 'libexif', | 119 'target_name': 'libexif', |
| 131 'type': 'none', | 120 'type': 'none', |
| 132 'direct_dependent_settings': { | 121 'direct_dependent_settings': { |
| 133 'cflags': [ | 122 'cflags': [ |
| 134 '<!@(<(pkg-config) --cflags libexif)', | 123 '<!@(<(pkg-config) --cflags libexif)', |
| 135 ], | 124 ], |
| 136 'defines': [ | 125 'defines': [ |
| 137 'USE_SYSTEM_LIBEXIF', | 126 'USE_SYSTEM_LIBEXIF', |
| 138 ], | 127 ], |
| 139 }, | 128 }, |
| 140 } | 129 } |
| 141 ], | 130 ], |
| 142 }], | 131 }], |
| 143 ] | 132 ] |
| 144 } | 133 } |
| OLD | NEW |