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

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

Issue 2458833005: Move printing defines to buildflag system. (Closed)
Patch Set: Merge Created 4 years, 1 month 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/ui/cocoa/accelerators_cocoa.mm ('k') | chrome/browser/ui/libgtkui/gtk_ui.cc » ('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 import("//printing/features/features.gni")
9 10
10 # gn orders flags on a target before flags from configs. The default config 11 # gn orders flags on a target before flags from configs. The default config
11 # adds -Wall, and these flags have to be after -Wall -- so they need to come 12 # adds -Wall, and these flags have to be after -Wall -- so they need to come
12 # from a config and can't be on the target directly. 13 # from a config and can't be on the target directly.
13 config("libgtkui_warnings") { 14 config("libgtkui_warnings") {
14 if (is_clang) { 15 if (is_clang) {
15 cflags = [ 16 cflags = [
16 # G_DEFINE_TYPE automatically generates a *get_instance_private inline 17 # G_DEFINE_TYPE automatically generates a *get_instance_private inline
17 # function after glib 2.37. That's unused. Prevent to complain about it. 18 # function after glib 2.37. That's unused. Prevent to complain about it.
18 "-Wno-unused-function", 19 "-Wno-unused-function",
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 defines = [ "LIBGTKUI_IMPLEMENTATION" ] 141 defines = [ "LIBGTKUI_IMPLEMENTATION" ]
141 142
142 deps = common_deps + [ 143 deps = common_deps + [
143 "//build/config/linux/gtk3", 144 "//build/config/linux/gtk3",
144 "//build/config/linux/gtk3:gtkprint3", 145 "//build/config/linux/gtk3:gtkprint3",
145 ] 146 ]
146 public_deps = [ 147 public_deps = [
147 "//chrome/browser:theme_properties", 148 "//chrome/browser:theme_properties",
148 ] 149 ]
149 } 150 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/accelerators_cocoa.mm ('k') | chrome/browser/ui/libgtkui/gtk_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698