Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Side by Side Diff: build/config/linux/BUILD.gn

Issue 2009983002: Guard dbus component and config with assert(use_dbus) (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Remove unnecessary //dbus when //dbus:test_support exists Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « BUILD.gn ('k') | build/config/linux/dbus/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | build/config/linux/dbus/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698