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

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

Issue 751623003: ozone: Add initial build support for xkbcommon (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix niits Created 6 years 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
« no previous file with comments | « build/common.gypi ('k') | ui/events/ozone/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 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 'ldflags': [ 458 'ldflags': [
459 '<!@(<(pkg-config) --libs-only-L --libs-only-other libgestures)', 459 '<!@(<(pkg-config) --libs-only-L --libs-only-other libgestures)',
460 ], 460 ],
461 'libraries': [ 461 'libraries': [
462 '<!@(<(pkg-config) --libs-only-l libgestures)', 462 '<!@(<(pkg-config) --libs-only-l libgestures)',
463 ], 463 ],
464 }, 464 },
465 }, 465 },
466 ], 466 ],
467 }], 467 }],
468 ['use_xkbcommon==1', {
469 'targets': [
470 {
471 'target_name': 'xkbcommon',
472 'type': 'none',
473 'direct_dependent_settings': {
474 'cflags': [
475 '<!@(<(pkg-config) --cflags xkbcommon)'
476 ],
477 },
478 'link_settings': {
479 'ldflags': [
480 '<!@(<(pkg-config) --libs-only-L --libs-only-other xkbcommon)',
481 ],
482 'libraries': [
483 '<!@(<(pkg-config) --libs-only-l xkbcommon)',
484 ],
485 },
486 },
487 ],
488 }],
468 ['ozone_platform_gbm==1', { 489 ['ozone_platform_gbm==1', {
469 'targets': [ 490 'targets': [
470 { 491 {
471 'target_name': 'gbm', 492 'target_name': 'gbm',
472 'type': 'none', 493 'type': 'none',
473 'direct_dependent_settings': { 494 'direct_dependent_settings': {
474 'cflags': [ 495 'cflags': [
475 '<!@(<(pkg-config) --cflags gbm)', 496 '<!@(<(pkg-config) --cflags gbm)',
476 ], 497 ],
477 }, 498 },
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after
1162 '-Wno-header-guard', 1183 '-Wno-header-guard',
1163 ], 1184 ],
1164 }, 1185 },
1165 }], 1186 }],
1166 ] 1187 ]
1167 }], 1188 }],
1168 ], 1189 ],
1169 }, 1190 },
1170 ], 1191 ],
1171 } 1192 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | ui/events/ozone/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698