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
3 # found in the LICENSE file.
10 'target_conditions': [
11 # This part is shared between the targets defined below. Only files and
12 # settings relevant for building the Win64 target should be added here.
13 # All the rest should be added to the 'app_base' target below.
14 ['app_base_target==1', {
16 # Used both for Chrome and for Win64 NaCl loader
17 '../ui/base/models/tree_model.cc',
18 '../ui/base/models/tree_model.h',
19 '../ui/base/models/tree_node_iterator.h',
20 '../ui/base/models/tree_node_model.h',
21 '../ui/base/system_monitor/system_monitor.cc',
22 '../ui/base/system_monitor/system_monitor.h',
23 '../ui/base/system_monitor/system_monitor_mac.mm',
24 '../ui/base/system_monitor/system_monitor_posix.cc',
25 '../ui/base/system_monitor/system_monitor_win.cc',
26 '../ui/base/ui_base_paths.h',
27 '../ui/base/ui_base_paths.cc',
28 '../ui/base/ui_base_switches.h',
29 '../ui/base/ui_base_switches.cc',
34 ['OS!="linux" and OS!="freebsd" and OS!="openbsd"', {
36 '../ui/base/dragdrop/gtk_dnd_util.cc',
37 '../ui/base/dragdrop/gtk_dnd_util.h',
38 '../ui/base/gtk/gtk_signal.h',
39 '../ui/base/gtk/gtk_signal_registrar.cc',
40 '../ui/base/gtk/gtk_signal_registrar.h',
41 '../ui/base/gtk/gtk_windowing.cc',
42 '../ui/base/gtk/gtk_windowing.h',
43 '../ui/base/x/x11_util.cc',
44 '../ui/base/x/x11_util.h',
45 '../ui/base/x/x11_util_internal.h',
54 'target_name': 'app_base',
56 'msvs_guid': '4631946D-7D5F-44BD-A5A8-504C0A7033BE',
61 # app resources and ui_strings should be shared with the 64-bit
62 # target, but it doesn't work due to a bug in gyp
63 '../base/base.gyp:base',
64 '../base/base.gyp:base_i18n',
65 '../ui/ui.gyp:ui_gfx',
67 '../skia/skia.gyp:skia',
68 '../third_party/icu/icu.gyp:icui18n',
69 '../third_party/icu/icu.gyp:icuuc',
70 '../third_party/libpng/libpng.gyp:libpng',
71 '../third_party/sqlite/sqlite.gyp:sqlite',
72 '../third_party/zlib/zlib.gyp:zlib',
73 '../ui/base/strings/ui_strings.gyp:ui_strings',
74 '<(libjpeg_gyp_path):libjpeg',
76 # TODO(gregoryd): The direct_dependent_settings should be shared with
77 # the 64-bit target, but it doesn't work due to a bug in gyp
78 'direct_dependent_settings': {
84 # Files that are not required for Win64 Native Client loader
85 '../ui/base/animation/animation.cc',
86 '../ui/base/animation/animation.h',
87 '../ui/base/animation/animation_container.cc',
88 '../ui/base/animation/animation_container.h',
89 '../ui/base/animation/animation_container_element.h',
90 '../ui/base/animation/animation_container_observer.h',
91 '../ui/base/animation/animation_delegate.h',
92 '../ui/base/animation/linear_animation.cc',
93 '../ui/base/animation/linear_animation.h',
94 '../ui/base/animation/multi_animation.cc',
95 '../ui/base/animation/multi_animation.h',
96 '../ui/base/animation/slide_animation.cc',
97 '../ui/base/animation/slide_animation.h',
98 '../ui/base/animation/throb_animation.cc',
99 '../ui/base/animation/throb_animation.h',
100 '../ui/base/animation/tween.cc',
101 '../ui/base/animation/tween.h',
102 '../ui/base/clipboard/clipboard.cc',
103 '../ui/base/clipboard/clipboard.h',
104 '../ui/base/clipboard/clipboard_linux.cc',
105 '../ui/base/clipboard/clipboard_mac.mm',
106 '../ui/base/clipboard/clipboard_util_win.cc',
107 '../ui/base/clipboard/clipboard_util_win.h',
108 '../ui/base/clipboard/clipboard_win.cc',
109 '../ui/base/clipboard/scoped_clipboard_writer.cc',
110 '../ui/base/clipboard/scoped_clipboard_writer.h',
111 '../ui/base/dragdrop/drag_drop_types_gtk.cc',
112 '../ui/base/dragdrop/drag_drop_types_win.cc',
113 '../ui/base/dragdrop/drag_drop_types.h',
114 '../ui/base/dragdrop/drag_source.cc',
115 '../ui/base/dragdrop/drag_source.h',
116 '../ui/base/dragdrop/drop_target.cc',
117 '../ui/base/dragdrop/drop_target.h',
118 '../ui/base/dragdrop/gtk_dnd_util.cc',
119 '../ui/base/dragdrop/gtk_dnd_util.h',
120 '../ui/base/dragdrop/os_exchange_data_provider_gtk.cc',
121 '../ui/base/dragdrop/os_exchange_data_provider_gtk.h',
122 '../ui/base/dragdrop/os_exchange_data_provider_win.cc',
123 '../ui/base/dragdrop/os_exchange_data_provider_win.h',
124 '../ui/base/dragdrop/os_exchange_data.cc',
125 '../ui/base/dragdrop/os_exchange_data.h',
126 '../ui/base/events.h',
127 '../ui/base/gtk/event_synthesis_gtk.cc',
128 '../ui/base/gtk/event_synthesis_gtk.h',
129 '../ui/base/gtk/gtk_signal.h',
130 '../ui/base/gtk/gtk_signal_registrar.cc',
131 '../ui/base/gtk/gtk_signal_registrar.h',
132 '../ui/base/gtk/gtk_windowing.cc',
133 '../ui/base/gtk/gtk_windowing.h',
134 '../ui/base/keycodes/keyboard_code_conversion_gtk.cc',
135 '../ui/base/keycodes/keyboard_code_conversion_gtk.h',
136 '../ui/base/keycodes/keyboard_code_conversion_mac.mm',
137 '../ui/base/keycodes/keyboard_code_conversion_mac.h',
138 '../ui/base/keycodes/keyboard_code_conversion_win.cc',
139 '../ui/base/keycodes/keyboard_code_conversion_win.h',
140 '../ui/base/keycodes/keyboard_code_conversion_x.cc',
141 '../ui/base/keycodes/keyboard_code_conversion_x.h',
142 '../ui/base/keycodes/keyboard_codes.h',
143 '../ui/base/keycodes/keyboard_codes_win.h',
144 '../ui/base/keycodes/keyboard_codes_posix.h',
145 '../ui/base/l10n/l10n_font_util.h',
146 '../ui/base/l10n/l10n_font_util.cc',
147 '../ui/base/l10n/l10n_util.cc',
148 '../ui/base/l10n/l10n_util.h',
149 '../ui/base/l10n/l10n_util_collator.h',
150 '../ui/base/l10n/l10n_util_mac.h',
151 '../ui/base/l10n/l10n_util_mac.mm',
152 '../ui/base/l10n/l10n_util_posix.cc',
153 '../ui/base/l10n/l10n_util_win.cc',
154 '../ui/base/l10n/l10n_util_win.h',
155 '../ui/base/message_box_flags.h',
156 '../ui/base/message_box_win.cc',
157 '../ui/base/message_box_win.h',
158 '../ui/base/models/accelerator.h',
159 '../ui/base/models/accelerator_gtk.h',
160 '../ui/base/models/accelerator_cocoa.mm',
161 '../ui/base/models/accelerator_cocoa.h',
162 '../ui/base/models/button_menu_item_model.cc',
163 '../ui/base/models/button_menu_item_model.h',
164 '../ui/base/models/menu_model.cc',
165 '../ui/base/models/menu_model.h',
166 '../ui/base/models/menu_model_delegate.h',
167 '../ui/base/models/simple_menu_model.cc',
168 '../ui/base/models/simple_menu_model.h',
169 '../ui/base/models/combobox_model.h',
170 '../ui/base/models/table_model.cc',
171 '../ui/base/models/table_model.h',
172 '../ui/base/models/table_model_observer.h',
173 '../ui/base/resource/data_pack.cc',
174 '../ui/base/resource/data_pack.h',
175 '../ui/base/resource/resource_bundle.cc',
176 '../ui/base/resource/resource_bundle.h',
177 '../ui/base/resource/resource_bundle_linux.cc',
178 '../ui/base/resource/resource_bundle_mac.mm',
179 '../ui/base/resource/resource_bundle_posix.cc',
180 '../ui/base/resource/resource_bundle_win.cc',
181 '../ui/base/text/text_elider.cc',
182 '../ui/base/text/text_elider.h',
183 '../ui/base/theme_provider.cc',
184 '../ui/base/theme_provider.h',
185 '../ui/base/view_prop.cc',
186 '../ui/base/view_prop.h',
187 '../ui/base/win/hwnd_util.cc',
188 '../ui/base/win/hwnd_util.h',
189 '../ui/base/win/window_impl.cc',
190 '../ui/base/win/window_impl.h',
191 '../ui/base/x/active_window_watcher_x.cc',
192 '../ui/base/x/active_window_watcher_x.h',
193 '../ui/base/x/x11_util.cc',
194 '../ui/base/x/x11_util.h',
195 '../ui/base/x/x11_util_internal.h',
196 'mac/nsimage_cache.h',
197 'mac/nsimage_cache.mm',
198 'mac/scoped_nsdisable_screen_updates.h',
201 'sql/diagnostic_error_delegate.h',
207 'sql/transaction.cc',
209 'win/iat_patch_function.cc',
210 'win/iat_patch_function.h',
211 'win/scoped_co_mem.h',
212 'win/scoped_com_initializer.h',
213 'win/scoped_prop.cc',
219 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
221 # font_gtk.cc uses fontconfig.
222 # TODO(evanm): I think this is wrong; it should just use GTK.
223 '../build/linux/system.gyp:fontconfig',
224 '../build/linux/system.gyp:gtk',
225 '../build/linux/system.gyp:x11',
226 '../build/linux/system.gyp:xext',
230 '-lXrender', # For XRender* function calls in x11_util.cc.
234 ['toolkit_views==0', {
235 # Note: because of gyp predence rules this has to be defined as
236 # 'sources/' rather than 'sources!'.
238 ['exclude', '^../ui/base/dragdrop/drag_drop_types_gtk.cc'],
239 ['exclude', '^../ui/base/dragdrop/os_exchange_data.cc'],
240 ['exclude', '^../ui/base/dragdrop/os_exchange_data.h'],
241 ['exclude', '^../ui/base/dragdrop/os_exchange_data_provider_gtk.cc'],
242 ['exclude', '^../ui/base/dragdrop/os_exchange_data_provider_gtk.h'],
245 ['toolkit_views==1', {
246 # Note: because of gyp predence rules this has to be defined as
247 # 'sources/' rather than 'sources!'.
249 ['include', '^../ui/base/dragdrop/os_exchange_data.cc'],
256 '../ui/base/dragdrop/drag_source.cc',
257 '../ui/base/dragdrop/drag_source.h',
258 '../ui/base/dragdrop/drag_drop_types.h',
259 '../ui/base/dragdrop/drop_target.cc',
260 '../ui/base/dragdrop/drop_target.h',
261 '../ui/base/dragdrop/os_exchange_data.cc',
262 '../ui/base/view_prop.cc',
263 '../ui/base/view_prop.h',
264 'win/iat_patch_function.cc',
265 'win/iat_patch_function.h',
268 ['exclude', '^win/*'],
273 '../ui/base/keycodes/keyboard_code_conversion_mac.mm',
274 '../ui/base/keycodes/keyboard_code_conversion_mac.h',
275 '../ui/base/keycodes/keyboard_codes_win.h',
277 'all_dependent_settings': {
292 '$(SDKROOT)/System/Library/Frameworks/Accelerate.framework',
293 '$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework',
297 '../ui/base/keycodes/keyboard_code_conversion_gtk.cc',
298 '../ui/base/keycodes/keyboard_code_conversion_gtk.h',
299 '../ui/base/keycodes/keyboard_code_conversion_x.cc',
300 '../ui/base/keycodes/keyboard_code_conversion_x.h',
301 '../ui/base/keycodes/keyboard_codes_win.h',
302 '../ui/base/gtk/event_synthesis_gtk.cc',
303 '../ui/base/gtk/event_synthesis_gtk.h',
308 '../ui/base/keycodes/keyboard_code_conversion_gtk.cc',
309 '../ui/base/keycodes/keyboard_code_conversion_gtk.h',
310 '../ui/base/keycodes/keyboard_code_conversion_mac.mm',
311 '../ui/base/keycodes/keyboard_code_conversion_mac.h',
312 '../ui/base/keycodes/keyboard_code_conversion_x.cc',
313 '../ui/base/keycodes/keyboard_code_conversion_x.h',
314 '../ui/base/keycodes/keyboard_codes_posix.h',
315 '../ui/base/gtk/event_synthesis_gtk.cc',
316 '../ui/base/gtk/event_synthesis_gtk.h',
326 'target_name': 'app_base_nacl_win64',
327 'type': '<(library)',
328 'msvs_guid': '4987C6F9-B230-48E5-BF91-418EAE69AD90',
330 # app resources and ui_strings should be shared with the 32-bit
331 # target, but it doesn't work due to a bug in gyp
333 '../base/base.gyp:base_nacl_win64',
334 '../ui/base/strings/ui_strings.gyp:ui_strings',
337 'app_base_target': 1,
340 '<@(nacl_win64_defines)',
342 # TODO(gregoryd): The direct_dependent_settings should be shared with
343 # the 32-bit target, but it doesn't work due to a bug in gyp
344 'direct_dependent_settings': {
350 '../ui/base/resource/resource_bundle_dummy.cc',
353 '../skia/config/win',
354 '../third_party/icu/public/common',
355 '../third_party/icu/public/i18n',
356 '../third_party/npapi',
357 '../third_party/skia/include/config',
358 '../third_party/skia/include/core',
362 'msvs_target_platform': 'x64',