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

Side by Side Diff: app/app_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: files Created 9 years, 7 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 | « no previous file | chrome/chrome.gyp » ('j') | printing/printing.gyp » ('J')
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': 'app_base', 8 'target_name': 'app_base',
9 'type': 'static_library', 9 'type': 'static_library',
10 'msvs_guid': '4631946D-7D5F-44BD-A5A8-504C0A7033BE',
Robert Sesek 2011/05/29 17:15:57 Did you mean to remove this?
11 'dependencies': [ 10 'dependencies': [
12 # app resources and ui_strings should be shared with the 64-bit
13 # target, but it doesn't work due to a bug in gyp
14 '../base/base.gyp:base', 11 '../base/base.gyp:base',
15 '../base/base.gyp:base_i18n',
16 '../base/base.gyp:base_static', 12 '../base/base.gyp:base_static',
17 '../ui/ui.gyp:ui_gfx', 13 '../ui/ui.gyp:ui_gfx',
18 '../net/net.gyp:net',
19 '../skia/skia.gyp:skia', 14 '../skia/skia.gyp:skia',
20 '../third_party/icu/icu.gyp:icui18n',
21 '../third_party/icu/icu.gyp:icuuc',
22 '../third_party/libpng/libpng.gyp:libpng', 15 '../third_party/libpng/libpng.gyp:libpng',
23 '../third_party/sqlite/sqlite.gyp:sqlite', 16 '../third_party/sqlite/sqlite.gyp:sqlite',
24 '../third_party/zlib/zlib.gyp:zlib', 17 '../third_party/zlib/zlib.gyp:zlib',
25 '../ui/base/strings/ui_strings.gyp:ui_strings',
26 '<(libjpeg_gyp_path):libjpeg', 18 '<(libjpeg_gyp_path):libjpeg',
27 ], 19 ],
28 'export_dependent_settings': [ 20 'export_dependent_settings': [
29 '../base/base.gyp:base', 21 '../base/base.gyp:base',
30 '../base/base.gyp:base_static', 22 '../base/base.gyp:base_static',
31 ], 23 ],
32 'sources': [ 24 'sources': [
33 # Files that are not required for Win64 Native Client loader
34 '../ui/base/dragdrop/drag_drop_types_gtk.cc',
35 '../ui/base/dragdrop/drag_drop_types_win.cc',
36 '../ui/base/dragdrop/drag_drop_types.h',
37 '../ui/base/dragdrop/drag_source.cc',
38 '../ui/base/dragdrop/drag_source.h',
39 '../ui/base/dragdrop/drop_target.cc',
40 '../ui/base/dragdrop/drop_target.h',
41 '../ui/base/dragdrop/gtk_dnd_util.cc',
42 '../ui/base/dragdrop/gtk_dnd_util.h',
43 '../ui/base/dragdrop/os_exchange_data_provider_gtk.cc',
44 '../ui/base/dragdrop/os_exchange_data_provider_gtk.h',
45 '../ui/base/dragdrop/os_exchange_data_provider_win.cc',
46 '../ui/base/dragdrop/os_exchange_data_provider_win.h',
47 '../ui/base/dragdrop/os_exchange_data.cc',
48 '../ui/base/dragdrop/os_exchange_data.h',
49 '../ui/base/events.h',
50 '../ui/base/gtk/event_synthesis_gtk.cc',
51 '../ui/base/gtk/event_synthesis_gtk.h',
52 '../ui/base/gtk/gtk_signal.h',
53 '../ui/base/gtk/gtk_signal_registrar.cc',
54 '../ui/base/gtk/gtk_signal_registrar.h',
55 '../ui/base/gtk/gtk_windowing.cc',
56 '../ui/base/gtk/gtk_windowing.h',
57 '../ui/base/keycodes/keyboard_code_conversion_gtk.cc',
58 '../ui/base/keycodes/keyboard_code_conversion_gtk.h',
59 '../ui/base/keycodes/keyboard_code_conversion_mac.mm',
60 '../ui/base/keycodes/keyboard_code_conversion_mac.h',
61 '../ui/base/keycodes/keyboard_code_conversion_win.cc',
62 '../ui/base/keycodes/keyboard_code_conversion_win.h',
63 '../ui/base/keycodes/keyboard_code_conversion_x.cc',
64 '../ui/base/keycodes/keyboard_code_conversion_x.h',
65 '../ui/base/keycodes/keyboard_codes.h',
66 '../ui/base/keycodes/keyboard_codes_win.h',
67 '../ui/base/keycodes/keyboard_codes_posix.h',
68 '../ui/base/l10n/l10n_font_util.h',
69 '../ui/base/l10n/l10n_font_util.cc',
70 '../ui/base/l10n/l10n_util.cc',
71 '../ui/base/l10n/l10n_util.h',
72 '../ui/base/l10n/l10n_util_collator.h',
73 '../ui/base/l10n/l10n_util_mac.h',
74 '../ui/base/l10n/l10n_util_mac.mm',
75 '../ui/base/l10n/l10n_util_posix.cc',
76 '../ui/base/l10n/l10n_util_win.cc',
77 '../ui/base/l10n/l10n_util_win.h',
78 '../ui/base/message_box_flags.h',
79 '../ui/base/message_box_win.cc',
80 '../ui/base/message_box_win.h',
81 '../ui/base/models/accelerator.h',
82 '../ui/base/models/accelerator_gtk.h',
83 '../ui/base/models/accelerator_cocoa.mm',
84 '../ui/base/models/accelerator_cocoa.h',
85 '../ui/base/models/button_menu_item_model.cc',
86 '../ui/base/models/button_menu_item_model.h',
87 '../ui/base/models/menu_model.cc',
88 '../ui/base/models/menu_model.h',
89 '../ui/base/models/menu_model_delegate.h',
90 '../ui/base/models/simple_menu_model.cc',
91 '../ui/base/models/simple_menu_model.h',
92 '../ui/base/models/combobox_model.h',
93 '../ui/base/models/table_model.cc',
94 '../ui/base/models/table_model.h',
95 '../ui/base/models/table_model_observer.h',
96 '../ui/base/models/tree_model.cc',
97 '../ui/base/models/tree_model.h',
98 '../ui/base/models/tree_node_iterator.h',
99 '../ui/base/models/tree_node_model.h',
100 '../ui/base/resource/data_pack.cc',
101 '../ui/base/resource/data_pack.h',
102 '../ui/base/resource/resource_bundle.cc',
103 '../ui/base/resource/resource_bundle.h',
104 '../ui/base/resource/resource_bundle_linux.cc',
105 '../ui/base/resource/resource_bundle_mac.mm',
106 '../ui/base/resource/resource_bundle_posix.cc',
107 '../ui/base/resource/resource_bundle_win.cc',
108 '../ui/base/text/text_elider.cc',
109 '../ui/base/text/text_elider.h',
110 '../ui/base/theme_provider.cc',
111 '../ui/base/theme_provider.h',
112 '../ui/base/ui_base_paths.h',
113 '../ui/base/ui_base_paths.cc',
114 '../ui/base/ui_base_switches.h',
115 '../ui/base/ui_base_switches.cc',
116 '../ui/base/view_prop.cc',
117 '../ui/base/view_prop.h',
118 '../ui/base/win/hwnd_util.cc',
119 '../ui/base/win/hwnd_util.h',
120 '../ui/base/win/window_impl.cc',
121 '../ui/base/win/window_impl.h',
122 '../ui/base/x/active_window_watcher_x.cc',
123 '../ui/base/x/active_window_watcher_x.h',
124 '../ui/base/x/x11_util.cc',
125 '../ui/base/x/x11_util.h',
126 '../ui/base/x/x11_util_internal.h',
127 'app_paths.h', 25 'app_paths.h',
128 'app_paths.cc', 26 'app_paths.cc',
129 'mac/nsimage_cache.h', 27 'mac/nsimage_cache.h',
130 'mac/nsimage_cache.mm', 28 'mac/nsimage_cache.mm',
131 'mac/scoped_nsdisable_screen_updates.h', 29 'mac/scoped_nsdisable_screen_updates.h',
132 'sql/connection.cc', 30 'sql/connection.cc',
133 'sql/connection.h', 31 'sql/connection.h',
134 'sql/diagnostic_error_delegate.h', 32 'sql/diagnostic_error_delegate.h',
135 'sql/init_status.h', 33 'sql/init_status.h',
136 'sql/meta_table.cc', 34 'sql/meta_table.cc',
137 'sql/meta_table.h', 35 'sql/meta_table.h',
138 'sql/statement.cc', 36 'sql/statement.cc',
139 'sql/statement.h', 37 'sql/statement.h',
140 'sql/transaction.cc', 38 'sql/transaction.cc',
141 'sql/transaction.h', 39 'sql/transaction.h',
142 'win/iat_patch_function.cc', 40 'win/iat_patch_function.cc',
143 'win/iat_patch_function.h', 41 'win/iat_patch_function.h',
144 'win/scoped_co_mem.h', 42 'win/scoped_co_mem.h',
145 'win/scoped_com_initializer.h', 43 'win/scoped_com_initializer.h',
146 'win/scoped_prop.cc', 44 'win/scoped_prop.cc',
147 'win/scoped_prop.h', 45 'win/scoped_prop.h',
148 'win/shell.cc', 46 'win/shell.cc',
149 'win/shell.h', 47 'win/shell.h',
150 ], 48 ],
151 'conditions': [
152 ['toolkit_uses_gtk==1', {
153 'dependencies': [
154 # font_gtk.cc uses fontconfig.
155 # TODO(evanm): I think this is wrong; it should just use GTK.
156 '../build/linux/system.gyp:fontconfig',
157 '../build/linux/system.gyp:gtk',
158 '../build/linux/system.gyp:x11',
159 '../build/linux/system.gyp:xext',
160 ],
161 'link_settings': {
162 'libraries': [
163 '-lXrender', # For XRender* function calls in x11_util.cc.
164 ],
165 },
166 'conditions': [
167 ['toolkit_views==0', {
168 # Note: because of gyp predence rules this has to be defined as
169 # 'sources/' rather than 'sources!'.
170 'sources/': [
171 ['exclude', '^../ui/base/dragdrop/drag_drop_types_gtk.cc'],
172 ['exclude', '^../ui/base/dragdrop/os_exchange_data.cc'],
173 ['exclude', '^../ui/base/dragdrop/os_exchange_data.h'],
174 ['exclude', '^../ui/base/dragdrop/os_exchange_data_provider_gtk. cc'],
175 ['exclude', '^../ui/base/dragdrop/os_exchange_data_provider_gtk. h'],
176 ],
177 }],
178 ['toolkit_views==1', {
179 # Note: because of gyp predence rules this has to be defined as
180 # 'sources/' rather than 'sources!'.
181 'sources/': [
182 ['include', '^../ui/base/dragdrop/os_exchange_data.cc'],
183 ],
184 }],
185 ],
186 }, { # toolkit_uses_gtk==0
187 'sources!': [
188 '../ui/base/dragdrop/gtk_dnd_util.cc',
189 '../ui/base/dragdrop/gtk_dnd_util.h',
190 '../ui/base/gtk/gtk_signal.h',
191 '../ui/base/gtk/gtk_signal_registrar.cc',
192 '../ui/base/gtk/gtk_signal_registrar.h',
193 '../ui/base/gtk/gtk_windowing.cc',
194 '../ui/base/gtk/gtk_windowing.h',
195 '../ui/base/x/x11_util.cc',
196 '../ui/base/x/x11_util.h',
197 '../ui/base/x/x11_util_internal.h',
198 ],
199 }],
200 ['OS!="win"', {
201 'sources!': [
202 '../ui/base/dragdrop/drag_source.cc',
203 '../ui/base/dragdrop/drag_source.h',
204 '../ui/base/dragdrop/drag_drop_types.h',
205 '../ui/base/dragdrop/drop_target.cc',
206 '../ui/base/dragdrop/drop_target.h',
207 '../ui/base/dragdrop/os_exchange_data.cc',
208 '../ui/base/view_prop.cc',
209 '../ui/base/view_prop.h',
210 'win/iat_patch_function.cc',
211 'win/iat_patch_function.h',
212 ],
213 'sources/': [
214 ['exclude', '^win/*'],
215 ],
216 }],
217 ['use_x11==1', {
218 'sources!': [
219 '../ui/base/keycodes/keyboard_code_conversion_mac.mm',
220 '../ui/base/keycodes/keyboard_code_conversion_mac.h',
221 '../ui/base/keycodes/keyboard_codes_win.h',
222 ],
223 'all_dependent_settings': {
224 'ldflags': [
225 '-L<(PRODUCT_DIR)',
226 ],
227 'link_settings': {
228 'libraries': [
229 '-lX11',
230 '-ldl',
231 ],
232 },
233 },
234 }],
235 ['OS=="mac"', {
236 'link_settings': {
237 'libraries': [
238 '$(SDKROOT)/System/Library/Frameworks/Accelerate.framework',
239 '$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework',
240 ],
241 },
242 'sources!': [
243 '../ui/base/keycodes/keyboard_code_conversion_gtk.cc',
244 '../ui/base/keycodes/keyboard_code_conversion_gtk.h',
245 '../ui/base/keycodes/keyboard_code_conversion_x.cc',
246 '../ui/base/keycodes/keyboard_code_conversion_x.h',
247 '../ui/base/keycodes/keyboard_codes_win.h',
248 '../ui/base/gtk/event_synthesis_gtk.cc',
249 '../ui/base/gtk/event_synthesis_gtk.h',
250 ],
251 }],
252 ['OS=="win"', {
253 'sources!': [
254 '../ui/base/keycodes/keyboard_code_conversion_gtk.cc',
255 '../ui/base/keycodes/keyboard_code_conversion_gtk.h',
256 '../ui/base/keycodes/keyboard_code_conversion_mac.mm',
257 '../ui/base/keycodes/keyboard_code_conversion_mac.h',
258 '../ui/base/keycodes/keyboard_code_conversion_x.cc',
259 '../ui/base/keycodes/keyboard_code_conversion_x.h',
260 '../ui/base/keycodes/keyboard_codes_posix.h',
261 '../ui/base/gtk/event_synthesis_gtk.cc',
262 '../ui/base/gtk/event_synthesis_gtk.h',
263 ],
264 }],
265 ],
266 }, 49 },
267 ], 50 ],
268 'conditions': [ 51 'conditions': [
269 ['OS=="win"', { 52 ['OS=="win"', {
270 'targets': [ 53 'targets': [
271 { 54 {
272 'target_name': 'app_base_nacl_win64', 55 'target_name': 'app_base_nacl_win64',
273 'type': 'static_library', 56 'type': 'static_library',
274 'defines': [ 57 'defines': [
275 '<@(nacl_win64_defines)', 58 '<@(nacl_win64_defines)',
(...skipping 13 matching lines...) Expand all
289 'configurations': { 72 'configurations': {
290 'Common_Base': { 73 'Common_Base': {
291 'msvs_target_platform': 'x64', 74 'msvs_target_platform': 'x64',
292 }, 75 },
293 }, 76 },
294 }, 77 },
295 ], 78 ],
296 }], 79 }],
297 ], 80 ],
298 } 81 }
OLDNEW
« no previous file with comments | « no previous file | chrome/chrome.gyp » ('j') | printing/printing.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698