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

Side by Side Diff: build/config/linux/BUILD.gn

Issue 224633002: Add GN buildfile for gfx (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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.gn ('k') | build/config/ui.gni » ('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) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 import("//build/config/linux/pkg_config.gni") 5 import("//build/config/linux/pkg_config.gni")
6 import("//build/config/sysroot.gni") 6 import("//build/config/sysroot.gni")
7 7
8 config("sdk") { 8 config("sdk") {
9 if (sysroot != "") { 9 if (sysroot != "") {
10 cflags = [ "--sysroot=" + sysroot ] 10 cflags = [ "--sysroot=" + sysroot ]
(...skipping 11 matching lines...) Expand all
22 config("executable_ldconfig") { 22 config("executable_ldconfig") {
23 ldflags = [ 23 ldflags = [
24 # Want to pass "\$". Need to escape both '\' and '$'. GN will re-escape as 24 # Want to pass "\$". Need to escape both '\' and '$'. GN will re-escape as
25 # required for ninja. 25 # required for ninja.
26 "-Wl,-rpath=\\\$ORIGIN/lib/", 26 "-Wl,-rpath=\\\$ORIGIN/lib/",
27 27
28 "-Wl,-rpath-link=lib/", 28 "-Wl,-rpath-link=lib/",
29 ] 29 ]
30 } 30 }
31 31
32 pkg_config("dridrm") {
33 packages = [ "libdrm" ]
34 }
35
32 config("fontconfig") { 36 config("fontconfig") {
33 libs = [ "fontconfig" ] 37 libs = [ "fontconfig" ]
34 } 38 }
35 39
36 pkg_config("freetype2") { 40 pkg_config("freetype2") {
37 packages = [ "freetype2" ] 41 packages = [ "freetype2" ]
38 } 42 }
39 43
40 pkg_config("glib") { 44 pkg_config("glib") {
41 packages = [ "glib-2.0", "gmodule-2.0", "gobject-2.0", "gthread-2.0" ] 45 packages = [ "glib-2.0", "gmodule-2.0", "gobject-2.0", "gthread-2.0" ]
(...skipping 22 matching lines...) Expand all
64 "Xcursor", 68 "Xcursor",
65 "Xdamage", 69 "Xdamage",
66 "Xext", 70 "Xext",
67 "Xfixes", 71 "Xfixes",
68 "Xi", 72 "Xi",
69 "Xrender", 73 "Xrender",
70 "Xss", 74 "Xss",
71 "Xtst", 75 "Xtst",
72 ] 76 ]
73 } 77 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | build/config/ui.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698