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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 "Xdamage", | 58 "Xdamage", |
59 "Xext", | 59 "Xext", |
60 "Xfixes", | 60 "Xfixes", |
61 "Xi", | 61 "Xi", |
62 "Xrender", | 62 "Xrender", |
63 "Xss", | 63 "Xss", |
64 "Xtst", | 64 "Xtst", |
65 ] | 65 ] |
66 } | 66 } |
67 | 67 |
| 68 config("xcomposite") { |
| 69 libs = [ "Xcomposite" ] |
| 70 } |
| 71 |
| 72 config("xext") { |
| 73 libs = [ "Xext" ] |
| 74 } |
| 75 |
68 config("libresolv") { | 76 config("libresolv") { |
69 libs = [ "resolv" ] | 77 libs = [ "resolv" ] |
70 } | 78 } |
71 | 79 |
72 pkg_config("gconf") { | 80 pkg_config("gconf") { |
73 packages = [ "gconf-2.0" ] | 81 packages = [ "gconf-2.0" ] |
74 defines = [ "USE_GCONF" ] | 82 defines = [ "USE_GCONF" ] |
75 } | 83 } |
76 | 84 |
77 pkg_config("gio_config") { | 85 pkg_config("gio_config") { |
(...skipping 29 matching lines...) Expand all Loading... |
107 "g_settings_get_strv", | 115 "g_settings_get_strv", |
108 "g_settings_list_schemas", | 116 "g_settings_list_schemas", |
109 ] | 117 ] |
110 } | 118 } |
111 | 119 |
112 source_set("gio") { | 120 source_set("gio") { |
113 direct_dependent_configs = [ ":gio_config" ] | 121 direct_dependent_configs = [ ":gio_config" ] |
114 sources = [ gio_output_h, gio_output_cc ] | 122 sources = [ gio_output_h, gio_output_cc ] |
115 deps = [ ":make_gio_headers" ] | 123 deps = [ ":make_gio_headers" ] |
116 } | 124 } |
OLD | NEW |