| 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 ['sysroot!=""', { | 8 ['sysroot!=""', { |
| 9 'pkg-config': './pkg-config-wrapper "<(sysroot)" "<(target_arch)"', | 9 'pkg-config': './pkg-config-wrapper "<(sysroot)" "<(target_arch)"', |
| 10 }, { | 10 }, { |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 'libraries': [ | 149 'libraries': [ |
| 150 '<!@(<(pkg-config) --libs-only-l libdrm)', | 150 '<!@(<(pkg-config) --libs-only-l libdrm)', |
| 151 ], | 151 ], |
| 152 }, | 152 }, |
| 153 }, | 153 }, |
| 154 { | 154 { |
| 155 'target_name': 'fontconfig', | 155 'target_name': 'fontconfig', |
| 156 'type': 'none', | 156 'type': 'none', |
| 157 'conditions': [ | 157 'conditions': [ |
| 158 ['_toolset=="target"', { | 158 ['_toolset=="target"', { |
| 159 'direct_dependent_settings': { | 159 'conditions': [ |
| 160 'cflags': [ | 160 ['use_system_fontconfig==1', { |
| 161 '<!@(<(pkg-config) --cflags fontconfig)', | 161 'direct_dependent_settings': { |
| 162 ], | 162 'cflags': [ |
| 163 }, | 163 '<!@(<(pkg-config) --cflags fontconfig)', |
| 164 'link_settings': { | 164 ], |
| 165 'ldflags': [ | 165 }, |
| 166 '<!@(<(pkg-config) --libs-only-L --libs-only-other fontconfig)', | 166 'link_settings': { |
| 167 ], | 167 'ldflags': [ |
| 168 'libraries': [ | 168 '<!@(<(pkg-config) --libs-only-L --libs-only-other fontconfig)
', |
| 169 '<!@(<(pkg-config) --libs-only-l fontconfig)', | 169 ], |
| 170 ], | 170 'libraries': [ |
| 171 }, | 171 '<!@(<(pkg-config) --libs-only-l fontconfig)', |
| 172 ], |
| 173 }, |
| 174 }, { # use_system_fontconfig==0 |
| 175 'dependencies': [ |
| 176 '../../third_party/fontconfig/fontconfig.gyp:fontconfig', |
| 177 ], |
| 178 'export_dependent_settings' : [ |
| 179 '../../third_party/fontconfig/fontconfig.gyp:fontconfig', |
| 180 ], |
| 181 }], |
| 182 ], |
| 172 }], | 183 }], |
| 173 ], | 184 ], |
| 174 }, | 185 }, |
| 175 { | 186 { |
| 176 'target_name': 'freetype2', | 187 'target_name': 'freetype2', |
| 177 'type': 'none', | 188 'type': 'none', |
| 178 'conditions': [ | 189 'conditions': [ |
| 179 ['_toolset=="target"', { | 190 ['_toolset=="target"', { |
| 180 'direct_dependent_settings': { | 191 'direct_dependent_settings': { |
| 181 'cflags': [ | 192 'cflags': [ |
| (...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 887 ], | 898 ], |
| 888 'libraries': [ | 899 'libraries': [ |
| 889 '<!@(pkg-config --libs-only-l xrandr)', | 900 '<!@(pkg-config --libs-only-l xrandr)', |
| 890 ], | 901 ], |
| 891 }, | 902 }, |
| 892 }], | 903 }], |
| 893 ], | 904 ], |
| 894 }, | 905 }, |
| 895 ], | 906 ], |
| 896 } | 907 } |
| OLD | NEW |