| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |