Home | History | Annotate | Download | only in libgtk2ui
      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
      3 # found in the LICENSE file.
      4 
      5 {
      6   'variables': {
      7     'chromium_code': 1,
      8   },
      9   'targets': [
     10     {
     11       'target_name': 'gtk2ui',
     12       'type': '<(component)',
     13       'dependencies': [
     14         '../../../../base/base.gyp:base',
     15         '../../../../base/base.gyp:base_i18n',
     16         '../../../../build/linux/system.gyp:gtk',
     17         '../../../../skia/skia.gyp:skia',
     18         '../../../../ui/base/strings/ui_strings.gyp:ui_strings',
     19         '../../../../ui/ui.gyp:ui',
     20         '../../../../ui/ui.gyp:ui_resources',
     21         '../../../../ui/linux_ui/linux_ui.gyp:linux_ui',
     22         '../../../chrome_resources.gyp:chrome_extra_resources',
     23         '../../../chrome_resources.gyp:chrome_resources',
     24         '../../../chrome_resources.gyp:chrome_strings',
     25         '../../../chrome_resources.gyp:theme_resources',
     26       ],
     27       'defines': [
     28         'LIBGTK2UI_IMPLEMENTATION',
     29       ],
     30       # Several of our source files are named _gtk2.cc. This isn't to
     31       # differentiate them from their source files (ninja and make are sane
     32       # build systems, unlike MSVS). It is instead to get around the rest of
     33       # the normal, global gtk exclusion rules, as we are otherwise using gtk
     34       # in a non-gtk build.
     35       'sources': [
     36         'app_indicator_icon.cc',
     37         'app_indicator_icon.h',
     38         'chrome_gtk_frame.cc',
     39         'chrome_gtk_frame.h',
     40         'gtk2_ui.cc',
     41         'gtk2_ui.h',
     42         'gtk2_util.cc',
     43         'gtk2_util.h',
     44         'libgtk2ui_export.h',
     45         'menu_util.cc',
     46         'menu_util.h',
     47         'native_theme_gtk2.cc',
     48         'native_theme_gtk2.h',
     49         'owned_widget_gtk2.cc',
     50         'owned_widget_gtk2.h',
     51         'select_file_dialog_impl.cc',
     52         'select_file_dialog_impl.h',
     53         'select_file_dialog_impl_gtk2.cc',
     54         'select_file_dialog_impl_kde.cc',
     55         'skia_utils_gtk2.cc',
     56         'skia_utils_gtk2.h',
     57         'unity_service.cc',
     58         'unity_service.h',
     59       ],
     60     },
     61   ],
     62 }
     63