| 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/ui.gni") |
| 6 | 7 |
| 7 group("linux") { | 8 group("linux") { |
| 8 visibility = [ "//:optimize_gn_gen" ] | 9 visibility = [ "//:optimize_gn_gen" ] |
| 9 } | 10 } |
| 10 | 11 |
| 11 # This is included by reference in the //build/config/compiler config that | 12 # This is included by reference in the //build/config/compiler config that |
| 12 # is applied to all targets. It is here to separate out the logic that is | 13 # is applied to all targets. It is here to separate out the logic that is |
| 13 # Linux-only. This is not applied to Android, but is applied to ChromeOS. | 14 # Linux-only. This is not applied to Android, but is applied to ChromeOS. |
| 14 config("compiler") { | 15 config("compiler") { |
| 15 cflags = [ "-pthread" ] | 16 cflags = [ "-pthread" ] |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 } | 77 } |
| 77 | 78 |
| 78 config("xtst") { | 79 config("xtst") { |
| 79 libs = [ "Xtst" ] | 80 libs = [ "Xtst" ] |
| 80 } | 81 } |
| 81 | 82 |
| 82 config("libresolv") { | 83 config("libresolv") { |
| 83 libs = [ "resolv" ] | 84 libs = [ "resolv" ] |
| 84 } | 85 } |
| 85 | 86 |
| 86 pkg_config("glib") { | 87 if (use_glib) { |
| 87 packages = [ | 88 pkg_config("glib") { |
| 88 "glib-2.0", | 89 packages = [ |
| 89 "gmodule-2.0", | 90 "glib-2.0", |
| 90 "gobject-2.0", | 91 "gmodule-2.0", |
| 91 "gthread-2.0", | 92 "gobject-2.0", |
| 92 ] | 93 "gthread-2.0", |
| 94 ] |
| 95 } |
| 93 } | 96 } |
| OLD | NEW |