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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 4267, # size_t -> ExifLong truncation on amd64 | 95 4267, # size_t -> ExifLong truncation on amd64 |
96 ], | 96 ], |
97 }], | 97 }], |
98 ], | 98 ], |
99 }, | 99 }, |
100 ], | 100 ], |
101 }, { # 'use_system_libexif!=0 | 101 }, { # 'use_system_libexif!=0 |
102 'conditions': [ | 102 'conditions': [ |
103 ['sysroot!=""', { | 103 ['sysroot!=""', { |
104 'variables': { | 104 'variables': { |
105 'pkg-config': '../../build/linux/pkg-config-wrapper "<(sysroot)" "<(
target_arch)"', | 105 'pkg-config': '../../build/linux/pkg-config-wrapper "<(sysroot)" "<(
target_arch)" "<(system_libdir)"', |
106 }, | 106 }, |
107 }, { | 107 }, { |
108 'variables': { | 108 'variables': { |
109 'pkg-config': 'pkg-config' | 109 'pkg-config': 'pkg-config' |
110 }, | 110 }, |
111 }], | 111 }], |
112 ], | 112 ], |
113 'targets': [ | 113 'targets': [ |
114 { | 114 { |
115 'target_name': 'libexif', | 115 'target_name': 'libexif', |
116 'type': 'none', | 116 'type': 'none', |
117 'direct_dependent_settings': { | 117 'direct_dependent_settings': { |
118 'cflags': [ | 118 'cflags': [ |
119 '<!@(<(pkg-config) --cflags libexif)', | 119 '<!@(<(pkg-config) --cflags libexif)', |
120 ], | 120 ], |
121 'defines': [ | 121 'defines': [ |
122 'USE_SYSTEM_LIBEXIF', | 122 'USE_SYSTEM_LIBEXIF', |
123 ], | 123 ], |
124 }, | 124 }, |
125 } | 125 } |
126 ], | 126 ], |
127 }], | 127 }], |
128 ] | 128 ] |
129 } | 129 } |
OLD | NEW |