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

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

Issue 843583006: GN: Add -Wl,-z defs on linux and fix errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 11 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/config/compiler/BUILD.gn ('k') | chrome/browser/ui/views/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/linux/pkg_config.gni") 8 import("//build/config/linux/pkg_config.gni")
9 9
10 pkg_config("gtk") { 10 pkg_config("gtk") {
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 cflags = [ 93 cflags = [
94 # G_DEFINE_TYPE automatically generates a *get_instance_private inline 94 # G_DEFINE_TYPE automatically generates a *get_instance_private inline
95 # function after glib 2.37. That's unused. Prevent to complain about it. 95 # function after glib 2.37. That's unused. Prevent to complain about it.
96 "-Wno-unused-function", 96 "-Wno-unused-function",
97 97
98 # G_STATIC_ASSERT uses a typedef as a static_assert. 98 # G_STATIC_ASSERT uses a typedef as a static_assert.
99 "-Wno-unused-local-typedef", 99 "-Wno-unused-local-typedef",
100 ] 100 ]
101 } 101 }
102 } 102 }
103 configs += [ ":libgtk2ui_warnings" ] 103 configs += [
104 ":libgtk2ui_warnings",
105 "//build/config/linux:x11",
106 ]
104 107
105 deps = [ 108 deps = [
106 "//base", 109 "//base",
110 "//base/third_party/dynamic_annotations",
107 "//base:i18n", 111 "//base:i18n",
108 "//base/third_party/dynamic_annotations",
109 "//chrome/app/theme:theme_resources", 112 "//chrome/app/theme:theme_resources",
110 "//chrome:extra_resources", 113 "//chrome:extra_resources",
111 "//chrome:resources", 114 "//chrome:resources",
112 "//chrome:strings", 115 "//chrome:strings",
113 "//components/resources", 116 "//components/resources",
117 "//content/public/browser",
118 "//printing",
114 "//skia", 119 "//skia",
120 "//third_party/mojo/src/mojo/edk/system",
121 "//ui/aura",
115 "//ui/base", 122 "//ui/base",
123 "//ui/events",
124 "//ui/events:events_base",
125 "//ui/gfx",
126 "//ui/gfx/x",
127 "//ui/native_theme",
116 "//ui/resources", 128 "//ui/resources",
129 "//ui/shell_dialogs",
117 "//ui/strings", 130 "//ui/strings",
118 "//ui/views", 131 "//ui/views",
119 ] 132 ]
120 } 133 }
OLDNEW
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | chrome/browser/ui/views/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698