| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 'conditions': [ | 6 'conditions': [ |
| 7 ['sysroot!=""', { | 7 ['sysroot!=""', { |
| 8 'variables': { | 8 'variables': { |
| 9 'pkg-config': './pkg-config-wrapper "<(sysroot)"', | 9 'pkg-config': './pkg-config-wrapper "<(sysroot)"', |
| 10 }, | 10 }, |
| 11 }, { | 11 }, { |
| 12 'variables': { | 12 'variables': { |
| 13 'pkg-config': 'pkg-config' | 13 'pkg-config': 'pkg-config' |
| 14 }, | 14 }, |
| 15 }], | 15 }], |
| 16 ], | 16 ], |
| 17 | 17 |
| 18 'variables': { |
| 19 'use_system_ssl%': 1, |
| 20 }, |
| 21 |
| 18 'targets': [ | 22 'targets': [ |
| 19 { | 23 { |
| 20 'target_name': 'gtk', | 24 'target_name': 'gtk', |
| 21 'type': 'settings', | 25 'type': 'settings', |
| 22 'conditions': [ | 26 'conditions': [ |
| 23 ['_toolset=="target"', { | 27 ['_toolset=="target"', { |
| 24 'direct_dependent_settings': { | 28 'direct_dependent_settings': { |
| 25 'cflags': [ | 29 'cflags': [ |
| 26 '<!@(<(pkg-config) --cflags gtk+-2.0 gthread-2.0)', | 30 '<!@(<(pkg-config) --cflags gtk+-2.0 gthread-2.0)', |
| 27 ], | 31 ], |
| (...skipping 26 matching lines...) Expand all Loading... |
| 54 '<!@(<(pkg-config) --libs-only-l gtk+-unix-print-2.0)', | 58 '<!@(<(pkg-config) --libs-only-l gtk+-unix-print-2.0)', |
| 55 ], | 59 ], |
| 56 }, | 60 }, |
| 57 }]] | 61 }]] |
| 58 }, | 62 }, |
| 59 { | 63 { |
| 60 'target_name': 'nss', | 64 'target_name': 'nss', |
| 61 'type': 'settings', | 65 'type': 'settings', |
| 62 'conditions': [ | 66 'conditions': [ |
| 63 ['_toolset=="target"', { | 67 ['_toolset=="target"', { |
| 64 'direct_dependent_settings': { | 68 'conditions': [ |
| 65 'cflags': [ | 69 ['use_system_ssl==0', { |
| 66 '<!@(<(pkg-config) --cflags nss)', | 70 'dependencies': [ |
| 67 ], | 71 '../../net/third_party/nss/nss.gyp:ssl', |
| 68 }, | 72 ], |
| 69 'link_settings': { | 73 'direct_dependent_settings': { |
| 70 'ldflags': [ | 74 'cflags': [ |
| 71 '<!@(<(pkg-config) --libs-only-L --libs-only-other nss)', | 75 '-Ithird_party/nss/ssl', |
| 72 ], | 76 '<!@(<(pkg-config) --cflags nss)', |
| 73 'libraries': [ | 77 ], |
| 74 '<!@(<(pkg-config) --libs-only-l nss)', | 78 }, |
| 75 ], | 79 'link_settings': { |
| 76 }, | 80 'ldflags': [ |
| 77 }]] | 81 '<!@(<(pkg-config) --libs-only-L --libs-only-other nss)', |
| 82 ], |
| 83 'libraries': [ |
| 84 '<!@(<(pkg-config) --libs-only-l nss | sed -e "s/-lssl3//")', |
| 85 ], |
| 86 }, |
| 87 }, { |
| 88 'direct_dependent_settings': { |
| 89 'cflags': [ |
| 90 '<!@(<(pkg-config) --cflags nss)', |
| 91 ], |
| 92 }, |
| 93 'link_settings': { |
| 94 'ldflags': [ |
| 95 '<!@(<(pkg-config) --libs-only-L --libs-only-other nss)', |
| 96 ], |
| 97 'libraries': [ |
| 98 '<!@(<(pkg-config) --libs-only-l nss)', |
| 99 ], |
| 100 }, |
| 101 }]] |
| 102 }], |
| 103 ], |
| 78 }, | 104 }, |
| 79 { | 105 { |
| 80 'target_name': 'freetype2', | 106 'target_name': 'freetype2', |
| 81 'type': 'settings', | 107 'type': 'settings', |
| 82 'conditions': [ | 108 'conditions': [ |
| 83 ['_toolset=="target"', { | 109 ['_toolset=="target"', { |
| 84 'direct_dependent_settings': { | 110 'direct_dependent_settings': { |
| 85 'cflags': [ | 111 'cflags': [ |
| 86 '<!@(<(pkg-config) --cflags freetype2)', | 112 '<!@(<(pkg-config) --cflags freetype2)', |
| 87 ], | 113 ], |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 # }, | 252 # }, |
| 227 # }, | 253 # }, |
| 228 ], | 254 ], |
| 229 } | 255 } |
| 230 | 256 |
| 231 # Local Variables: | 257 # Local Variables: |
| 232 # tab-width:2 | 258 # tab-width:2 |
| 233 # indent-tabs-mode:nil | 259 # indent-tabs-mode:nil |
| 234 # End: | 260 # End: |
| 235 # vim: set expandtab tabstop=2 shiftwidth=2: | 261 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |