Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(550)

Side by Side Diff: build/linux/system.gyp

Issue 151713003: Clean up dependencies on X11 libraries (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos=1 links Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 'process_outputs_as_sources': 1, 289 'process_outputs_as_sources': 1,
290 }, 290 },
291 ], 291 ],
292 }], 292 }],
293 ], 293 ],
294 }, 294 },
295 { 295 {
296 'target_name': 'glib', 296 'target_name': 'glib',
297 'type': 'none', 297 'type': 'none',
298 'toolsets': ['host', 'target'], 298 'toolsets': ['host', 'target'],
299 'dependencies': [
300 'xtst'
301 ],
299 'variables': { 302 'variables': {
300 'glib_packages': 'glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0', 303 'glib_packages': 'glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0',
301 }, 304 },
302 'conditions': [ 305 'conditions': [
303 ['_toolset=="target"', { 306 ['_toolset=="target"', {
304 'direct_dependent_settings': { 307 'direct_dependent_settings': {
305 'cflags': [ 308 'cflags': [
306 '<!@(<(pkg-config) --cflags <(glib_packages))', 309 '<!@(<(pkg-config) --cflags <(glib_packages))',
307 ], 310 ],
308 }, 311 },
(...skipping 13 matching lines...) Expand all
322 }, 325 },
323 'link_settings': { 326 'link_settings': {
324 'ldflags': [ 327 'ldflags': [
325 '<!@(pkg-config --libs-only-L --libs-only-other <(glib_packages))' , 328 '<!@(pkg-config --libs-only-L --libs-only-other <(glib_packages))' ,
326 ], 329 ],
327 'libraries': [ 330 'libraries': [
328 '<!@(pkg-config --libs-only-l <(glib_packages))', 331 '<!@(pkg-config --libs-only-l <(glib_packages))',
329 ], 332 ],
330 }, 333 },
331 }], 334 }],
332 ['use_x11==1', {
333 'link_settings': {
334 'libraries': [ '-lXtst' ]
335 }
336 }],
337 ], 335 ],
338 }, 336 },
339 { 337 {
340 'target_name': 'gnome_keyring', 338 'target_name': 'gnome_keyring',
341 'type': 'none', 339 'type': 'none',
342 'conditions': [ 340 'conditions': [
343 ['use_gnome_keyring==1', { 341 ['use_gnome_keyring==1', {
344 'direct_dependent_settings': { 342 'direct_dependent_settings': {
345 'cflags': [ 343 'cflags': [
346 '<!@(<(pkg-config) --cflags gnome-keyring-1)', 344 '<!@(<(pkg-config) --cflags gnome-keyring-1)',
(...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after
945 'link_settings': { 943 'link_settings': {
946 'ldflags': [ 944 'ldflags': [
947 '<!@(<(pkg-config) --libs-only-L --libs-only-other xrender)', 945 '<!@(<(pkg-config) --libs-only-L --libs-only-other xrender)',
948 ], 946 ],
949 'libraries': [ 947 'libraries': [
950 '<!@(<(pkg-config) --libs-only-l xrender)', 948 '<!@(<(pkg-config) --libs-only-l xrender)',
951 ], 949 ],
952 }, 950 },
953 }, 951 },
954 { 952 {
953 'target_name': 'xscrnsaver',
954 'type': 'none',
955 'direct_dependent_settings': {
956 'cflags': [
957 '<!@(<(pkg-config) --cflags xscrnsaver)',
958 ],
959 },
960 'link_settings': {
961 'ldflags': [
962 '<!@(<(pkg-config) --libs-only-L --libs-only-other xscrnsaver)',
963 ],
964 'libraries': [
965 '<!@(<(pkg-config) --libs-only-l xscrnsaver)',
966 ],
967 },
968 },
969 {
955 'target_name': 'xtst', 970 'target_name': 'xtst',
956 'type': 'none', 971 'type': 'none',
957 'direct_dependent_settings': { 972 'toolsets': ['host', 'target'],
958 'cflags': [ 973 'conditions': [
959 '<!@(<(pkg-config) --cflags xtst)', 974 ['_toolset=="target"', {
960 ], 975 'direct_dependent_settings': {
961 }, 976 'cflags': [
962 'link_settings': { 977 '<!@(<(pkg-config) --cflags xtst)',
963 'ldflags': [ 978 ],
964 '<!@(<(pkg-config) --libs-only-L --libs-only-other xtst)', 979 },
965 ], 980 'link_settings': {
966 'libraries': [ 981 'ldflags': [
967 '<!@(<(pkg-config) --libs-only-l xtst)', 982 '<!@(<(pkg-config) --libs-only-L --libs-only-other xtst)',
968 ], 983 ],
969 }, 984 'libraries': [
985 '<!@(<(pkg-config) --libs-only-l xtst)',
986 ],
987 },
988 }, {
989 'direct_dependent_settings': {
990 'cflags': [
991 '<!@(pkg-config --cflags xtst)',
992 ],
993 },
994 'link_settings': {
995 'ldflags': [
996 '<!@(pkg-config --libs-only-L --libs-only-other xtst)',
997 ],
998 'libraries': [
999 '<!@(pkg-config --libs-only-l xtst)',
1000 ],
1001 },
1002 }]
1003 ]
970 } 1004 }
971 ], 1005 ],
972 } 1006 }
OLDNEW
« no previous file with comments | « no previous file | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698