blob: 73b9d9c8e24401354998c0b6406f8b9a414f28e1 [file] [log] [blame]
[email protected]2f80c312009-02-25 21:26:551# Copyright (c) 2009 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 'includes': [
10 '../build/common.gypi',
11 ],
12 'targets': [
13 {
14 'target_name': 'base',
15 'type': 'static_library',
16 'dependencies': [
17 '../third_party/icu38/icu38.gyp:icui18n',
18 '../third_party/icu38/icu38.gyp:icuuc',
19 ],
[email protected]0d54d2e2009-03-10 22:25:5420 'msvs_guid': '1832A374-8A74-4F9E-B536-69A699B3E165',
[email protected]2f80c312009-02-25 21:26:5521 'sources': [
22 '../build/build_config.h',
23 'third_party/dmg_fp/dmg_fp.h',
24 'third_party/dmg_fp/dtoa.cc',
25 'third_party/dmg_fp/g_fmt.cc',
26 'third_party/nspr/prcpucfg.h',
27 'third_party/nspr/prcpucfg_win.h',
28 'third_party/nspr/prtime.cc',
29 'third_party/nspr/prtime.h',
30 'third_party/nspr/prtypes.h',
31 'third_party/nss/blapi.h',
32 'third_party/nss/blapit.h',
33 'third_party/nss/sha256.h',
34 'third_party/nss/sha512.cc',
35 'third_party/purify/pure.h',
36 'third_party/purify/pure_api.c',
37 'atomicops_internals_x86_gcc.cc',
38 'at_exit.cc',
39 'at_exit.h',
40 'atomic_ref_count.h',
41 'atomic_sequence_num.h',
42 'atomicops.h',
43 'atomicops_internals_x86_msvc.h',
44 'base_drag_source.cc',
45 'base_drag_source.h',
46 'base_drop_target.cc',
47 'base_drop_target.h',
48 'base_paths.cc',
49 'base_paths.h',
[email protected]08ef57ce2009-03-23 15:54:4350 'base_paths_linux.h',
[email protected]2f80c312009-02-25 21:26:5551 'base_paths_linux.cc',
[email protected]08ef57ce2009-03-23 15:54:4352 'base_paths_mac.h',
[email protected]2f80c312009-02-25 21:26:5553 'base_paths_mac.mm',
54 'base_paths_win.cc',
55 'base_paths_win.h',
56 'base_switches.cc',
57 'base_switches.h',
58 'basictypes.h',
59 'bzip2_error_handler.cc',
60 'clipboard.cc',
61 'clipboard.h',
62 'clipboard_linux.cc',
63 'clipboard_mac.mm',
64 'clipboard_util.cc',
65 'clipboard_util.h',
66 'clipboard_win.cc',
67 'command_line.cc',
68 'command_line.h',
69 'compiler_specific.h',
70 'condition_variable.h',
71 'condition_variable_posix.cc',
72 'condition_variable_win.cc',
73 'cpu.cc',
74 'cpu.h',
75 'data_pack.cc',
76 'debug_on_start.cc',
77 'debug_on_start.h',
78 'debug_util.cc',
79 'debug_util.h',
80 'debug_util_mac.cc',
81 'debug_util_posix.cc',
82 'debug_util_win.cc',
83 'directory_watcher.h',
[email protected]34c70c9f2009-03-18 14:35:5884 'directory_watcher_inotify.cc',
[email protected]2f80c312009-02-25 21:26:5585 'directory_watcher_win.cc',
86 'event_recorder.cc',
87 'event_recorder.h',
88 'event_recorder_stubs.cc',
89 'field_trial.cc',
90 'field_trial.h',
91 'file_path.cc',
92 'file_path.h',
93 'file_util.cc',
94 'file_util.h',
95 'file_util_linux.cc',
96 'file_util_mac.mm',
97 'file_util_posix.cc',
98 'file_util_win.cc',
99 'file_version_info.cc',
100 'file_version_info.h',
101 'file_version_info_linux.cc',
102 'file_version_info_mac.mm',
103 'fix_wp64.h',
104 'float_util.h',
[email protected]08ef57ce2009-03-23 15:54:43105 'foundation_utils_mac.h',
[email protected]2f80c312009-02-25 21:26:55106 'hash_tables.h',
107 'histogram.cc',
108 'histogram.h',
109 'hmac.h',
110 'hmac_mac.cc',
111 'hmac_nss.cc',
112 'hmac_win.cc',
113 'iat_patch.cc',
114 'iat_patch.h',
115 'icu_util.cc',
116 'icu_util.h',
117 'id_map.h',
118 'idle_timer.cc',
119 'idle_timer.h',
120 'idle_timer_none.cc',
121 'image_util.cc',
122 'image_util.h',
123 'json_reader.cc',
124 'json_reader.h',
125 'json_writer.cc',
126 'json_writer.h',
127 'keyboard_codes.h',
128 'keyboard_codes_win.h',
129 'lazy_instance.cc',
130 'lazy_instance.h',
131 'linked_ptr.h',
132 'lock.cc',
133 'lock.h',
134 'lock_impl.h',
135 'lock_impl_posix.cc',
136 'lock_impl_win.cc',
137 'logging.cc',
138 'logging.h',
[email protected]08ef57ce2009-03-23 15:54:43139 'mac_util.h',
[email protected]2f80c312009-02-25 21:26:55140 'mac_util.mm',
141 'md5.cc',
142 'md5.h',
143 'memory_debug.cc',
144 'memory_debug.h',
145 'message_loop.cc',
146 'message_loop.h',
147 'message_pump.h',
148 'message_pump_default.cc',
149 'message_pump_default.h',
150 'message_pump_glib.cc',
[email protected]08ef57ce2009-03-23 15:54:43151 'message_pump_glib.h',
[email protected]2f80c312009-02-25 21:26:55152 'message_pump_libevent.cc',
[email protected]08ef57ce2009-03-23 15:54:43153 'message_pump_libevent.h',
154 'message_pump_mac.h',
[email protected]2f80c312009-02-25 21:26:55155 'message_pump_mac.mm',
156 'message_pump_win.cc',
157 'message_pump_win.h',
158 'non_thread_safe.cc',
159 'non_thread_safe.h',
160 'nss_init.cc',
161 'object_watcher.cc',
162 'object_watcher.h',
163 'observer_list.h',
164 'observer_list_threadsafe.h',
165 'path_service.cc',
166 'path_service.h',
167 'pe_image.cc',
168 'pe_image.h',
169 'pickle.cc',
170 'pickle.h',
171 'platform_file.h',
172 'platform_file_win.cc',
173 'platform_file_posix.cc',
174 'platform_thread.h',
175 'platform_thread_mac.mm',
176 'platform_thread_posix.cc',
177 'platform_thread_win.cc',
178 'port.h',
[email protected]9b2217562009-03-09 21:26:28179 'profiler.cc',
180 'profiler.h',
[email protected]2f80c312009-02-25 21:26:55181 'process.h',
182 'process_posix.cc',
183 'process_util.h',
184 'process_util_linux.cc',
185 'process_util_mac.mm',
186 'process_util_posix.cc',
187 'process_util_win.cc',
188 'process_win.cc',
189 'rand_util.cc',
190 'rand_util.h',
191 'rand_util_posix.cc',
192 'rand_util_win.cc',
193 'ref_counted.cc',
194 'ref_counted.h',
195 'registry.cc',
196 'registry.h',
197 'resource_util.cc',
198 'resource_util.h',
199 'revocable_store.cc',
200 'revocable_store.h',
201 'scoped_bstr_win.cc',
202 'scoped_bstr_win.h',
[email protected]08ef57ce2009-03-23 15:54:43203 'scoped_cftyperef.h',
[email protected]2f80c312009-02-25 21:26:55204 'scoped_clipboard_writer.cc',
205 'scoped_clipboard_writer.h',
206 'scoped_comptr_win.h',
207 'scoped_handle.h',
208 'scoped_handle_win.h',
209 'scoped_nsautorelease_pool.h',
210 'scoped_nsautorelease_pool.mm',
[email protected]08ef57ce2009-03-23 15:54:43211 'scoped_nsobject.h',
[email protected]2f80c312009-02-25 21:26:55212 'scoped_ptr.h',
213 'scoped_temp_dir.cc',
214 'scoped_temp_dir.h',
[email protected]e00d39192009-03-19 04:22:28215 'scoped_variant_win.cc',
216 'scoped_variant_win.h',
[email protected]2f80c312009-02-25 21:26:55217 'sha2.cc',
218 'sha2.h',
219 'shared_memory.h',
220 'shared_memory_posix.cc',
221 'shared_memory_win.cc',
222 'simple_thread.cc',
223 'simple_thread.h',
224 'singleton.h',
225 'spin_wait.h',
226 'stack_container.h',
227 'stats_counters.h',
228 'stats_table.cc',
229 'stats_table.h',
230 'string16.cc',
231 'string16.h',
232 'string_escape.cc',
233 'string_escape.h',
234 'string_piece.cc',
235 'string_piece.h',
236 'string_tokenizer.h',
237 'string_util.cc',
238 'string_util.h',
239 'string_util_icu.cc',
240 'string_util_win.h',
241 'sys_info.h',
242 'sys_info_mac.cc',
243 'sys_info_posix.cc',
244 'sys_info_win.cc',
245 'sys_string_conversions.h',
246 'sys_string_conversions_linux.cc',
247 'sys_string_conversions_mac.mm',
248 'sys_string_conversions_win.cc',
249 'system_monitor.cc',
250 'system_monitor.h',
251 'system_monitor_posix.cc',
252 'system_monitor_win.cc',
253 'task.h',
254 'test_file_util.h',
255 'test_file_util_linux.cc',
256 'test_file_util_mac.cc',
[email protected]2c80a4892009-03-10 16:40:45257 'test_file_util_posix.cc',
[email protected]2f80c312009-02-25 21:26:55258 'test_file_util_win.cc',
259 'thread.cc',
260 'thread.h',
261 'thread_collision_warner.cc',
262 'thread_collision_warner.h',
263 'thread_local.h',
264 'thread_local_posix.cc',
265 'thread_local_storage.h',
266 'thread_local_storage_posix.cc',
267 'thread_local_storage_win.cc',
268 'thread_local_win.cc',
269 'time.cc',
270 'time.h',
271 'time_format.cc',
272 'time_format.h',
273 'time_mac.cc',
274 'time_posix.cc',
275 'time_win.cc',
276 'timer.cc',
277 'timer.h',
278 'trace_event.cc',
279 'trace_event.h',
280 'tracked.cc',
281 'tracked.h',
282 'tracked_objects.cc',
283 'tracked_objects.h',
284 'tuple.h',
285 'values.cc',
286 'values.h',
287 'version.cc',
288 'version.h',
289 'waitable_event.h',
290 'waitable_event_posix.cc',
291 'waitable_event_watcher.h',
292 'waitable_event_watcher_posix.cc',
293 'waitable_event_watcher_win.cc',
294 'waitable_event_win.cc',
295 'watchdog.cc',
296 'watchdog.h',
297 'win_util.cc',
298 'win_util.h',
299 'windows_message_list.h',
300 'wmi_util.cc',
301 'wmi_util.h',
302 'word_iterator.cc',
303 'word_iterator.h',
[email protected]2f80c312009-02-25 21:26:55304 'worker_pool.h',
[email protected]5846da02009-03-06 20:35:45305 'worker_pool_linux.cc',
[email protected]2f80c312009-02-25 21:26:55306 'worker_pool_mac.mm',
[email protected]5846da02009-03-06 20:35:45307 'worker_pool_win.cc',
[email protected]2f80c312009-02-25 21:26:55308 ],
309 'include_dirs': [
310 '..',
311 ],
312 'direct_dependent_settings': {
313 'include_dirs': [
314 '..',
315 ],
316 },
317 # These warnings are needed for the files in third_party\dmg_fp.
318 'msvs_disabled_warnings': [
319 4244, 4554, 4018, 4102,
320 ],
321 'conditions': [
322 [ 'OS == "linux"', {
[email protected]6d4da122009-03-24 18:03:55323 'actions': [
324 {
325 'action_name': 'linux_version',
326 'variables': {
[email protected]8a0098f2009-03-24 20:07:45327 'template_input_path': 'file_version_info_linux.h.version',
328 'template_output_path':
[email protected]7d5d73f2009-03-24 21:19:55329 '<(SHARED_INTERMEDIATE_DIR)/base/file_version_info_linux.h',
[email protected]6d4da122009-03-24 18:03:55330 },
331 'inputs': [
332 '<(template_input_path)',
333 '../chrome/VERSION',
334 '../chrome/tools/build/linux/version.sh',
335 ],
336 'conditions': [
337 [ 'branding == "Chrome"', {
338 'inputs': ['../chrome/app/theme/google_chrome/BRANDING']
339 }, { # else branding!="Chrome"
340 'inputs': ['../chrome/app/theme/chromium/BRANDING']
341 }],
342 ],
343 'outputs': [
[email protected]8a0098f2009-03-24 20:07:45344 # Use a non-existant output so this action always runs and
345 # generates version information, e.g. to capture revision
346 # changes, which aren't captured by file dependencies.
[email protected]7d5d73f2009-03-24 21:19:55347 '<(SHARED_INTERMEDIATE_DIR)/base/file_version_info_linux.bogus',
[email protected]6d4da122009-03-24 18:03:55348 ],
349 'action': [
350 '../chrome/tools/build/linux/version.sh',
[email protected]8a0098f2009-03-24 20:07:45351 '<(template_input_path)', '<(template_output_path)',
[email protected]6d4da122009-03-24 18:03:55352 ],
353 },
354 ],
355 'include_dirs': [
[email protected]7d5d73f2009-03-24 21:19:55356 '<(SHARED_INTERMEDIATE_DIR)',
[email protected]6d4da122009-03-24 18:03:55357 ],
[email protected]2f80c312009-02-25 21:26:55358 'sources/': [ ['exclude', '_(mac|win)\\.cc$'],
359 ['exclude', '\\.mm?$' ] ],
360 'sources!': [
361 # Linux has an implementation of idle_timer that depends
362 # on XScreenSaver, but it's unclear if we want it yet,
363 # so use idle_timer_none.cc instead.
364 'idle_timer.cc',
365 ],
[email protected]9d384032009-03-20 23:13:26366 'dependencies': [
367 '../build/linux/system.gyp:gtk',
368 '../build/linux/system.gyp:nss',
369 ],
370 'cflags': [
371 '-Wno-write-strings',
372 ],
373 'link_settings': {
374 'libraries': [
375 # We need rt for clock_gettime().
376 '-lrt',
377 ],
378 },
[email protected]2f80c312009-02-25 21:26:55379 },
380 { # else: OS != "linux"
381 'sources!': [
382 'atomicops_internals_x86_gcc.cc',
[email protected]34c70c9f2009-03-18 14:35:58383 'directory_watcher_inotify.cc',
[email protected]2f80c312009-02-25 21:26:55384 'hmac_nss.cc',
385 'idle_timer_none.cc',
386 'message_pump_glib.cc',
387 'nss_init.cc',
388 'time_posix.cc',
389 ],
390 }
391 ],
[email protected]398a3162009-03-18 23:19:10392 [ 'GENERATOR == "quentin"', {
393 # Quentin builds don't have a recent enough glibc to include the
394 # inotify headers
395 'sources!': [
396 'directory_watcher_inotify.cc',
397 ],
398 'sources': [
399 'directory_watcher_stub.cc',
400 ],
401 },
402 ],
[email protected]2f80c312009-02-25 21:26:55403 [ 'OS == "mac"', {
404 'sources/': [ ['exclude', '_(linux|win)\\.cc$'] ],
405 'sources!': [
[email protected]2f80c312009-02-25 21:26:55406 ],
407 'link_settings': {
408 'libraries': [
409 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
410 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
411 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
412 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
413 ],
414 },
415 },
416 ],
417 [ 'OS == "win"', {
418 'sources/': [ ['exclude', '_(linux|mac|posix)\\.cc$'],
419 ['exclude', '\\.mm?$' ] ],
420 'sources!': [
[email protected]b8e1f95c2009-02-26 15:25:44421 'data_pack.cc',
[email protected]2f80c312009-02-25 21:26:55422 'event_recorder_stubs.cc',
423 'message_pump_libevent.cc',
424 'string16.cc',
425 ],
426 },
427 { # else: OS != "win"
428 'dependencies': ['../third_party/libevent/libevent.gyp:libevent'],
429 'sources!': [
430 'third_party/purify/pure_api.c',
431 'base_drag_source.cc',
432 'base_drop_target.cc',
433 'cpu.cc',
434 'clipboard_util.cc',
435 'debug_on_start.cc',
436 'event_recorder.cc',
437 'file_version_info.cc',
438 'iat_patch.cc',
439 'image_util.cc',
440 'object_watcher.cc',
441 'pe_image.cc',
442 'registry.cc',
443 'resource_util.cc',
444 'win_util.cc',
445 'wmi_util.cc',
446 ],
447 },
448 ],
449 ],
450 },
451 {
452 'target_name': 'base_gfx',
453 'type': 'static_library',
[email protected]0d54d2e2009-03-10 22:25:54454 'msvs_guid': 'A508ADD3-CECE-4E0F-8448-2F5E454DF551',
[email protected]2f80c312009-02-25 21:26:55455 'sources': [
456 'gfx/gdi_util.cc',
457 'gfx/gdi_util.h',
[email protected]40c3f522009-03-06 21:33:46458 'gfx/gtk_util.cc',
459 'gfx/gtk_util.h',
[email protected]2f80c312009-02-25 21:26:55460 'gfx/jpeg_codec.cc',
461 'gfx/jpeg_codec.h',
462 'gfx/native_theme.cc',
463 'gfx/native_theme.h',
464 'gfx/native_widget_types.h',
465 'gfx/platform_canvas.h',
466 'gfx/platform_canvas_linux.h',
467 'gfx/platform_canvas_mac.h',
468 'gfx/platform_device_linux.h',
469 'gfx/platform_device_mac.h',
470 'gfx/png_decoder.cc',
471 'gfx/png_decoder.h',
472 'gfx/png_encoder.cc',
473 'gfx/png_encoder.h',
474 'gfx/point.cc',
475 'gfx/point.h',
476 'gfx/rect.cc',
477 'gfx/rect.h',
478 'gfx/size.cc',
479 'gfx/size.h',
480 ],
481 'mac_framework_dirs': [
482 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Frameworks',
483 ],
484 'dependencies': [
485 'base',
486 '../skia/skia.gyp:skia',
487 '../third_party/libjpeg/libjpeg.gyp:libjpeg',
488 '../third_party/libpng/libpng.gyp:libpng',
489 '../third_party/zlib/zlib.gyp:zlib',
490 ],
491 'export_dependent_settings': [
492 'base',
493 ],
494 'conditions': [
[email protected]9d384032009-03-20 23:13:26495 ['OS == "linux"', {
496 'dependencies': [
497 '../build/linux/system.gyp:gtk',
498 ],
499 }],
[email protected]2f80c312009-02-25 21:26:55500 [ 'OS != "win"', { 'sources!': [
[email protected]40c3f522009-03-06 21:33:46501 'gfx/gdi_util.cc',
502 'gfx/native_theme.cc',
[email protected]9e450f22009-03-10 23:12:16503 ],
[email protected]40c3f522009-03-06 21:33:46504 }],
505 [ 'OS != "linux"', { 'sources!': [
506 'gfx/gtk_util.cc',
[email protected]9e450f22009-03-10 23:12:16507 ],
[email protected]2f80c312009-02-25 21:26:55508 }],
509 ],
510 },
511 {
512 'target_name': 'base_unittests',
513 'type': 'executable',
[email protected]9e450f22009-03-10 23:12:16514 'msvs_guid': '27A30967-4BBA-48D1-8522-CDE95F7B1CEC',
[email protected]2f80c312009-02-25 21:26:55515 'sources': [
516 'gfx/jpeg_codec_unittest.cc',
517 'gfx/native_theme_unittest.cc',
518 'gfx/png_codec_unittest.cc',
519 'gfx/rect_unittest.cc',
520 'at_exit_unittest.cc',
521 'atomicops_unittest.cc',
522 'clipboard_unittest.cc',
523 'command_line_unittest.cc',
524 'condition_variable_unittest.cc',
525 'data_pack_unittest.cc',
526 'directory_watcher_unittest.cc',
527 'field_trial_unittest.cc',
528 'file_path_unittest.cc',
529 'file_util_unittest.cc',
530 'file_version_info_unittest.cc',
531 'histogram_unittest.cc',
532 'hmac_unittest.cc',
533 'idletimer_unittest.cc',
534 'json_reader_unittest.cc',
535 'json_writer_unittest.cc',
536 'lazy_instance_unittest.cc',
537 'linked_ptr_unittest.cc',
538 'mac_util_unittest.cc',
539 'message_loop_unittest.cc',
540 'object_watcher_unittest.cc',
541 'observer_list_unittest.cc',
542 'path_service_unittest.cc',
543 'pe_image_unittest.cc',
544 'pickle_unittest.cc',
545 'pr_time_unittest.cc',
546 'process_util_unittest.cc',
547 'rand_util_unittest.cc',
548 'ref_counted_unittest.cc',
549 'run_all_unittests.cc',
550 'scoped_bstr_win_unittest.cc',
551 'scoped_comptr_win_unittest.cc',
552 'scoped_ptr_unittest.cc',
[email protected]8b03e8d2009-03-02 06:53:31553 'scoped_temp_dir_unittest.cc',
[email protected]e00d39192009-03-19 04:22:28554 'scoped_variant_win_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55555 'sha2_unittest.cc',
556 'shared_memory_unittest.cc',
557 'simple_thread_unittest.cc',
558 'singleton_unittest.cc',
559 'stack_container_unittest.cc',
560 'stats_table_unittest.cc',
561 'string_escape_unittest.cc',
562 'string_piece_unittest.cc',
563 'string_tokenizer_unittest.cc',
564 'string_util_unittest.cc',
565 'sys_info_unittest.cc',
566 'sys_string_conversions_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55567 'system_monitor_unittest.cc',
568 'thread_collision_warner_unittest.cc',
569 'thread_local_storage_unittest.cc',
570 'thread_local_unittest.cc',
571 'thread_unittest.cc',
572 'time_unittest.cc',
573 'time_win_unittest.cc',
574 'timer_unittest.cc',
575 'tracked_objects_unittest.cc',
576 'tuple_unittest.cc',
577 'values_unittest.cc',
[email protected]8b03e8d2009-03-02 06:53:31578 'version_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55579 'waitable_event_unittest.cc',
[email protected]8b03e8d2009-03-02 06:53:31580 'waitable_event_watcher_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55581 'watchdog_unittest.cc',
582 'win_util_unittest.cc',
583 'wmi_util_unittest.cc',
584 'word_iterator_unittest.cc',
585 'worker_pool_unittest.cc',
586 ],
587 'include_dirs': [
588 # word_iterator.h (used by word_iterator_unittest.cc) leaks an ICU
589 # #include for unicode/uchar.h. This should probably be cleaned up.
590 '../third_party/icu38/public/common',
591 ],
592 'dependencies': [
593 'base',
594 'base_gfx',
595 '../skia/skia.gyp:skia',
596 '../testing/gtest.gyp:gtest',
597 ],
598 'conditions': [
[email protected]8b03e8d2009-03-02 06:53:31599 ['OS == "linux"', {
600 'sources!': [
601 'file_version_info_unittest.cc',
602 # Linux has an implementation of idle_timer, but it's unclear
603 # if we want it yet, so leave it 'unported' for now.
604 'idletimer_unittest.cc',
605 ],
[email protected]9d384032009-03-20 23:13:26606 'dependencies': [
607 '../build/linux/system.gyp:gtk',
608 ],
[email protected]8b03e8d2009-03-02 06:53:31609 }],
610 ['OS != "mac"', {
611 'sources!': [
612 'mac_util_unittest.cc',
613 ],
614 }],
[email protected]2f80c312009-02-25 21:26:55615 # This is needed to trigger the dll copy step on windows.
616 # TODO(mark): This should not be necessary.
[email protected]8b03e8d2009-03-02 06:53:31617 ['OS == "win"', {
618 'dependencies': [
619 '../third_party/icu38/icu38.gyp:icudata',
620 ],
621 'sources!': [
622 'data_pack_unittest.cc',
623 ],
624 }, { # OS != "win"
625 'sources!': [
626 'gfx/native_theme_unittest.cc',
627 'directory_watcher_unittest.cc',
628 'object_watcher_unittest.cc',
629 'pe_image_unittest.cc',
630 'scoped_bstr_win_unittest.cc',
631 'scoped_comptr_win_unittest.cc',
[email protected]e00d39192009-03-19 04:22:28632 'scoped_variant_win_unittest.cc',
[email protected]8b03e8d2009-03-02 06:53:31633 'system_monitor_unittest.cc',
634 'time_win_unittest.cc',
635 'win_util_unittest.cc',
636 'wmi_util_unittest.cc',
637 ],
638 }],
[email protected]2f80c312009-02-25 21:26:55639 ],
640 },
[email protected]e8ef09a2009-03-16 23:46:45641 {
642 'target_name': 'test_support_base',
643 'type': 'static_library',
644 'dependencies': [
645 'base',
646 '../testing/gtest.gyp:gtest',
647 ],
648 'sources': [
649 'perftimer.cc',
650 'run_all_perftests.cc',
651 ],
652 'direct_dependent_settings': {
653 'defines': [
654 'PERF_TEST',
655 ],
656 },
[email protected]9d384032009-03-20 23:13:26657 'conditions': [
658 ['OS == "linux"', {
659 'dependencies': [
660 # Needed to handle the #include chain:
661 # base/perf_test_suite.h
662 # base/test_suite.h
663 # gtk/gtk.h
664 '../build/linux/system.gyp:gtk',
665 ],
666 }],
667 ],
[email protected]e8ef09a2009-03-16 23:46:45668 },
[email protected]2f80c312009-02-25 21:26:55669 ],
670 'conditions': [
671 [ 'OS == "win"', {
672 'targets': [
673 {
674 'target_name': 'debug_message',
675 'type': 'executable',
676 'sources': [
677 'debug_message.cc',
678 ],
679 },
680 ],
681 }],
682 ],
683}