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/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 14 matching lines...) Expand all Loading... |
25 | 25 |
26 common_sources = [ | 26 common_sources = [ |
27 "app_indicator_icon.cc", | 27 "app_indicator_icon.cc", |
28 "app_indicator_icon.h", | 28 "app_indicator_icon.h", |
29 "app_indicator_icon_menu.cc", | 29 "app_indicator_icon_menu.cc", |
30 "app_indicator_icon_menu.h", | 30 "app_indicator_icon_menu.h", |
31 "chrome_gtk_frame.cc", | 31 "chrome_gtk_frame.cc", |
32 "chrome_gtk_frame.h", | 32 "chrome_gtk_frame.h", |
33 "chrome_gtk_menu_subclasses.cc", | 33 "chrome_gtk_menu_subclasses.cc", |
34 "chrome_gtk_menu_subclasses.h", | 34 "chrome_gtk_menu_subclasses.h", |
35 "gtk2_event_loop.cc", | 35 "gtk_event_loop.cc", |
36 "gtk2_event_loop.h", | 36 "gtk_event_loop.h", |
37 "gtk2_key_bindings_handler.cc", | 37 "gtk_key_bindings_handler.cc", |
38 "gtk2_key_bindings_handler.h", | 38 "gtk_key_bindings_handler.h", |
39 "gtk2_status_icon.cc", | 39 "gtk_status_icon.cc", |
40 "gtk2_status_icon.h", | 40 "gtk_status_icon.h", |
41 "gtk2_ui.cc", | 41 "gtk_ui.cc", |
42 "gtk2_ui.h", | 42 "gtk_ui.h", |
43 "gtk2_util.cc", | 43 "gtk_util.cc", |
44 "gtk2_util.h", | 44 "gtk_util.h", |
45 "libgtkui_export.h", | 45 "libgtkui_export.h", |
46 "menu_util.cc", | 46 "menu_util.cc", |
47 "menu_util.h", | 47 "menu_util.h", |
48 "native_theme_gtk2.cc", | 48 "native_theme_gtk.cc", |
49 "native_theme_gtk2.h", | 49 "native_theme_gtk.h", |
50 "print_dialog_gtk2.cc", | 50 "print_dialog_gtk.cc", |
51 "print_dialog_gtk2.h", | 51 "print_dialog_gtk.h", |
52 "printing_gtk2_util.cc", | 52 "printing_gtk_util.cc", |
53 "printing_gtk2_util.h", | 53 "printing_gtk_util.h", |
54 "select_file_dialog_impl.cc", | 54 "select_file_dialog_impl.cc", |
55 "select_file_dialog_impl.h", | 55 "select_file_dialog_impl.h", |
56 "select_file_dialog_impl_gtk2.cc", | 56 "select_file_dialog_impl_gtk.cc", |
57 "select_file_dialog_impl_gtk2.h", | 57 "select_file_dialog_impl_gtk.h", |
58 "select_file_dialog_impl_kde.cc", | 58 "select_file_dialog_impl_kde.cc", |
59 "skia_utils_gtk2.cc", | 59 "skia_utils_gtk.cc", |
60 "skia_utils_gtk2.h", | 60 "skia_utils_gtk.h", |
61 "unity_service.cc", | 61 "unity_service.cc", |
62 "unity_service.h", | 62 "unity_service.h", |
63 "x11_input_method_context_impl_gtk2.cc", | 63 "x11_input_method_context_impl_gtk.cc", |
64 "x11_input_method_context_impl_gtk2.h", | 64 "x11_input_method_context_impl_gtk.h", |
65 ] | 65 ] |
66 | 66 |
67 common_configs = [] | 67 common_configs = [] |
68 | 68 |
69 if (use_gconf) { | 69 if (use_gconf) { |
70 common_sources += [ | 70 common_sources += [ |
71 "gconf_listener.cc", | 71 "gconf_listener.cc", |
72 "gconf_listener.h", | 72 "gconf_listener.h", |
73 ] | 73 ] |
74 common_configs += [ "//build/config/linux/gconf" ] | 74 common_configs += [ "//build/config/linux/gconf" ] |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 defines = [ "LIBGTKUI_IMPLEMENTATION" ] | 140 defines = [ "LIBGTKUI_IMPLEMENTATION" ] |
141 | 141 |
142 deps = common_deps + [ | 142 deps = common_deps + [ |
143 "//build/config/linux/gtk3", | 143 "//build/config/linux/gtk3", |
144 "//build/config/linux/gtk3:gtkprint3", | 144 "//build/config/linux/gtk3:gtkprint3", |
145 ] | 145 ] |
146 public_deps = [ | 146 public_deps = [ |
147 "//chrome/browser:theme_properties", | 147 "//chrome/browser:theme_properties", |
148 ] | 148 ] |
149 } | 149 } |
OLD | NEW |