| 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 | 8 |
| 9 component("libgtk2ui") { | 9 component("libgtk2ui") { |
| 10 sources = [ | 10 sources = [ |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 "x11_input_method_context_impl_gtk2.cc", | 54 "x11_input_method_context_impl_gtk2.cc", |
| 55 "x11_input_method_context_impl_gtk2.h", | 55 "x11_input_method_context_impl_gtk2.h", |
| 56 ] | 56 ] |
| 57 | 57 |
| 58 if (use_gconf) { | 58 if (use_gconf) { |
| 59 sources += [ | 59 sources += [ |
| 60 "gconf_listener.cc", | 60 "gconf_listener.cc", |
| 61 "gconf_listener.h", | 61 "gconf_listener.h", |
| 62 ] | 62 ] |
| 63 } | 63 } |
| 64 defines = [ | 64 defines = [ "LIBGTK2UI_IMPLEMENTATION" ] |
| 65 "LIBGTK2UI_IMPLEMENTATION", | |
| 66 | |
| 67 # g_settings_list_schemas is deprecated, but this function is not | |
| 68 # available on earlier version that we still need to support. | |
| 69 # See build/config/linux/BUILD.gn:gio_config for details. | |
| 70 "GLIB_DISABLE_DEPRECATION_WARNINGS", | |
| 71 ] | |
| 72 | 65 |
| 73 configs += [ | 66 configs += [ |
| 74 "//build/config/linux:gconf", | 67 "//build/config/linux:gconf", |
| 75 "//printing:cups", | 68 "//printing:cups", |
| 76 ] | 69 ] |
| 77 | 70 |
| 78 # GTK2 pulls pangoft2 as dependency, and pangoft2 depends on harfbuzz. | 71 # GTK2 pulls pangoft2 as dependency, and pangoft2 depends on harfbuzz. |
| 79 # To avoid missing indirectly referenced harfbuzz symbols from pango, | 72 # To avoid missing indirectly referenced harfbuzz symbols from pango, |
| 80 # some hack is required when bundled harfbuzz is used and component build is | 73 # some hack is required when bundled harfbuzz is used and component build is |
| 81 # disabled. | 74 # disabled. |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 "//ui/events:events_base", | 118 "//ui/events:events_base", |
| 126 "//ui/gfx", | 119 "//ui/gfx", |
| 127 "//ui/gfx/x", | 120 "//ui/gfx/x", |
| 128 "//ui/native_theme", | 121 "//ui/native_theme", |
| 129 "//ui/resources", | 122 "//ui/resources", |
| 130 "//ui/shell_dialogs", | 123 "//ui/shell_dialogs", |
| 131 "//ui/strings", | 124 "//ui/strings", |
| 132 "//ui/views", | 125 "//ui/views", |
| 133 ] | 126 ] |
| 134 } | 127 } |
| OLD | NEW |