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 # GN version: //chrome/browser/ui/libgtk2ui |
12 'target_name': 'gtk2ui', | 12 'target_name': 'gtk2ui', |
13 'type': '<(component)', | 13 'type': '<(component)', |
14 'dependencies': [ | 14 'dependencies': [ |
15 '../../../../base/base.gyp:base', | 15 '../../../../base/base.gyp:base', |
16 '../../../../base/base.gyp:base_i18n', | 16 '../../../../base/base.gyp:base_i18n', |
17 '../../../../base/third_party/dynamic_annotations/dynamic_annotations.gy p:dynamic_annotations', | 17 '../../../../base/third_party/dynamic_annotations/dynamic_annotations.gy p:dynamic_annotations', |
18 '../../../../build/linux/system.gyp:gconf', | 18 '../../../../build/linux/system.gyp:gconf', |
19 '../../../../build/linux/system.gyp:gtk', | 19 '../../../../build/linux/system.gyp:gtk', |
20 '../../../../build/linux/system.gyp:gtkprint', | 20 '../../../../build/linux/system.gyp:gtkprint', |
21 '../../../../components/components_resources.gyp:components_resources', | 21 '../../../../components/components_resources.gyp:components_resources', |
22 '../../../../content/content.gyp:content', | |
22 '../../../../printing/printing.gyp:cups', | 23 '../../../../printing/printing.gyp:cups', |
24 '../../../../printing/printing.gyp:printing', | |
23 '../../../../skia/skia.gyp:skia', | 25 '../../../../skia/skia.gyp:skia', |
26 '../../../../ui/aura/aura.gyp:aura', | |
24 '../../../../ui/base/ui_base.gyp:ui_base', | 27 '../../../../ui/base/ui_base.gyp:ui_base', |
28 '../../../../ui/events/events.gyp:events', | |
29 '../../../../ui/events/events.gyp:events_base', | |
30 '../../../../ui/gfx/gfx.gyp:gfx', | |
31 '../../../../ui/gfx/x/gfx_x11.gyp:gfx_x11', | |
32 '../../../../ui/native_theme/native_theme.gyp:native_theme', | |
25 '../../../../ui/resources/ui_resources.gyp:ui_resources', | 33 '../../../../ui/resources/ui_resources.gyp:ui_resources', |
34 '../../../../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs', | |
26 '../../../../ui/strings/ui_strings.gyp:ui_strings', | 35 '../../../../ui/strings/ui_strings.gyp:ui_strings', |
27 '../../../../ui/views/views.gyp:views', | 36 '../../../../ui/views/views.gyp:views', |
28 '../../../chrome_resources.gyp:chrome_extra_resources', | 37 '../../../chrome_resources.gyp:chrome_extra_resources', |
29 '../../../chrome_resources.gyp:chrome_resources', | 38 '../../../chrome_resources.gyp:chrome_resources', |
30 '../../../chrome_resources.gyp:chrome_strings', | 39 '../../../chrome_resources.gyp:chrome_strings', |
31 '../../../chrome_resources.gyp:theme_resources', | 40 '../../../chrome_resources.gyp:theme_resources', |
32 ], | 41 ], |
33 'defines': [ | 42 'defines': [ |
34 'LIBGTK2UI_IMPLEMENTATION', | 43 'LIBGTK2UI_IMPLEMENTATION', |
35 ], | 44 ], |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
81 'select_file_dialog_impl.h', | 90 'select_file_dialog_impl.h', |
82 'select_file_dialog_impl_gtk2.cc', | 91 'select_file_dialog_impl_gtk2.cc', |
83 'select_file_dialog_impl_kde.cc', | 92 'select_file_dialog_impl_kde.cc', |
84 'skia_utils_gtk2.cc', | 93 'skia_utils_gtk2.cc', |
85 'skia_utils_gtk2.h', | 94 'skia_utils_gtk2.h', |
86 'unity_service.cc', | 95 'unity_service.cc', |
87 'unity_service.h', | 96 'unity_service.h', |
88 'x11_input_method_context_impl_gtk2.cc', | 97 'x11_input_method_context_impl_gtk2.cc', |
89 'x11_input_method_context_impl_gtk2.h', | 98 'x11_input_method_context_impl_gtk2.h', |
90 ], | 99 ], |
100 'link_settings': { 'libraries': [ '-lX11' ] }, | |
jamesr
2015/01/17 01:21:25
hmm, is there a reason you use link_settings here
Nico
2015/01/17 02:01:43
No. I looked at https://code.google.com/p/chromium
| |
91 'conditions': [ | 101 'conditions': [ |
92 ['use_gconf==0', { | 102 ['use_gconf==0', { |
93 'sources!': [ | 103 'sources!': [ |
94 'gconf_listener.cc', | 104 'gconf_listener.cc', |
95 'gconf_listener.h', | 105 'gconf_listener.h', |
96 ], | 106 ], |
97 }], | 107 }], |
98 [ 'clang==1', { | 108 [ 'clang==1', { |
99 'cflags': [ | 109 'cflags': [ |
100 # G_DEFINE_TYPE automatically generates a *get_instance_private inli ne function after glib 2.37. | 110 # G_DEFINE_TYPE automatically generates a *get_instance_private inli ne function after glib 2.37. |
101 # That's unused. Prevent to complain about it. | 111 # That's unused. Prevent to complain about it. |
102 '-Wno-unused-function', | 112 '-Wno-unused-function', |
103 | 113 |
104 # G_STATIC_ASSERT uses a typedef as a static_assert. | 114 # G_STATIC_ASSERT uses a typedef as a static_assert. |
105 '-Wno-unused-local-typedef', | 115 '-Wno-unused-local-typedef', |
106 ], | 116 ], |
107 }], | 117 }], |
108 ], | 118 ], |
109 }, | 119 }, |
110 ], | 120 ], |
111 } | 121 } |
OLD | NEW |