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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 "Xext", | 70 "Xext", |
71 "Xfixes", | 71 "Xfixes", |
72 "Xi", | 72 "Xi", |
73 "Xrender", | 73 "Xrender", |
74 "Xss", | 74 "Xss", |
75 "Xtst", | 75 "Xtst", |
76 ] | 76 ] |
77 } | 77 } |
78 | 78 |
79 config("libresolv") { | 79 config("libresolv") { |
80 libs = [ "libresolv" ] | 80 libs = [ "resolv" ] |
81 } | 81 } |
82 | 82 |
83 pkg_config("gconf") { | 83 pkg_config("gconf") { |
84 packages = [ "gconf-2.0" ] | 84 packages = [ "gconf-2.0" ] |
85 defines = [ "USE_GCONF" ] | 85 defines = [ "USE_GCONF" ] |
86 } | 86 } |
87 | 87 |
88 pkg_config("gio_config") { | 88 pkg_config("gio_config") { |
89 packages = [ "gio-2.0" ] | 89 packages = [ "gio-2.0" ] |
90 defines = [ "USE_GIO" ] | 90 defines = [ "USE_GIO" ] |
(...skipping 27 matching lines...) Expand all Loading... |
118 "g_settings_get_strv", | 118 "g_settings_get_strv", |
119 "g_settings_list_schemas", | 119 "g_settings_list_schemas", |
120 ] | 120 ] |
121 } | 121 } |
122 | 122 |
123 source_set("gio") { | 123 source_set("gio") { |
124 direct_dependent_configs = [ ":gio_config" ] | 124 direct_dependent_configs = [ ":gio_config" ] |
125 sources = [ gio_output_h, gio_output_cc ] | 125 sources = [ gio_output_h, gio_output_cc ] |
126 deps = [ ":make_gio_headers" ] | 126 deps = [ ":make_gio_headers" ] |
127 } | 127 } |
OLD | NEW |