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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 } | 66 } |
67 | 67 |
68 config("xcomposite") { | 68 config("xcomposite") { |
69 libs = [ "Xcomposite" ] | 69 libs = [ "Xcomposite" ] |
70 } | 70 } |
71 | 71 |
72 config("xext") { | 72 config("xext") { |
73 libs = [ "Xext" ] | 73 libs = [ "Xext" ] |
74 } | 74 } |
75 | 75 |
| 76 config("libcap") { |
| 77 libs = [ "cap" ] |
| 78 } |
| 79 |
76 config("libresolv") { | 80 config("libresolv") { |
77 libs = [ "resolv" ] | 81 libs = [ "resolv" ] |
78 } | 82 } |
79 | 83 |
80 pkg_config("gconf") { | 84 pkg_config("gconf") { |
81 packages = [ "gconf-2.0" ] | 85 packages = [ "gconf-2.0" ] |
82 defines = [ "USE_GCONF" ] | 86 defines = [ "USE_GCONF" ] |
83 } | 87 } |
84 | 88 |
85 pkg_config("gio_config") { | 89 pkg_config("gio_config") { |
(...skipping 29 matching lines...) Expand all Loading... |
115 "g_settings_get_strv", | 119 "g_settings_get_strv", |
116 "g_settings_list_schemas", | 120 "g_settings_list_schemas", |
117 ] | 121 ] |
118 } | 122 } |
119 | 123 |
120 source_set("gio") { | 124 source_set("gio") { |
121 direct_dependent_configs = [ ":gio_config" ] | 125 direct_dependent_configs = [ ":gio_config" ] |
122 sources = [ gio_output_h, gio_output_cc ] | 126 sources = [ gio_output_h, gio_output_cc ] |
123 deps = [ ":make_gio_headers" ] | 127 deps = [ ":make_gio_headers" ] |
124 } | 128 } |
OLD | NEW |