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

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

Issue 427853004: Move libdrm target behind conditional (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 4 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 | « build/config/linux/BUILD.gn ('k') | ui/ozone/platform/dri/BUILD.gn » ('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': '<(chroot_cmd) ./pkg-config-wrapper "<(sysroot)" "<(target _arch)" "<(system_libdir)"', 9 'pkg-config': '<(chroot_cmd) ./pkg-config-wrapper "<(sysroot)" "<(target _arch)" "<(system_libdir)"',
10 }, { 10 }, {
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 ], 409 ],
410 }, 410 },
411 'link_settings': { 411 'link_settings': {
412 'libraries': [ 412 'libraries': [
413 '<!@(<(pkg-config) --libs-only-l gbm)', 413 '<!@(<(pkg-config) --libs-only-l gbm)',
414 ], 414 ],
415 }, 415 },
416 }, 416 },
417 ], 417 ],
418 }], 418 }],
419 ['ozone_platform_dri==1 or ozone_platform_gbm==1', {
420 'targets': [
421 {
422 'target_name': 'libdrm',
423 'type': 'none',
424 'direct_dependent_settings': {
425 'cflags': [
426 '<!@(<(pkg-config) --cflags libdrm)',
427 ],
428 },
429 'link_settings': {
430 'libraries': [
431 '<!@(<(pkg-config) --libs-only-l libdrm)',
432 ],
433 },
434 },
435 ],
436 }],
419 ], # conditions 437 ], # conditions
420 'targets': [ 438 'targets': [
421 { 439 {
422 'target_name': 'dbus', 440 'target_name': 'dbus',
423 'type': 'none', 441 'type': 'none',
424 'direct_dependent_settings': { 442 'direct_dependent_settings': {
425 'cflags': [ 443 'cflags': [
426 '<!@(<(pkg-config) --cflags dbus-1)', 444 '<!@(<(pkg-config) --cflags dbus-1)',
427 ], 445 ],
428 }, 446 },
429 'link_settings': { 447 'link_settings': {
430 'ldflags': [ 448 'ldflags': [
431 '<!@(<(pkg-config) --libs-only-L --libs-only-other dbus-1)', 449 '<!@(<(pkg-config) --libs-only-L --libs-only-other dbus-1)',
432 ], 450 ],
433 'libraries': [ 451 'libraries': [
434 '<!@(<(pkg-config) --libs-only-l dbus-1)', 452 '<!@(<(pkg-config) --libs-only-l dbus-1)',
435 ], 453 ],
436 }, 454 },
437 }, 455 },
438 { 456 {
439 'target_name': 'dridrm',
440 'type': 'none',
441 'direct_dependent_settings': {
442 'cflags': [
443 '<!@(<(pkg-config) --cflags libdrm)',
444 ],
445 },
446 'link_settings': {
447 'libraries': [
448 '<!@(<(pkg-config) --libs-only-l libdrm)',
449 ],
450 },
451 },
452 {
453 'target_name': 'fontconfig', 457 'target_name': 'fontconfig',
454 'type': 'none', 458 'type': 'none',
455 'conditions': [ 459 'conditions': [
456 ['_toolset=="target"', { 460 ['_toolset=="target"', {
457 'conditions': [ 461 'conditions': [
458 ['use_system_fontconfig==1', { 462 ['use_system_fontconfig==1', {
459 'direct_dependent_settings': { 463 'direct_dependent_settings': {
460 'cflags': [ 464 'cflags': [
461 '<!@(<(pkg-config) --cflags fontconfig)', 465 '<!@(<(pkg-config) --cflags fontconfig)',
462 ], 466 ],
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
1041 ], 1045 ],
1042 'libraries': [ 1046 'libraries': [
1043 '<!@(<(pkg-config) --libs-only-l libudev)', 1047 '<!@(<(pkg-config) --libs-only-l libudev)',
1044 ], 1048 ],
1045 }, 1049 },
1046 }], 1050 }],
1047 ], 1051 ],
1048 }, 1052 },
1049 ], 1053 ],
1050 } 1054 }
OLDNEW
« no previous file with comments | « build/config/linux/BUILD.gn ('k') | ui/ozone/platform/dri/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698