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 'target_name': 'gtk2ui', | 11 'target_name': 'gtk2ui', |
12 'type': '<(component)', | 12 'type': '<(component)', |
13 'dependencies': [ | 13 'dependencies': [ |
14 '../../../../base/base.gyp:base', | 14 '../../../../base/base.gyp:base', |
15 '../../../../base/base.gyp:base_i18n', | 15 '../../../../base/base.gyp:base_i18n', |
16 '../../../../build/linux/system.gyp:gtk', | 16 '../../../../build/linux/system.gyp:gtk', |
17 '../../../../skia/skia.gyp:skia', | 17 '../../../../skia/skia.gyp:skia', |
18 '../../../../ui/ui.gyp:ui', | 18 '../../../../ui/ui.gyp:ui', |
19 '../../../../ui/ui.gyp:ui_resources', | 19 '../../../../ui/ui.gyp:ui_resources', |
20 '../../../../ui/ui.gyp:ui_resources_standard', | |
21 '../../../chrome_resources.gyp:chrome_extra_resources', | 20 '../../../chrome_resources.gyp:chrome_extra_resources', |
22 '../../../chrome_resources.gyp:chrome_resources', | 21 '../../../chrome_resources.gyp:chrome_resources', |
23 '../../../chrome_resources.gyp:theme_resources', | 22 '../../../chrome_resources.gyp:theme_resources', |
24 ], | 23 ], |
25 'defines': [ | 24 'defines': [ |
26 'LIBGTK2UI_IMPLEMENTATION', | 25 'LIBGTK2UI_IMPLEMENTATION', |
27 ], | 26 ], |
28 # Several of our source files are named _gtk2.cc. This isn't to | 27 # Several of our source files are named _gtk2.cc. This isn't to |
29 # differentiate them from their source files (ninja and make are sane | 28 # differentiate them from their source files (ninja and make are sane |
30 # build systems, unlike MSVS). It is instead to get around the rest of | 29 # build systems, unlike MSVS). It is instead to get around the rest of |
31 # the normal, global gtk exclusion rules, as we are otherwise using gtk | 30 # the normal, global gtk exclusion rules, as we are otherwise using gtk |
32 # in a non-gtk build. | 31 # in a non-gtk build. |
33 'sources': [ | 32 'sources': [ |
34 'chrome_gtk_frame.cc', | 33 'chrome_gtk_frame.cc', |
35 'chrome_gtk_frame.h', | 34 'chrome_gtk_frame.h', |
36 'gtk2_ui.cc', | 35 'gtk2_ui.cc', |
37 'gtk2_ui.h', | 36 'gtk2_ui.h', |
38 'gtk2_util.cc', | 37 'gtk2_util.cc', |
39 'gtk2_util.h', | 38 'gtk2_util.h', |
40 'libgtk2ui_export.h', | 39 'libgtk2ui_export.h', |
41 'owned_widget_gtk2.cc', | 40 'owned_widget_gtk2.cc', |
42 'owned_widget_gtk2.h', | 41 'owned_widget_gtk2.h', |
43 'skia_utils_gtk2.cc', | 42 'skia_utils_gtk2.cc', |
44 'skia_utils_gtk2.h', | 43 'skia_utils_gtk2.h', |
45 ], | 44 ], |
46 }, | 45 }, |
47 ], | 46 ], |
48 } | 47 } |
OLD | NEW |