OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
| 11 # GN version: //chrome/browser/ui/libgtk2ui |
11 'target_name': 'gtk2ui', | 12 'target_name': 'gtk2ui', |
12 'type': '<(component)', | 13 'type': '<(component)', |
13 'dependencies': [ | 14 'dependencies': [ |
14 '../../../../base/base.gyp:base', | 15 '../../../../base/base.gyp:base', |
15 '../../../../base/base.gyp:base_i18n', | 16 '../../../../base/base.gyp:base_i18n', |
16 '../../../../base/third_party/dynamic_annotations/dynamic_annotations.gy
p:dynamic_annotations', | 17 '../../../../base/third_party/dynamic_annotations/dynamic_annotations.gy
p:dynamic_annotations', |
17 '../../../../build/linux/system.gyp:gconf', | 18 '../../../../build/linux/system.gyp:gconf', |
18 '../../../../build/linux/system.gyp:gtk', | 19 '../../../../build/linux/system.gyp:gtk', |
19 '../../../../build/linux/system.gyp:gtkprint', | 20 '../../../../build/linux/system.gyp:gtkprint', |
20 '../../../../components/components_resources.gyp:components_resources', | 21 '../../../../components/components_resources.gyp:components_resources', |
(...skipping 10 matching lines...) Expand all Loading... |
31 ], | 32 ], |
32 'defines': [ | 33 'defines': [ |
33 'LIBGTK2UI_IMPLEMENTATION', | 34 'LIBGTK2UI_IMPLEMENTATION', |
34 ], | 35 ], |
35 # Several of our source files are named _gtk2.cc. This isn't to | 36 # Several of our source files are named _gtk2.cc. This isn't to |
36 # differentiate them from their source files (ninja and make are sane | 37 # differentiate them from their source files (ninja and make are sane |
37 # build systems, unlike MSVS). It is instead to get around the rest of | 38 # build systems, unlike MSVS). It is instead to get around the rest of |
38 # the normal, global gtk exclusion rules, as we are otherwise using gtk | 39 # the normal, global gtk exclusion rules, as we are otherwise using gtk |
39 # in a non-gtk build. | 40 # in a non-gtk build. |
40 'sources': [ | 41 'sources': [ |
| 42 # Note: sources list duplicated in GN build. |
41 'app_indicator_icon.cc', | 43 'app_indicator_icon.cc', |
42 'app_indicator_icon.h', | 44 'app_indicator_icon.h', |
43 'app_indicator_icon_menu.cc', | 45 'app_indicator_icon_menu.cc', |
44 'app_indicator_icon_menu.h', | 46 'app_indicator_icon_menu.h', |
45 'chrome_gtk_frame.cc', | 47 'chrome_gtk_frame.cc', |
46 'chrome_gtk_frame.h', | 48 'chrome_gtk_frame.h', |
47 'chrome_gtk_menu_subclasses.cc', | 49 'chrome_gtk_menu_subclasses.cc', |
48 'chrome_gtk_menu_subclasses.h', | 50 'chrome_gtk_menu_subclasses.h', |
49 'g_object_destructor_filo.cc', | 51 'g_object_destructor_filo.cc', |
50 'g_object_destructor_filo.h', | 52 'g_object_destructor_filo.h', |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 # G_DEFINE_TYPE automatically generates a *get_instance_private inline
function after glib 2.37. | 99 # G_DEFINE_TYPE automatically generates a *get_instance_private inline
function after glib 2.37. |
98 # That's unused. Prevent to complain about it. | 100 # That's unused. Prevent to complain about it. |
99 'cflags': [ | 101 'cflags': [ |
100 '-Wno-unused-function', | 102 '-Wno-unused-function', |
101 ], | 103 ], |
102 }], | 104 }], |
103 ], | 105 ], |
104 }, | 106 }, |
105 ], | 107 ], |
106 } | 108 } |
OLD | NEW |