Chromium Code Reviews| 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 # If any of the linux_link_FOO below are set to 1, then the corresponding | 7 # If any of the linux_link_FOO below are set to 1, then the corresponding |
| 8 # target will be linked against the FOO library (either dynamically or | 8 # target will be linked against the FOO library (either dynamically or |
| 9 # statically, depending on the pkg-config files), as opposed to loading the | 9 # statically, depending on the pkg-config files), as opposed to loading the |
| 10 # FOO library dynamically with dlopen. | 10 # FOO library dynamically with dlopen. |
| (...skipping 969 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 980 'type': 'none', | 980 'type': 'none', |
| 981 'conditions': [ | 981 'conditions': [ |
| 982 ['use_gnome_keyring==1', { | 982 ['use_gnome_keyring==1', { |
| 983 'direct_dependent_settings': { | 983 'direct_dependent_settings': { |
| 984 'cflags': [ | 984 'cflags': [ |
| 985 '<!@(<(pkg-config) --cflags gnome-keyring-1)', | 985 '<!@(<(pkg-config) --cflags gnome-keyring-1)', |
| 986 ], | 986 ], |
| 987 'defines': [ | 987 'defines': [ |
| 988 'USE_GNOME_KEYRING', | 988 'USE_GNOME_KEYRING', |
| 989 ], | 989 ], |
| 990 'conditions': [ | |
| 991 ['linux_link_gnome_keyring==0', { | |
| 992 'defines': ['DLOPEN_GNOME_KEYRING'], | |
| 993 }], | |
| 994 ], | |
| 995 }, | 990 }, |
| 996 'conditions': [ | 991 'conditions': [ |
| 997 ['linux_link_gnome_keyring!=0', { | 992 ['linux_link_gnome_keyring!=0', { |
| 998 'link_settings': { | 993 'link_settings': { |
| 999 'ldflags': [ | 994 'ldflags': [ |
| 1000 '<!@(<(pkg-config) --libs-only-L --libs-only-other gnome-keyri ng-1)', | 995 '<!@(<(pkg-config) --libs-only-L --libs-only-other gnome-keyri ng-1)', |
| 1001 ], | 996 ], |
| 1002 'libraries': [ | 997 'libraries': [ |
| 1003 '<!@(<(pkg-config) --libs-only-l gnome-keyring-1)', | 998 '<!@(<(pkg-config) --libs-only-l gnome-keyring-1)', |
| 1004 ], | 999 ], |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 1027 'type': 'none', | 1022 'type': 'none', |
| 1028 'conditions': [ | 1023 'conditions': [ |
| 1029 ['use_gnome_keyring==1', { | 1024 ['use_gnome_keyring==1', { |
| 1030 'direct_dependent_settings': { | 1025 'direct_dependent_settings': { |
| 1031 'cflags': [ | 1026 'cflags': [ |
| 1032 '<!@(<(pkg-config) --cflags gnome-keyring-1)', | 1027 '<!@(<(pkg-config) --cflags gnome-keyring-1)', |
| 1033 ], | 1028 ], |
| 1034 'defines': [ | 1029 'defines': [ |
| 1035 'USE_GNOME_KEYRING', | 1030 'USE_GNOME_KEYRING', |
| 1036 ], | 1031 ], |
| 1037 'conditions': [ | |
| 1038 ['linux_link_gnome_keyring==0', { | |
|
vasilii
2016/07/28 13:33:22
Do you want to drop linux_link_gnome_keyring too?
cfroussios
2016/07/28 16:06:39
Done.
I didn't want to dive too deep into gyp, be
| |
| 1039 'defines': ['DLOPEN_GNOME_KEYRING'], | |
| 1040 }], | |
| 1041 ], | |
| 1042 }, | 1032 }, |
| 1043 'link_settings': { | 1033 'link_settings': { |
| 1044 'ldflags': [ | 1034 'ldflags': [ |
| 1045 '<!@(<(pkg-config) --libs-only-L --libs-only-other gnome-keyring-1 )', | 1035 '<!@(<(pkg-config) --libs-only-L --libs-only-other gnome-keyring-1 )', |
| 1046 ], | 1036 ], |
| 1047 'libraries': [ | 1037 'libraries': [ |
| 1048 '<!@(<(pkg-config) --libs-only-l gnome-keyring-1)', | 1038 '<!@(<(pkg-config) --libs-only-l gnome-keyring-1)', |
| 1049 ], | 1039 ], |
| 1050 }, | 1040 }, |
| 1051 }], | 1041 }], |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1293 ], | 1283 ], |
| 1294 'libraries': [ | 1284 'libraries': [ |
| 1295 '<!@(<(pkg-config) --libs-only-l libffi)', | 1285 '<!@(<(pkg-config) --libs-only-l libffi)', |
| 1296 ], | 1286 ], |
| 1297 }, | 1287 }, |
| 1298 }], | 1288 }], |
| 1299 ], | 1289 ], |
| 1300 }, | 1290 }, |
| 1301 ], | 1291 ], |
| 1302 } | 1292 } |
| OLD | NEW |