blob: 9329ccbb714fe66255b72df385bfdbd49c2d3238 [file] [log] [blame]
[email protected]225c8f52010-02-05 22:23:201# Copyright (c) 2010 The Chromium Authors. All rights reserved.
[email protected]ef4fa4072009-12-04 22:46:502# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5{
6 'target_defaults': {
7 'variables': {
8 'base_target': 0,
[email protected]97a28e722010-06-11 21:30:379 'base_extra_target': 0,
[email protected]ef4fa4072009-12-04 22:46:5010 },
11 'target_conditions': [
[email protected]0ea54822010-07-01 20:14:5012 # This part is shared between the targets defined below.
[email protected]ef4fa4072009-12-04 22:46:5013 ['base_target==1', {
14 'sources': [
15 '../build/build_config.h',
16 'third_party/dmg_fp/dmg_fp.h',
17 'third_party/dmg_fp/dtoa.cc',
18 'third_party/dmg_fp/g_fmt.cc',
19 'third_party/icu/icu_utf.cc',
20 'third_party/icu/icu_utf.h',
21 'third_party/nspr/prtime.cc',
22 'third_party/nspr/prtime.h',
[email protected]ef4fa4072009-12-04 22:46:5023 'at_exit.cc',
24 'at_exit.h',
25 'atomic_ref_count.h',
26 'atomic_sequence_num.h',
27 'atomicops.h',
[email protected]9bc8cff2010-04-03 01:05:3928 'atomicops_internals_x86_gcc.cc',
[email protected]ef4fa4072009-12-04 22:46:5029 'atomicops_internals_x86_msvc.h',
30 'base_paths.cc',
31 'base_paths.h',
32 'base_paths_mac.h',
33 'base_paths_mac.mm',
34 'base_paths_posix.cc',
35 'base_paths_win.cc',
36 'base_paths_win.h',
37 'base_switches.cc',
38 'base_switches.h',
39 'basictypes.h',
40 'bits.h',
41 'bzip2_error_handler.cc',
[email protected]2041cf342010-02-19 03:15:5942 'callback.h',
[email protected]ef4fa4072009-12-04 22:46:5043 'cancellation_flag.cc',
[email protected]9bc8cff2010-04-03 01:05:3944 'cancellation_flag.h',
[email protected]ef4fa4072009-12-04 22:46:5045 'chrome_application_mac.h',
46 'chrome_application_mac.mm',
47 'cocoa_protocols_mac.h',
48 'command_line.cc',
49 'command_line.h',
50 'compiler_specific.h',
51 'condition_variable.h',
52 'condition_variable_posix.cc',
53 'condition_variable_win.cc',
54 'cpu.cc',
55 'cpu.h',
56 'debug_on_start.cc',
57 'debug_on_start.h',
58 'debug_util.cc',
59 'debug_util.h',
60 'debug_util_mac.cc',
61 'debug_util_posix.cc',
62 'debug_util_win.cc',
[email protected]ef73044e2010-03-11 15:25:5463 'dir_reader_fallback.h',
64 'dir_reader_linux.h',
65 'dir_reader_posix.h',
[email protected]76b90d312010-08-03 03:00:5066 'environment.cc',
67 'environment.h',
[email protected]ef4fa4072009-12-04 22:46:5068 'event_trace_consumer_win.h',
69 'event_trace_controller_win.cc',
70 'event_trace_controller_win.h',
71 'event_trace_provider_win.cc',
72 'event_trace_provider_win.h',
73 'file_path.cc',
74 'file_path.h',
75 'file_util.cc',
76 'file_util.h',
[email protected]a84ab952010-02-23 11:34:5477 'file_util_deprecated.h',
[email protected]1d01d412010-08-20 00:36:0178 'file_util_linux.cc',
[email protected]ef4fa4072009-12-04 22:46:5079 'file_util_mac.mm',
80 'file_util_posix.cc',
81 'file_util_win.cc',
[email protected]b90c93ff2010-08-20 22:42:5082 'file_util_proxy.cc',
83 'file_util_proxy.h',
[email protected]ef4fa4072009-12-04 22:46:5084 'file_version_info.h',
[email protected]bcff05a2010-04-14 01:46:4385 'file_version_info_mac.h',
[email protected]ef4fa4072009-12-04 22:46:5086 'file_version_info_mac.mm',
[email protected]bcff05a2010-04-14 01:46:4387 'file_version_info_win.cc',
88 'file_version_info_win.h',
[email protected]ef4fa4072009-12-04 22:46:5089 'fix_wp64.h',
90 'float_util.h',
91 'foundation_utils_mac.h',
[email protected]ef4fa4072009-12-04 22:46:5092 'global_descriptors_posix.cc',
[email protected]9bc8cff2010-04-03 01:05:3993 'global_descriptors_posix.h',
[email protected]a918f872010-06-01 14:30:5194 'gtest_prod_util.h',
[email protected]0ea54822010-07-01 20:14:5095 'gtk_util.cc',
96 'gtk_util.h',
[email protected]ef4fa4072009-12-04 22:46:5097 'hash_tables.h',
[email protected]ef4fa4072009-12-04 22:46:5098 'iat_patch.cc',
99 'iat_patch.h',
100 'id_map.h',
[email protected]252cad62010-08-18 18:33:57101 'json/json_reader.cc',
102 'json/json_reader.h',
103 'json/json_writer.cc',
104 'json/json_writer.h',
105 'json/string_escape.cc',
106 'json/string_escape.h',
[email protected]ef4fa4072009-12-04 22:46:50107 'lazy_instance.cc',
108 'lazy_instance.h',
109 'leak_annotations.h',
110 'leak_tracker.h',
111 'linked_list.h',
112 'linked_ptr.h',
113 'lock.cc',
114 'lock.h',
115 'lock_impl.h',
116 'lock_impl_posix.cc',
117 'lock_impl_win.cc',
118 'logging.cc',
[email protected]ef4fa4072009-12-04 22:46:50119 'logging.h',
[email protected]9bc8cff2010-04-03 01:05:39120 'logging_win.cc',
[email protected]ef4fa4072009-12-04 22:46:50121 'mac_util.h',
122 'mac_util.mm',
[email protected]c0028792010-01-12 00:39:15123 'mach_ipc_mac.h',
124 'mach_ipc_mac.mm',
[email protected]ef4fa4072009-12-04 22:46:50125 'memory_debug.cc',
126 'memory_debug.h',
127 'message_loop.cc',
128 'message_loop.h',
[email protected]d4799a32010-09-28 22:54:58129 'message_loop_proxy.cc',
[email protected]2cbac9e2010-04-29 03:31:34130 'message_loop_proxy.h',
[email protected]656475d2010-05-06 18:34:24131 'message_loop_proxy_impl.cc',
132 'message_loop_proxy_impl.h',
[email protected]d4799a32010-09-28 22:54:58133 'message_pump.cc',
[email protected]ef4fa4072009-12-04 22:46:50134 'message_pump.h',
135 'message_pump_default.cc',
136 'message_pump_default.h',
137 'message_pump_win.cc',
138 'message_pump_win.h',
[email protected]835d7c82010-10-14 04:38:38139 'metrics/histogram.cc',
140 'metrics/histogram.h',
141 'metrics/stats_counters.cc',
142 'metrics/stats_counters.h',
143 'metrics/stats_table.cc',
144 'metrics/stats_table.h',
[email protected]ef4fa4072009-12-04 22:46:50145 'mime_util.h',
[email protected]1c657852010-04-22 23:28:05146 'mime_util_xdg.cc',
[email protected]0fecda62010-03-19 21:59:01147 'move.h',
[email protected]ef4fa4072009-12-04 22:46:50148 'native_library.h',
149 'native_library_linux.cc',
150 'native_library_mac.mm',
151 'native_library_win.cc',
152 'non_thread_safe.cc',
153 'non_thread_safe.h',
154 'nullable_string16.h',
155 'object_watcher.cc',
156 'object_watcher.h',
157 'observer_list.h',
158 'observer_list_threadsafe.h',
159 'path_service.cc',
160 'path_service.h',
[email protected]4bc818e2010-02-04 22:47:37161 'pe_image.cc',
162 'pe_image.h',
[email protected]ef4fa4072009-12-04 22:46:50163 'pickle.cc',
164 'pickle.h',
165 'platform_file.h',
[email protected]ef4fa4072009-12-04 22:46:50166 'platform_file_posix.cc',
[email protected]9bc8cff2010-04-03 01:05:39167 'platform_file_win.cc',
[email protected]ef4fa4072009-12-04 22:46:50168 'platform_thread.h',
169 'platform_thread_mac.mm',
170 'platform_thread_posix.cc',
171 'platform_thread_win.cc',
172 'port.h',
[email protected]ef4fa4072009-12-04 22:46:50173 'process.h',
174 'process_linux.cc',
175 'process_posix.cc',
[email protected]b6128aa2010-04-29 17:44:42176 'process_util.cc',
[email protected]ef4fa4072009-12-04 22:46:50177 'process_util.h',
178 'process_util_linux.cc',
179 'process_util_mac.mm',
180 'process_util_posix.cc',
181 'process_util_win.cc',
182 'process_win.cc',
[email protected]9bc8cff2010-04-03 01:05:39183 'profiler.cc',
184 'profiler.h',
[email protected]ef4fa4072009-12-04 22:46:50185 'rand_util.cc',
186 'rand_util.h',
187 'rand_util_posix.cc',
188 'rand_util_win.cc',
189 'raw_scoped_refptr_mismatch_checker.h',
190 'ref_counted.cc',
191 'ref_counted.h',
[email protected]3071754432010-07-28 00:09:54192 'ref_counted_memory.cc',
[email protected]ef4fa4072009-12-04 22:46:50193 'ref_counted_memory.h',
194 'registry.cc',
195 'registry.h',
196 'resource_util.cc',
197 'resource_util.h',
198 'safe_strerror_posix.cc',
199 'safe_strerror_posix.h',
[email protected]824ff722010-08-13 15:24:53200 'scoped_aedesc.h',
[email protected]ef4fa4072009-12-04 22:46:50201 'scoped_bstr_win.cc',
202 'scoped_bstr_win.h',
[email protected]21ae1f92010-07-30 23:05:15203 'scoped_callback_factory.h',
[email protected]ef4fa4072009-12-04 22:46:50204 'scoped_cftyperef.h',
205 'scoped_comptr_win.h',
206 'scoped_handle.h',
[email protected]ef4fa4072009-12-04 22:46:50207 'scoped_handle_win.h',
208 'scoped_nsautorelease_pool.h',
209 'scoped_nsautorelease_pool.mm',
210 'scoped_nsdisable_screen_updates.h',
211 'scoped_nsobject.h',
[email protected]8ceb44c2010-02-24 22:27:04212 'scoped_open_process.h',
[email protected]ef4fa4072009-12-04 22:46:50213 'scoped_ptr.h',
214 'scoped_temp_dir.cc',
215 'scoped_temp_dir.h',
216 'scoped_variant_win.cc',
217 'scoped_variant_win.h',
218 'scoped_vector.h',
[email protected]ef4fa4072009-12-04 22:46:50219 'sha1.h',
[email protected]94d557e2010-06-23 21:41:40220 'sha1_portable.cc',
221 'sha1_win.cc',
[email protected]ef4fa4072009-12-04 22:46:50222 'shared_memory.h',
223 'shared_memory_posix.cc',
224 'shared_memory_win.cc',
225 'simple_thread.cc',
226 'simple_thread.h',
227 'singleton.h',
228 'spin_wait.h',
229 'stack_container.h',
[email protected]ef4fa4072009-12-04 22:46:50230 'stl_util-inl.h',
[email protected]528c56d2010-07-30 19:28:44231 'string_number_conversions.cc',
232 'string_number_conversions.h',
[email protected]ef4fa4072009-12-04 22:46:50233 'string_piece.cc',
234 'string_piece.h',
[email protected]0477554f2010-01-21 19:29:25235 'string_split.cc',
236 'string_split.h',
[email protected]ef4fa4072009-12-04 22:46:50237 'string_tokenizer.h',
238 'string_util.cc',
239 'string_util.h',
240 'string_util_win.h',
[email protected]e6811ed52010-08-17 03:45:37241 'stringprintf.cc',
242 'stringprintf.h',
[email protected]ef4fa4072009-12-04 22:46:50243 'sys_info.h',
244 'sys_info_chromeos.cc',
245 'sys_info_freebsd.cc',
246 'sys_info_linux.cc',
247 'sys_info_mac.cc',
248 'sys_info_openbsd.cc',
249 'sys_info_posix.cc',
250 'sys_info_win.cc',
251 'sys_string_conversions.h',
252 'sys_string_conversions_linux.cc',
253 'sys_string_conversions_mac.mm',
254 'sys_string_conversions_win.cc',
[email protected]3a3d47472010-07-15 21:03:54255 'task.cc',
[email protected]ef4fa4072009-12-04 22:46:50256 'task.h',
[email protected]6fd0ca52010-08-26 06:09:38257 'task_queue.cc',
258 'task_queue.h',
[email protected]951269b2010-06-15 19:39:24259 'template_util.h',
[email protected]ef4fa4072009-12-04 22:46:50260 'thread.cc',
261 'thread.h',
[email protected]d9ddc962010-08-24 04:29:56262 'thread_checker.cc',
263 'thread_checker.h',
[email protected]ef4fa4072009-12-04 22:46:50264 'thread_collision_warner.cc',
265 'thread_collision_warner.h',
266 'thread_local.h',
267 'thread_local_posix.cc',
268 'thread_local_storage.h',
269 'thread_local_storage_posix.cc',
270 'thread_local_storage_win.cc',
271 'thread_local_win.cc',
272 'time.cc',
273 'time.h',
274 'time_win.cc',
275 'timer.cc',
276 'timer.h',
[email protected]3e569552010-05-07 20:25:49277 'trace_event_win.cc',
[email protected]ef4fa4072009-12-04 22:46:50278 'trace_event.cc',
279 'trace_event.h',
280 'tracked.cc',
281 'tracked.h',
282 'tracked_objects.cc',
283 'tracked_objects.h',
284 'tuple.h',
[email protected]9bc8cff2010-04-03 01:05:39285 'unix_domain_socket_posix.cc',
[email protected]ef4fa4072009-12-04 22:46:50286 'utf_offset_string_conversions.cc',
287 'utf_offset_string_conversions.h',
288 'utf_string_conversion_utils.cc',
289 'utf_string_conversion_utils.h',
290 'utf_string_conversions.cc',
291 'utf_string_conversions.h',
[email protected]c604a552010-03-22 20:12:50292 'values.cc',
293 'values.h',
[email protected]99b7c57f2010-09-29 19:26:36294 'vlog.cc',
295 'vlog.h',
[email protected]ef4fa4072009-12-04 22:46:50296 'waitable_event.h',
297 'waitable_event_posix.cc',
298 'waitable_event_watcher.h',
299 'waitable_event_watcher_posix.cc',
300 'waitable_event_watcher_win.cc',
301 'waitable_event_win.cc',
302 'watchdog.cc',
303 'watchdog.h',
[email protected]3a3d47472010-07-15 21:03:54304 'weak_ptr.cc',
[email protected]ef4fa4072009-12-04 22:46:50305 'weak_ptr.h',
306 'win_util.cc',
307 'win_util.h',
308 'windows_message_list.h',
[email protected]ef4fa4072009-12-04 22:46:50309 'worker_pool.h',
310 'worker_pool_linux.cc',
311 'worker_pool_linux.h',
312 'worker_pool_mac.h',
313 'worker_pool_mac.mm',
314 'worker_pool_win.cc',
[email protected]1c657852010-04-22 23:28:05315 'xdg_util.h',
316 'xdg_util.cc',
[email protected]ef4fa4072009-12-04 22:46:50317 ],
318 'include_dirs': [
319 '..',
320 ],
321 # These warnings are needed for the files in third_party\dmg_fp.
322 'msvs_disabled_warnings': [
323 4244, 4554, 4018, 4102,
324 ],
325 'mac_framework_dirs': [
326 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Frameworks',
327 ],
328 'conditions': [
[email protected]93f21e42010-04-01 00:35:15329 [ 'OS != "linux" and OS != "freebsd" and OS != "openbsd" and OS != "solaris"', {
[email protected]ef4fa4072009-12-04 22:46:50330 'sources/': [
[email protected]1c657852010-04-22 23:28:05331 ['exclude', '/xdg_[^/]*\\.cc$'],
[email protected]ef4fa4072009-12-04 22:46:50332 ],
333 'sources!': [
334 'atomicops_internals_x86_gcc.cc',
335 'base_paths_posix.cc',
[email protected]ef4fa4072009-12-04 22:46:50336 'message_pump_glib.cc',
[email protected]1c657852010-04-22 23:28:05337 'xdg_util.cc',
[email protected]ef4fa4072009-12-04 22:46:50338 ],
[email protected]bcff05a2010-04-14 01:46:43339 }],
[email protected]ef4fa4072009-12-04 22:46:50340 [ 'OS != "linux"', {
341 'sources!': [
342 # Not automatically excluded by the *linux.cc rules.
[email protected]0ea54822010-07-01 20:14:50343 'gtk_util.cc',
344 'gtk_util.h',
[email protected]1c657852010-04-22 23:28:05345 'linux_util.cc',
[email protected]ef4fa4072009-12-04 22:46:50346 'setproctitle_linux.c',
347 'setproctitle_linux.h',
348 ],
349 },
350 ],
[email protected]824ff722010-08-13 15:24:53351 [ 'OS != "mac"', {
352 'sources!': [
353 'scoped_aedesc.h'
354 ],
355 }],
[email protected]ef4fa4072009-12-04 22:46:50356 # For now, just test the *BSD platforms enough to exclude them.
357 # Subsequent changes will include them further.
358 [ 'OS != "freebsd"', {
359 'sources/': [ ['exclude', '_freebsd\\.cc$'] ],
360 },
361 ],
362 [ 'OS != "openbsd"', {
363 'sources/': [ ['exclude', '_openbsd\\.cc$'] ],
364 },
365 ],
[email protected]ef4fa4072009-12-04 22:46:50366 [ 'OS == "win"', {
367 'include_dirs': [
[email protected]cd134c8c2010-03-09 05:23:12368 '<(DEPTH)/third_party/wtl/include',
[email protected]ef4fa4072009-12-04 22:46:50369 ],
370 'sources!': [
[email protected]ef4fa4072009-12-04 22:46:50371 'event_recorder_stubs.cc',
372 'file_descriptor_shuffle.cc',
373 'message_pump_libevent.cc',
[email protected]5ac07d5b2010-06-25 21:53:41374 # Not using sha1_win.cc because it may have caused a
375 # regression to page cycler moz.
376 'sha1_win.cc',
[email protected]ef4fa4072009-12-04 22:46:50377 'string16.cc',
[email protected]3e569552010-05-07 20:25:49378 'trace_event.cc',
[email protected]ef4fa4072009-12-04 22:46:50379 ],
380 },],
381 ],
382 }],
[email protected]90f18912010-07-08 16:51:04383 ['base_extra_target==1', {
[email protected]97a28e722010-06-11 21:30:37384 'sources': [
[email protected]3bcd57902010-06-23 22:46:04385 'crypto/capi_util.cc',
386 'crypto/capi_util.h',
[email protected]97a28e722010-06-11 21:30:37387 'crypto/cssm_init.cc',
388 'crypto/cssm_init.h',
389 'crypto/encryptor.h',
390 'crypto/encryptor_mac.cc',
391 'crypto/encryptor_nss.cc',
392 'crypto/encryptor_win.cc',
393 'crypto/rsa_private_key.h',
394 'crypto/rsa_private_key.cc',
395 'crypto/rsa_private_key_mac.cc',
396 'crypto/rsa_private_key_nss.cc',
397 'crypto/rsa_private_key_win.cc',
398 'crypto/signature_creator.h',
399 'crypto/signature_creator_mac.cc',
400 'crypto/signature_creator_nss.cc',
401 'crypto/signature_creator_win.cc',
402 'crypto/signature_verifier.h',
403 'crypto/signature_verifier_mac.cc',
404 'crypto/signature_verifier_nss.cc',
405 'crypto/signature_verifier_win.cc',
406 'crypto/symmetric_key.h',
407 'crypto/symmetric_key_mac.cc',
408 'crypto/symmetric_key_nss.cc',
409 'crypto/symmetric_key_win.cc',
410 'third_party/nspr/prcpucfg.h',
411 'third_party/nspr/prcpucfg_win.h',
412 'third_party/nspr/prtypes.h',
413 'third_party/nss/blapi.h',
414 'third_party/nss/blapit.h',
415 'third_party/nss/sha256.h',
416 'third_party/nss/sha512.cc',
417 'third_party/purify/pure.h',
418 'third_party/purify/pure_api.c',
419 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc',
420 'third_party/xdg_user_dirs/xdg_user_dir_lookup.h',
421 'auto_reset.h',
422 'base64.cc',
423 'base64.h',
424 'base_drag_source.cc',
425 'base_drag_source.h',
426 'base_drop_target.cc',
427 'base_drop_target.h',
428 'data_pack.cc',
429 'event_recorder.cc',
430 'event_recorder.h',
431 'event_recorder_stubs.cc',
[email protected]97a28e722010-06-11 21:30:37432 'file_descriptor_shuffle.cc',
433 'file_descriptor_shuffle.h',
434 'hmac.h',
435 'hmac_mac.cc',
436 'hmac_nss.cc',
437 'hmac_win.cc',
438 'image_util.cc',
439 'image_util.h',
[email protected]97a28e722010-06-11 21:30:37440 'linux_util.cc',
441 'linux_util.h',
442 'md5.cc',
443 'md5.h',
444 'message_pump_glib.cc',
445 'message_pump_glib.h',
446 'message_pump_libevent.cc',
447 'message_pump_libevent.h',
448 'message_pump_mac.h',
449 'message_pump_mac.mm',
[email protected]835d7c82010-10-14 04:38:38450 'metrics/field_trial.cc',
451 'metrics/field_trial.h',
[email protected]97a28e722010-06-11 21:30:37452 'nsimage_cache_mac.h',
453 'nsimage_cache_mac.mm',
454 'nss_util.cc',
455 'nss_util.h',
456 'setproctitle_linux.c',
457 'setproctitle_linux.h',
458 'sha2.cc',
459 'sha2.h',
460 'string16.cc',
461 'string16.h',
462 'sync_socket.h',
463 'sync_socket_win.cc',
464 'sync_socket_posix.cc',
465 'time_mac.cc',
466 'time_posix.cc',
467 'version.cc',
468 'version.h',
469 ],
470 'conditions': [
[email protected]e001408d2010-07-09 03:07:58471 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', {
[email protected]97a28e722010-06-11 21:30:37472 'conditions': [
473 [ 'chromeos==1', {
474 'sources/': [ ['include', '_chromeos\\.cc$'] ]
475 },
476 ],
[email protected]97a28e722010-06-11 21:30:37477 ],
478 'defines': [
479 'USE_SYMBOLIZE',
480 ],
481 'cflags': [
482 '-Wno-write-strings',
483 ],
[email protected]e001408d2010-07-09 03:07:58484 }, { # OS != "linux" and OS != "freebsd" and OS != "openbsd" and OS != "solaris"
[email protected]90f18912010-07-08 16:51:04485 'sources/': [
486 ['exclude', '/xdg_user_dirs/'],
487 ['exclude', '_nss\.cc$'],
488 ],
489 }],
490 [ 'OS != "mac"', {
491 'sources!': [
492 'crypto/cssm_init.cc',
493 'crypto/cssm_init.h',
494 ],
495 },],
[email protected]97a28e722010-06-11 21:30:37496 [ 'OS != "win"', {
497 'sources!': [
498 'third_party/purify/pure_api.c',
499 'base_drag_source.cc',
500 'base_drop_target.cc',
501 'cpu.cc',
[email protected]3bcd57902010-06-23 22:46:04502 'crypto/capi_util.h',
503 'crypto/capi_util.cc',
[email protected]97a28e722010-06-11 21:30:37504 'debug_on_start.cc',
505 'event_recorder.cc',
506 'file_version_info.cc',
507 'iat_patch.cc',
508 'image_util.cc',
509 'object_watcher.cc',
510 'pe_image.cc',
511 'registry.cc',
512 'resource_util.cc',
513 'win_util.cc',
[email protected]97a28e722010-06-11 21:30:37514 ],
515 },],
516 ],
517 }],
[email protected]ef4fa4072009-12-04 22:46:50518 ],
519 },
520 'targets': [
521 {
522 'target_name': 'base',
523 'type': '<(library)',
524 'msvs_guid': '1832A374-8A74-4F9E-B536-69A699B3E165',
525 'variables': {
526 'base_target': 1,
[email protected]97a28e722010-06-11 21:30:37527 'base_extra_target': 1,
[email protected]ef4fa4072009-12-04 22:46:50528 },
529 'dependencies': [
530 '../third_party/modp_b64/modp_b64.gyp:modp_b64',
[email protected]b4a0b99952010-05-19 08:33:37531 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
[email protected]ef4fa4072009-12-04 22:46:50532 ],
533 # TODO(gregoryd): direct_dependent_settings should be shared with the
534 # 64-bit target, but it doesn't work due to a bug in gyp
535 'direct_dependent_settings': {
536 'include_dirs': [
537 '..',
538 ],
539 },
[email protected]ef4fa4072009-12-04 22:46:50540 'conditions': [
[email protected]66700d42010-03-10 07:46:43541 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', {
[email protected]ef4fa4072009-12-04 22:46:50542 'conditions': [
[email protected]3e0a8b82010-07-02 01:12:18543 [ 'linux_use_tcmalloc==0', {
544 'defines': [
545 'NO_TCMALLOC',
546 ],
547 'direct_dependent_settings': {
548 'defines': [
549 'NO_TCMALLOC',
550 ],
551 },
552 },
553 ],
[email protected]ef8f5ba2010-04-02 14:54:22554 [ 'linux_use_tcmalloc==1', {
555 'dependencies': [
556 'allocator/allocator.gyp:allocator',
557 ],
558 },
559 ],
[email protected]ef4fa4072009-12-04 22:46:50560 ],
561 'dependencies': [
[email protected]97a28e722010-06-11 21:30:37562 'symbolize',
[email protected]ef4fa4072009-12-04 22:46:50563 '../build/util/build_util.gyp:lastchange',
564 '../build/linux/system.gyp:gtk',
565 '../build/linux/system.gyp:nss',
[email protected]2d48004e2010-02-03 02:11:40566 'xdg_mime',
[email protected]48c27f72010-01-26 06:26:26567 ],
[email protected]ef4fa4072009-12-04 22:46:50568 'export_dependent_settings': [
569 '../build/linux/system.gyp:gtk',
570 ],
571 },],
[email protected]1d53ce12010-06-11 05:41:00572 [ 'OS == "freebsd" or OS == "openbsd"', {
[email protected]97a28e722010-06-11 21:30:37573 'link_settings': {
574 'libraries': [
575 '-L/usr/local/lib -lexecinfo',
[email protected]1d53ce12010-06-11 05:41:00576 ],
577 },
578 },
579 ],
[email protected]72d31962010-06-11 22:45:37580 [ 'OS == "linux"', {
581 'link_settings': {
582 'libraries': [
583 # We need rt for clock_gettime().
584 '-lrt',
585 # For 'native_library_linux.cc'
586 '-ldl',
587 ],
588 },
589 }],
[email protected]1d53ce12010-06-11 05:41:00590 [ 'OS == "mac"', {
[email protected]97a28e722010-06-11 21:30:37591 'link_settings': {
592 'libraries': [
593 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
594 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
595 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
596 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
597 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework',
598 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
599 ],
600 },
[email protected]1d53ce12010-06-11 05:41:00601 },],
[email protected]3dd6f5e2010-06-01 20:28:03602 [ 'OS == "mac" or OS == "win"', {
[email protected]abd4aba2010-01-27 19:36:22603 'dependencies': [
604 '../third_party/nss/nss.gyp:nss',
605 ],
[email protected]3dd6f5e2010-06-01 20:28:03606 },],
607 [ 'OS != "win"', {
[email protected]ef4fa4072009-12-04 22:46:50608 'dependencies': ['../third_party/libevent/libevent.gyp:libevent'],
[email protected]abd4aba2010-01-27 19:36:22609 },],
[email protected]ef4fa4072009-12-04 22:46:50610 ],
[email protected]ef4fa4072009-12-04 22:46:50611 },
612 ],
613 'conditions': [
614 [ 'OS == "win"', {
615 'targets': [
616 {
617 'target_name': 'base_nacl_win64',
618 'type': '<(library)',
619 'msvs_guid': 'CEE1F794-DC70-4FED-B7C4-4C12986672FE',
620 'variables': {
621 'base_target': 1,
622 },
[email protected]ee857512010-05-14 08:24:42623 'dependencies': [
[email protected]b4a0b99952010-05-19 08:33:37624 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations_win64',
[email protected]ee857512010-05-14 08:24:42625 ],
[email protected]ef4fa4072009-12-04 22:46:50626 # TODO(gregoryd): direct_dependent_settings should be shared with the
627 # 32-bit target, but it doesn't work due to a bug in gyp
628 'direct_dependent_settings': {
629 'include_dirs': [
630 '..',
631 ],
632 },
633 'defines': [
634 '<@(nacl_win64_defines)',
635 ],
636 'sources': [
637 'i18n/icu_util_nacl_win64.cc',
638 ],
639 'configurations': {
[email protected]8782f7072009-12-22 22:57:37640 'Common_Base': {
[email protected]ef4fa4072009-12-04 22:46:50641 'msvs_target_platform': 'x64',
642 },
643 },
644 },
645 ],
646 }],
[email protected]0c2583a92010-06-16 00:53:01647 [ 'OS == "linux" and internal_pdf', {
[email protected]97a28e722010-06-11 21:30:37648 'targets': [
649 {
650 'target_name': 'base_fpic',
651 'type': '<(library)',
652 'variables': {
653 'base_target': 1,
654 'base_extra_target': 1,
655 },
656 'cflags': [
657 '-fPIC',
658 ],
659 'direct_dependent_settings': {
660 'include_dirs': [
661 '..',
662 ],
663 },
664 'conditions': [
665 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', {
666 'dependencies': [
667 '../build/util/build_util.gyp:lastchange',
668 '../build/linux/system.gyp:gtk',
669 '../build/linux/system.gyp:nss',
670 'xdg_mime',
671 ],
672 'export_dependent_settings': [
673 '../build/linux/system.gyp:gtk',
674 ],
675 },],
[email protected]72d31962010-06-11 22:45:37676 ['OS == "linux"', {
677 'link_settings': {
678 'libraries': [
679 # We need rt for clock_gettime().
680 '-lrt',
681 # For 'native_library_linux.cc'
682 '-ldl',
683 ],
684 },
685 }],
[email protected]97a28e722010-06-11 21:30:37686 [ 'OS == "mac" or OS == "win"', {
687 'dependencies': [
688 '../third_party/nss/nss.gyp:nss',
689 ],
690 },],
691 [ 'OS != "win"', {
692 'dependencies': ['../third_party/libevent/libevent.gyp:libevent'],
693 },],
694 ],
695 },
696 ],
697 }],
[email protected]93f21e42010-04-01 00:35:15698 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', {
[email protected]48c27f72010-01-26 06:26:26699 'targets': [
700 {
701 'target_name': 'symbolize',
702 'type': '<(library)',
[email protected]076cf932010-02-16 19:13:36703 'variables': {
704 'chromium_code': 0,
705 },
[email protected]93f21e42010-04-01 00:35:15706 'conditions': [
707 [ 'OS == "solaris"', {
708 'include_dirs': [
709 '/usr/gnu/include',
710 '/usr/gnu/include/libelf',
711 ],
712 },],
713 ],
[email protected]48c27f72010-01-26 06:26:26714 'cflags': [
715 '-Wno-sign-compare',
716 ],
[email protected]225c8f52010-02-05 22:23:20717 'cflags!': [
718 '-Wextra',
719 ],
[email protected]48c27f72010-01-26 06:26:26720 'sources': [
721 'third_party/symbolize/symbolize.cc',
722 'third_party/symbolize/demangle.cc',
723 ],
724 },
[email protected]2d48004e2010-02-03 02:11:40725 {
726 'target_name': 'xdg_mime',
727 'type': '<(library)',
[email protected]076cf932010-02-16 19:13:36728 'variables': {
729 'chromium_code': 0,
730 },
[email protected]225c8f52010-02-05 22:23:20731 'cflags!': [
732 '-Wextra',
733 ],
[email protected]2d48004e2010-02-03 02:11:40734 'sources': [
735 'third_party/xdg_mime/xdgmime.c',
736 'third_party/xdg_mime/xdgmime.h',
737 'third_party/xdg_mime/xdgmimealias.c',
738 'third_party/xdg_mime/xdgmimealias.h',
739 'third_party/xdg_mime/xdgmimecache.c',
740 'third_party/xdg_mime/xdgmimecache.h',
741 'third_party/xdg_mime/xdgmimeglob.c',
742 'third_party/xdg_mime/xdgmimeglob.h',
743 'third_party/xdg_mime/xdgmimeicon.c',
744 'third_party/xdg_mime/xdgmimeicon.h',
745 'third_party/xdg_mime/xdgmimeint.c',
746 'third_party/xdg_mime/xdgmimeint.h',
747 'third_party/xdg_mime/xdgmimemagic.c',
748 'third_party/xdg_mime/xdgmimemagic.h',
749 'third_party/xdg_mime/xdgmimeparent.c',
750 'third_party/xdg_mime/xdgmimeparent.h',
751 ],
752 },
[email protected]48c27f72010-01-26 06:26:26753 ],
754 }],
[email protected]ef4fa4072009-12-04 22:46:50755 ],
756}