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

Side by Side Diff: chrome/browser/ui/libgtk2ui/BUILD.gn

Issue 1909273002: 🐳 Move linux pkg_config() calls into separate BUILD.gn files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments & visibility Created 4 years, 8 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 | « chrome/browser/extensions/BUILD.gn ('k') | chromeos/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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 assert(is_linux, "This file should only be referenced on Linux") 5 assert(is_linux, "This file should only be referenced on Linux")
6 6
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 9
10 # gn orders flags on a target before flags from configs. The default config 10 # gn orders flags on a target before flags from configs. The default config
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 "unity_service.h", 63 "unity_service.h",
64 "x11_input_method_context_impl_gtk2.cc", 64 "x11_input_method_context_impl_gtk2.cc",
65 "x11_input_method_context_impl_gtk2.h", 65 "x11_input_method_context_impl_gtk2.h",
66 ] 66 ]
67 67
68 if (use_gconf) { 68 if (use_gconf) {
69 sources += [ 69 sources += [
70 "gconf_listener.cc", 70 "gconf_listener.cc",
71 "gconf_listener.h", 71 "gconf_listener.h",
72 ] 72 ]
73 configs += [ "//build/config/linux:gconf" ] 73 configs += [ "//build/config/linux/gconf" ]
74 } 74 }
75 defines = [ "LIBGTK2UI_IMPLEMENTATION" ] 75 defines = [ "LIBGTK2UI_IMPLEMENTATION" ]
76 76
77 if (use_cups) { 77 if (use_cups) {
78 configs += [ "//printing:cups" ] 78 configs += [ "//printing:cups" ]
79 } 79 }
80 80
81 # GTK2 pulls pangoft2 as dependency, and pangoft2 depends on harfbuzz. 81 # GTK2 pulls pangoft2 as dependency, and pangoft2 depends on harfbuzz.
82 # To avoid missing indirectly referenced harfbuzz symbols from pango, 82 # To avoid missing indirectly referenced harfbuzz symbols from pango,
83 # some hack is required when bundled harfbuzz is used and component build is 83 # some hack is required when bundled harfbuzz is used and component build is
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 "//build/config/linux/gtk3", 123 "//build/config/linux/gtk3",
124 "//build/config/linux/gtk3:gtkprint3", 124 "//build/config/linux/gtk3:gtkprint3",
125 ] 125 ]
126 } else { 126 } else {
127 deps += [ 127 deps += [
128 "//build/config/linux/gtk2", 128 "//build/config/linux/gtk2",
129 "//build/config/linux/gtk2:gtkprint2", 129 "//build/config/linux/gtk2:gtkprint2",
130 ] 130 ]
131 } 131 }
132 } 132 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/BUILD.gn ('k') | chromeos/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698