OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |