Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: ui/ui_base.gypi

Issue 7082017: Files that are in src/ui/base should be compiled into libui_base.a. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/gfx/gl/gl.gyp ('k') | ui/ui_unittests.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'ui_base', 8 'target_name': 'ui_base',
9 'type': 'static_library', 9 'type': 'static_library',
10 'dependencies': [ 10 'dependencies': [
11 '../base/base.gyp:base', 11 '../base/base.gyp:base',
12 '../net/net.gyp:net',
12 '../skia/skia.gyp:skia', 13 '../skia/skia.gyp:skia',
13 '../third_party/icu/icu.gyp:icui18n', 14 '../third_party/icu/icu.gyp:icui18n',
14 '../third_party/icu/icu.gyp:icuuc', 15 '../third_party/icu/icu.gyp:icuuc',
16 'base/strings/ui_strings.gyp:ui_strings',
15 'ui_gfx', 17 'ui_gfx',
16 ], 18 ],
17 # Export these dependencies since text_elider.h includes ICU headers. 19 # Export these dependencies since text_elider.h includes ICU headers.
18 'export_dependent_settings': [ 20 'export_dependent_settings': [
19 '../third_party/icu/icu.gyp:icui18n', 21 '../third_party/icu/icu.gyp:icui18n',
20 '../third_party/icu/icu.gyp:icuuc', 22 '../third_party/icu/icu.gyp:icuuc',
21 ], 23 ],
22 'sources': [ 24 'sources': [
23 'base/accessibility/accessibility_types.h', 25 'base/accessibility/accessibility_types.h',
24 'base/accessibility/accessible_view_state.cc', 26 'base/accessibility/accessible_view_state.cc',
(...skipping 17 matching lines...) Expand all
42 'base/animation/tween.h', 44 'base/animation/tween.h',
43 'base/clipboard/clipboard.cc', 45 'base/clipboard/clipboard.cc',
44 'base/clipboard/clipboard.h', 46 'base/clipboard/clipboard.h',
45 'base/clipboard/clipboard_linux.cc', 47 'base/clipboard/clipboard_linux.cc',
46 'base/clipboard/clipboard_mac.mm', 48 'base/clipboard/clipboard_mac.mm',
47 'base/clipboard/clipboard_util_win.cc', 49 'base/clipboard/clipboard_util_win.cc',
48 'base/clipboard/clipboard_util_win.h', 50 'base/clipboard/clipboard_util_win.h',
49 'base/clipboard/clipboard_win.cc', 51 'base/clipboard/clipboard_win.cc',
50 'base/clipboard/scoped_clipboard_writer.cc', 52 'base/clipboard/scoped_clipboard_writer.cc',
51 'base/clipboard/scoped_clipboard_writer.h', 53 'base/clipboard/scoped_clipboard_writer.h',
54 'base/dragdrop/drag_drop_types_gtk.cc',
55 'base/dragdrop/drag_drop_types.h',
56 'base/dragdrop/drag_drop_types_win.cc',
57 'base/dragdrop/drag_source.cc',
58 'base/dragdrop/drag_source.h',
59 'base/dragdrop/drop_target.cc',
60 'base/dragdrop/drop_target.h',
61 'base/dragdrop/gtk_dnd_util.cc',
62 'base/dragdrop/gtk_dnd_util.h',
63 'base/dragdrop/os_exchange_data.cc',
64 'base/dragdrop/os_exchange_data.h',
65 'base/dragdrop/os_exchange_data_provider_gtk.cc',
66 'base/dragdrop/os_exchange_data_provider_gtk.h',
67 'base/dragdrop/os_exchange_data_provider_win.cc',
68 'base/dragdrop/os_exchange_data_provider_win.h',
69 'base/events.h',
70 'base/gtk/event_synthesis_gtk.cc',
71 'base/gtk/event_synthesis_gtk.h',
52 'base/gtk/g_object_destructor_filo.cc', 72 'base/gtk/g_object_destructor_filo.cc',
53 'base/gtk/g_object_destructor_filo.h', 73 'base/gtk/g_object_destructor_filo.h',
54 'base/gtk/gtk_im_context_util.cc', 74 'base/gtk/gtk_im_context_util.cc',
55 'base/gtk/gtk_im_context_util.h', 75 'base/gtk/gtk_im_context_util.h',
76 'base/gtk/gtk_signal.h',
77 'base/gtk/gtk_signal_registrar.cc',
78 'base/gtk/gtk_signal_registrar.h',
79 'base/gtk/gtk_windowing.cc',
80 'base/gtk/gtk_windowing.h',
56 'base/ime/composition_text.cc', 81 'base/ime/composition_text.cc',
57 'base/ime/composition_text.h', 82 'base/ime/composition_text.h',
58 'base/ime/composition_underline.h', 83 'base/ime/composition_underline.h',
59 'base/ime/text_input_type.h', 84 'base/ime/text_input_type.h',
85 'base/keycodes/keyboard_code_conversion_gtk.cc',
86 'base/keycodes/keyboard_code_conversion_gtk.h',
87 'base/keycodes/keyboard_code_conversion_mac.h',
88 'base/keycodes/keyboard_code_conversion_mac.mm',
89 'base/keycodes/keyboard_code_conversion_win.cc',
90 'base/keycodes/keyboard_code_conversion_win.h',
91 'base/keycodes/keyboard_code_conversion_x.cc',
92 'base/keycodes/keyboard_code_conversion_x.h',
93 'base/keycodes/keyboard_codes.h',
94 'base/l10n/l10n_font_util.cc',
95 'base/l10n/l10n_font_util.h',
96 'base/l10n/l10n_util.cc',
97 'base/l10n/l10n_util.h',
98 'base/l10n/l10n_util_collator.h',
99 'base/l10n/l10n_util_mac.h',
100 'base/l10n/l10n_util_mac.mm',
101 'base/l10n/l10n_util_posix.cc',
102 'base/l10n/l10n_util_win.cc',
103 'base/l10n/l10n_util_win.h',
104 'base/message_box_flags.h',
105 'base/message_box_win.cc',
106 'base/message_box_win.h',
107 'base/models/accelerator_cocoa.h',
108 'base/models/accelerator_cocoa.mm',
109 'base/models/accelerator_gtk.h',
110 'base/models/accelerator.h',
111 'base/models/button_menu_item_model.cc',
112 'base/models/button_menu_item_model.h',
113 'base/models/combobox_model.h',
114 'base/models/menu_model.cc',
115 'base/models/menu_model.h',
116 'base/models/menu_model_delegate.h',
117 'base/models/simple_menu_model.cc',
118 'base/models/simple_menu_model.h',
119 'base/models/table_model.cc',
120 'base/models/table_model.h',
121 'base/models/table_model_observer.h',
122 'base/models/tree_model.cc',
123 'base/models/tree_model.h',
124 'base/models/tree_node_iterator.h',
125 'base/models/tree_node_model.h',
60 'base/range/range.cc', 126 'base/range/range.cc',
61 'base/range/range.h', 127 'base/range/range.h',
62 'base/range/range.mm', 128 'base/range/range.mm',
129 'base/resource/data_pack.cc',
130 'base/resource/data_pack.h',
131 'base/resource/resource_bundle.cc',
132 'base/resource/resource_bundle.h',
133 'base/resource/resource_bundle_linux.cc',
134 'base/resource/resource_bundle_mac.mm',
135 'base/resource/resource_bundle_posix.cc',
136 'base/resource/resource_bundle_win.cc',
137 'base/text/text_elider.cc',
138 'base/text/text_elider.h',
139 'base/theme_provider.cc',
140 'base/theme_provider.h',
141 'base/ui_base_paths.cc',
142 'base/ui_base_paths.h',
143 'base/ui_base_switches.cc',
144 'base/ui_base_switches.h',
145 'base/view_prop.cc',
146 'base/view_prop.h',
147 'base/win/hwnd_util.cc',
148 'base/win/hwnd_util.h',
149 'base/win/ime_input.cc',
150 'base/win/ime_input.h',
151 'base/win/window_impl.cc',
152 'base/win/window_impl.h',
153 'base/x/active_window_watcher_x.cc',
154 'base/x/active_window_watcher_x.h',
155 'base/x/x11_util.cc',
156 'base/x/x11_util.h',
157 'base/x/x11_util_internal.h',
63 ], 158 ],
64 'conditions': [ 159 'conditions': [
65 ['toolkit_uses_gtk == 1', { 160 ['toolkit_uses_gtk == 1', {
66 'dependencies': [ 161 'dependencies': [
162 '../build/linux/system.gyp:fontconfig',
67 '../build/linux/system.gyp:gtk', 163 '../build/linux/system.gyp:gtk',
68 '../build/linux/system.gyp:x11', 164 '../build/linux/system.gyp:x11',
69 '../build/linux/system.gyp:xext', 165 '../build/linux/system.gyp:xext',
70 ], 166 ],
167 'link_settings': {
168 'libraries': [
169 '-lXrender', # For XRender* function calls in x11_util.cc.
170 ],
171 },
172 'conditions': [
173 ['toolkit_views==0', {
174 # Note: because of gyp predence rules this has to be defined as
175 # 'sources/' rather than 'sources!'.
176 'sources/': [
177 ['exclude', '^base/dragdrop/drag_drop_types_gtk.cc'],
178 ['exclude', '^base/dragdrop/os_exchange_data.cc'],
179 ['exclude', '^base/dragdrop/os_exchange_data.h'],
180 ['exclude', '^base/dragdrop/os_exchange_data_provider_gtk.cc'],
181 ['exclude', '^base/dragdrop/os_exchange_data_provider_gtk.h'],
182 ],
183 }, {
184 # Note: because of gyp predence rules this has to be defined as
185 # 'sources/' rather than 'sources!'.
186 'sources/': [
187 ['include', '^base/dragdrop/os_exchange_data.cc'],
188 ],
189 }],
190 ],
71 }], 191 }],
72 ['OS=="win"', { 192 ['OS!="win"', {
73 'sources': [ 193 'sources!': [
74 'base/win/ime_input.cc', 194 'base/dragdrop/drag_source.cc',
75 'base/win/ime_input.h', 195 'base/dragdrop/drag_source.h',
196 'base/dragdrop/drag_drop_types.h',
197 'base/dragdrop/drop_target.cc',
198 'base/dragdrop/drop_target.h',
199 'base/dragdrop/os_exchange_data.cc',
200 'base/view_prop.cc',
201 'base/view_prop.h',
202 ],
203 'sources/': [
204 ['exclude', '^base/win/*'],
205 ],
206 }],
207 ['OS=="mac"', {
208 'link_settings': {
209 'libraries': [
210 '$(SDKROOT)/System/Library/Frameworks/Accelerate.framework',
211 '$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework',
212 ],
213 },
214 }],
215 ['use_x11==1', {
216 'all_dependent_settings': {
217 'ldflags': [
218 '-L<(PRODUCT_DIR)',
219 ],
220 'link_settings': {
221 'libraries': [
222 '-lX11',
223 '-ldl',
224 ],
225 },
226 },
227 }, { # use_x11==0
228 'sources!': [
229 'base/keycodes/keyboard_code_conversion_x.cc',
230 'base/keycodes/keyboard_code_conversion_x.h',
76 ], 231 ],
77 }], 232 }],
78 ], 233 ],
79 }, 234 },
80 ], 235 ],
81 } 236 }
82 237
83 # Local Variables: 238 # Local Variables:
84 # tab-width:2 239 # tab-width:2
85 # indent-tabs-mode:nil 240 # indent-tabs-mode:nil
86 # End: 241 # End:
87 # vim: set expandtab tabstop=2 shiftwidth=2: 242 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « ui/gfx/gl/gl.gyp ('k') | ui/ui_unittests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698