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