OLD | NEW |
| (Empty) |
1 # Copyright (c) 2012 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 'includes': [ | |
7 'trace_event/trace_event.gypi', | |
8 ], | |
9 'target_defaults': { | |
10 'variables': { | |
11 'base_target': 0, | |
12 'base_i18n_target': 0, | |
13 }, | |
14 'target_conditions': [ | |
15 # This part is shared between the targets defined below. | |
16 ['base_target==1', { | |
17 'sources': [ | |
18 '../build/build_config.h', | |
19 'allocator/allocator_extension.cc', | |
20 'allocator/allocator_extension.h', | |
21 'allocator/type_profiler_control.cc', | |
22 'allocator/type_profiler_control.h', | |
23 'android/animation_frame_time_histogram.cc', | |
24 'android/animation_frame_time_histogram.h', | |
25 'android/apk_assets.cc', | |
26 'android/apk_assets.h', | |
27 'android/application_status_listener.cc', | |
28 'android/application_status_listener.h', | |
29 'android/base_jni_onload.cc', | |
30 'android/base_jni_onload.h', | |
31 'android/base_jni_registrar.cc', | |
32 'android/base_jni_registrar.h', | |
33 'android/build_info.cc', | |
34 'android/build_info.h', | |
35 'android/command_line_android.cc', | |
36 'android/command_line_android.h', | |
37 'android/content_uri_utils.cc', | |
38 'android/content_uri_utils.h', | |
39 'android/cpu_features.cc', | |
40 'android/event_log.cc', | |
41 'android/event_log.h', | |
42 'android/field_trial_list.cc', | |
43 'android/field_trial_list.h', | |
44 'android/fifo_utils.cc', | |
45 'android/fifo_utils.h', | |
46 'android/important_file_writer_android.cc', | |
47 'android/important_file_writer_android.h', | |
48 'android/java_handler_thread.cc', | |
49 'android/java_handler_thread.h', | |
50 'android/java_runtime.cc', | |
51 'android/java_runtime.h', | |
52 'android/jni_android.cc', | |
53 'android/jni_android.h', | |
54 'android/jni_array.cc', | |
55 'android/jni_array.h', | |
56 'android/jni_registrar.cc', | |
57 'android/jni_registrar.h', | |
58 'android/jni_string.cc', | |
59 'android/jni_string.h', | |
60 'android/jni_utils.cc', | |
61 'android/jni_utils.h', | |
62 'android/jni_weak_ref.cc', | |
63 'android/jni_weak_ref.h', | |
64 'android/library_loader/library_load_from_apk_status_codes.h', | |
65 'android/library_loader/library_loader_hooks.cc', | |
66 'android/library_loader/library_loader_hooks.h', | |
67 'android/library_loader/library_prefetcher.cc', | |
68 'android/library_loader/library_prefetcher.h', | |
69 'android/locale_utils.cc', | |
70 'android/locale_utils.h', | |
71 'android/memory_pressure_listener_android.cc', | |
72 'android/memory_pressure_listener_android.h', | |
73 'android/path_service_android.cc', | |
74 'android/path_service_android.h', | |
75 'android/path_utils.cc', | |
76 'android/path_utils.h', | |
77 'android/record_histogram.cc', | |
78 'android/record_histogram.h', | |
79 'android/record_user_action.cc', | |
80 'android/record_user_action.h', | |
81 'android/scoped_java_ref.cc', | |
82 'android/scoped_java_ref.h', | |
83 'android/sys_utils.cc', | |
84 'android/sys_utils.h', | |
85 'android/thread_utils.h', | |
86 'android/trace_event_binding.cc', | |
87 'android/trace_event_binding.h', | |
88 'at_exit.cc', | |
89 'at_exit.h', | |
90 'atomic_ref_count.h', | |
91 'atomic_sequence_num.h', | |
92 'atomicops.h', | |
93 'atomicops_internals_gcc.h', | |
94 'atomicops_internals_mac.h', | |
95 'atomicops_internals_portable.h', | |
96 'atomicops_internals_x86_gcc.cc', | |
97 'atomicops_internals_x86_gcc.h', | |
98 'atomicops_internals_x86_msvc.h', | |
99 'barrier_closure.cc', | |
100 'barrier_closure.h', | |
101 'base64.cc', | |
102 'base64.h', | |
103 'base_export.h', | |
104 'base_paths.cc', | |
105 'base_paths.h', | |
106 'base_paths_android.cc', | |
107 'base_paths_android.h', | |
108 'base_paths_mac.h', | |
109 'base_paths_mac.mm', | |
110 'base_paths_posix.cc', | |
111 'base_paths_posix.h', | |
112 'base_paths_win.cc', | |
113 'base_paths_win.h', | |
114 'base_switches.h', | |
115 'basictypes.h', | |
116 'big_endian.cc', | |
117 'big_endian.h', | |
118 'bind.h', | |
119 'bind_helpers.cc', | |
120 'bind_helpers.h', | |
121 'bind_internal.h', | |
122 'bind_internal_win.h', | |
123 'bits.h', | |
124 'build_time.cc', | |
125 'build_time.h', | |
126 'callback.h', | |
127 'callback_helpers.cc', | |
128 'callback_helpers.h', | |
129 'callback_internal.cc', | |
130 'callback_internal.h', | |
131 'callback_list.h', | |
132 'cancelable_callback.h', | |
133 'command_line.cc', | |
134 'command_line.h', | |
135 'compiler_specific.h', | |
136 'containers/adapters.h', | |
137 'containers/hash_tables.h', | |
138 'containers/linked_list.h', | |
139 'containers/mru_cache.h', | |
140 'containers/scoped_ptr_hash_map.h', | |
141 'containers/small_map.h', | |
142 'containers/stack_container.h', | |
143 'cpu.cc', | |
144 'cpu.h', | |
145 'critical_closure.h', | |
146 'critical_closure_internal_ios.mm', | |
147 'debug/alias.cc', | |
148 'debug/alias.h', | |
149 'debug/asan_invalid_access.cc', | |
150 'debug/asan_invalid_access.h', | |
151 'debug/crash_logging.cc', | |
152 'debug/crash_logging.h', | |
153 'debug/debugger.cc', | |
154 'debug/debugger.h', | |
155 'debug/debugger_posix.cc', | |
156 'debug/debugger_win.cc', | |
157 'debug/dump_without_crashing.cc', | |
158 'debug/dump_without_crashing.h', | |
159 'debug/gdi_debug_util_win.cc', | |
160 'debug/gdi_debug_util_win.h', | |
161 # This file depends on files from the 'allocator' target, | |
162 # but this target does not depend on 'allocator' (see | |
163 # allocator.gyp for details). | |
164 'debug/leak_annotations.h', | |
165 'debug/leak_tracker.h', | |
166 'debug/proc_maps_linux.cc', | |
167 'debug/proc_maps_linux.h', | |
168 'debug/profiler.cc', | |
169 'debug/profiler.h', | |
170 'debug/stack_trace.cc', | |
171 'debug/stack_trace.h', | |
172 'debug/stack_trace_android.cc', | |
173 'debug/stack_trace_posix.cc', | |
174 'debug/stack_trace_win.cc', | |
175 'debug/task_annotator.cc', | |
176 'debug/task_annotator.h', | |
177 'deferred_sequenced_task_runner.cc', | |
178 'deferred_sequenced_task_runner.h', | |
179 'environment.cc', | |
180 'environment.h', | |
181 'file_descriptor_posix.h', | |
182 'file_version_info.h', | |
183 'file_version_info_mac.h', | |
184 'file_version_info_mac.mm', | |
185 'file_version_info_win.cc', | |
186 'file_version_info_win.h', | |
187 'files/dir_reader_fallback.h', | |
188 'files/dir_reader_linux.h', | |
189 'files/dir_reader_posix.h', | |
190 'files/file.cc', | |
191 'files/file.h', | |
192 'files/file_enumerator.cc', | |
193 'files/file_enumerator.h', | |
194 'files/file_enumerator_posix.cc', | |
195 'files/file_enumerator_win.cc', | |
196 'files/file_path.cc', | |
197 'files/file_path.h', | |
198 'files/file_path_constants.cc', | |
199 'files/file_path_watcher.cc', | |
200 'files/file_path_watcher.h', | |
201 'files/file_path_watcher_fsevents.cc', | |
202 'files/file_path_watcher_fsevents.h', | |
203 'files/file_path_watcher_kqueue.cc', | |
204 'files/file_path_watcher_kqueue.h', | |
205 'files/file_path_watcher_linux.cc', | |
206 'files/file_path_watcher_mac.cc', | |
207 'files/file_path_watcher_stub.cc', | |
208 'files/file_path_watcher_win.cc', | |
209 'files/file_posix.cc', | |
210 'files/file_proxy.cc', | |
211 'files/file_proxy.h', | |
212 'files/file_tracing.cc', | |
213 'files/file_tracing.h', | |
214 'files/file_util.cc', | |
215 'files/file_util.h', | |
216 'files/file_util_android.cc', | |
217 'files/file_util_linux.cc', | |
218 'files/file_util_mac.mm', | |
219 'files/file_util_posix.cc', | |
220 'files/file_util_proxy.cc', | |
221 'files/file_util_proxy.h', | |
222 'files/file_util_win.cc', | |
223 'files/file_win.cc', | |
224 'files/important_file_writer.cc', | |
225 'files/important_file_writer.h', | |
226 'files/memory_mapped_file.cc', | |
227 'files/memory_mapped_file.h', | |
228 'files/memory_mapped_file_posix.cc', | |
229 'files/memory_mapped_file_win.cc', | |
230 'files/scoped_file.cc', | |
231 'files/scoped_file.h', | |
232 'files/scoped_temp_dir.cc', | |
233 'files/scoped_temp_dir.h', | |
234 'format_macros.h', | |
235 'gtest_prod_util.h', | |
236 'guid.cc', | |
237 'guid.h', | |
238 'guid_posix.cc', | |
239 'guid_win.cc', | |
240 'hash.cc', | |
241 'hash.h', | |
242 'id_map.h', | |
243 'ios/block_types.h', | |
244 'ios/crb_protocol_observers.h', | |
245 'ios/crb_protocol_observers.mm', | |
246 'ios/device_util.h', | |
247 'ios/device_util.mm', | |
248 'ios/ios_util.h', | |
249 'ios/ios_util.mm', | |
250 'ios/scoped_critical_action.h', | |
251 'ios/scoped_critical_action.mm', | |
252 'ios/weak_nsobject.h', | |
253 'ios/weak_nsobject.mm', | |
254 'json/json_file_value_serializer.cc', | |
255 'json/json_file_value_serializer.h', | |
256 'json/json_parser.cc', | |
257 'json/json_parser.h', | |
258 'json/json_reader.cc', | |
259 'json/json_reader.h', | |
260 'json/json_string_value_serializer.cc', | |
261 'json/json_string_value_serializer.h', | |
262 'json/json_value_converter.cc', | |
263 'json/json_value_converter.h', | |
264 'json/json_writer.cc', | |
265 'json/json_writer.h', | |
266 'json/string_escape.cc', | |
267 'json/string_escape.h', | |
268 'lazy_instance.cc', | |
269 'lazy_instance.h', | |
270 'location.cc', | |
271 'location.h', | |
272 'logging.cc', | |
273 'logging.h', | |
274 'logging_win.cc', | |
275 'logging_win.h', | |
276 'mac/authorization_util.h', | |
277 'mac/authorization_util.mm', | |
278 'mac/bind_objc_block.h', | |
279 'mac/bundle_locations.h', | |
280 'mac/bundle_locations.mm', | |
281 'mac/close_nocancel.cc', | |
282 'mac/cocoa_protocols.h', | |
283 'mac/dispatch_source_mach.cc', | |
284 'mac/dispatch_source_mach.h', | |
285 'mac/foundation_util.h', | |
286 'mac/foundation_util.mm', | |
287 'mac/launch_services_util.cc', | |
288 'mac/launch_services_util.h', | |
289 'mac/launchd.cc', | |
290 'mac/launchd.h', | |
291 'mac/libdispatch_task_runner.cc', | |
292 'mac/libdispatch_task_runner.h', | |
293 'mac/mac_logging.cc', | |
294 'mac/mac_logging.h', | |
295 'mac/mac_util.h', | |
296 'mac/mac_util.mm', | |
297 'mac/mach_logging.cc', | |
298 'mac/mach_logging.h', | |
299 'mac/objc_property_releaser.h', | |
300 'mac/objc_property_releaser.mm', | |
301 'mac/os_crash_dumps.cc', | |
302 'mac/os_crash_dumps.h', | |
303 'mac/scoped_aedesc.h', | |
304 'mac/scoped_authorizationref.h', | |
305 'mac/scoped_block.h', | |
306 'mac/scoped_cftyperef.h', | |
307 'mac/scoped_ioobject.h', | |
308 'mac/scoped_ioplugininterface.h', | |
309 'mac/scoped_launch_data.h', | |
310 'mac/scoped_mach_port.cc', | |
311 'mac/scoped_mach_port.h', | |
312 'mac/scoped_mach_vm.cc', | |
313 'mac/scoped_mach_vm.h', | |
314 'mac/scoped_nsautorelease_pool.h', | |
315 'mac/scoped_nsautorelease_pool.mm', | |
316 'mac/scoped_nsexception_enabler.h', | |
317 'mac/scoped_nsexception_enabler.mm', | |
318 'mac/scoped_nsobject.h', | |
319 'mac/scoped_objc_class_swizzler.h', | |
320 'mac/scoped_objc_class_swizzler.mm', | |
321 'mac/scoped_sending_event.h', | |
322 'mac/scoped_sending_event.mm', | |
323 'mac/scoped_typeref.h', | |
324 'mac/sdk_forward_declarations.h', | |
325 'mac/sdk_forward_declarations.mm', | |
326 'macros.h', | |
327 'md5.cc', | |
328 'md5.h', | |
329 'memory/aligned_memory.cc', | |
330 'memory/aligned_memory.h', | |
331 'memory/discardable_memory.cc', | |
332 'memory/discardable_memory.h', | |
333 'memory/discardable_memory_allocator.cc', | |
334 'memory/discardable_memory_allocator.h', | |
335 'memory/discardable_shared_memory.cc', | |
336 'memory/discardable_shared_memory.h', | |
337 'memory/linked_ptr.h', | |
338 'memory/manual_constructor.h', | |
339 'memory/memory_pressure_listener.cc', | |
340 'memory/memory_pressure_listener.h', | |
341 'memory/memory_pressure_monitor.cc', | |
342 'memory/memory_pressure_monitor.h', | |
343 'memory/memory_pressure_monitor_chromeos.cc', | |
344 'memory/memory_pressure_monitor_chromeos.h', | |
345 'memory/memory_pressure_monitor_mac.cc', | |
346 'memory/memory_pressure_monitor_mac.h', | |
347 'memory/memory_pressure_monitor_win.cc', | |
348 'memory/memory_pressure_monitor_win.h', | |
349 'memory/raw_scoped_refptr_mismatch_checker.h', | |
350 'memory/ref_counted.cc', | |
351 'memory/ref_counted.h', | |
352 'memory/ref_counted_delete_on_message_loop.h', | |
353 'memory/ref_counted_memory.cc', | |
354 'memory/ref_counted_memory.h', | |
355 'memory/scoped_policy.h', | |
356 'memory/scoped_ptr.h', | |
357 'memory/scoped_vector.h', | |
358 'memory/shared_memory.h', | |
359 'memory/shared_memory_android.cc', | |
360 'memory/shared_memory_nacl.cc', | |
361 'memory/shared_memory_posix.cc', | |
362 'memory/shared_memory_win.cc', | |
363 'memory/singleton.cc', | |
364 'memory/singleton.h', | |
365 'memory/weak_ptr.cc', | |
366 'memory/weak_ptr.h', | |
367 'message_loop/incoming_task_queue.cc', | |
368 'message_loop/incoming_task_queue.h', | |
369 'message_loop/message_loop.cc', | |
370 'message_loop/message_loop.h', | |
371 'message_loop/message_loop_proxy.cc', | |
372 'message_loop/message_loop_proxy.h', | |
373 'message_loop/message_loop_proxy_impl.cc', | |
374 'message_loop/message_loop_proxy_impl.h', | |
375 'message_loop/message_pump.cc', | |
376 'message_loop/message_pump.h', | |
377 'message_loop/message_pump_android.cc', | |
378 'message_loop/message_pump_android.h', | |
379 'message_loop/message_pump_default.cc', | |
380 'message_loop/message_pump_default.h', | |
381 'message_loop/message_pump_win.cc', | |
382 'message_loop/message_pump_win.h', | |
383 'message_loop/timer_slack.h', | |
384 'metrics/bucket_ranges.cc', | |
385 'metrics/bucket_ranges.h', | |
386 'metrics/histogram.cc', | |
387 'metrics/histogram.h', | |
388 'metrics/histogram_base.cc', | |
389 'metrics/histogram_base.h', | |
390 'metrics/histogram_delta_serialization.cc', | |
391 'metrics/histogram_delta_serialization.h', | |
392 'metrics/histogram_flattener.h', | |
393 'metrics/histogram_macros.h', | |
394 'metrics/histogram_samples.cc', | |
395 'metrics/histogram_samples.h', | |
396 'metrics/histogram_snapshot_manager.cc', | |
397 'metrics/histogram_snapshot_manager.h', | |
398 'metrics/sample_map.cc', | |
399 'metrics/sample_map.h', | |
400 'metrics/sample_vector.cc', | |
401 'metrics/sample_vector.h', | |
402 'metrics/sparse_histogram.cc', | |
403 'metrics/sparse_histogram.h', | |
404 'metrics/statistics_recorder.cc', | |
405 'metrics/statistics_recorder.h', | |
406 'metrics/user_metrics.cc', | |
407 'metrics/user_metrics.h', | |
408 'metrics/user_metrics_action.h', | |
409 'move.h', | |
410 'native_library.h', | |
411 'native_library_ios.mm', | |
412 'native_library_mac.mm', | |
413 'native_library_posix.cc', | |
414 'native_library_win.cc', | |
415 'nix/mime_util_xdg.cc', | |
416 'nix/mime_util_xdg.h', | |
417 'nix/xdg_util.cc', | |
418 'nix/xdg_util.h', | |
419 'numerics/safe_conversions.h', | |
420 'numerics/safe_conversions_impl.h', | |
421 'numerics/safe_math.h', | |
422 'numerics/safe_math_impl.h', | |
423 'observer_list.h', | |
424 'observer_list_threadsafe.h', | |
425 'os_compat_android.cc', | |
426 'os_compat_android.h', | |
427 'os_compat_nacl.cc', | |
428 'os_compat_nacl.h', | |
429 'path_service.cc', | |
430 'path_service.h', | |
431 'pending_task.cc', | |
432 'pending_task.h', | |
433 'pickle.cc', | |
434 'pickle.h', | |
435 'port.h', | |
436 'posix/eintr_wrapper.h', | |
437 'posix/global_descriptors.cc', | |
438 'posix/global_descriptors.h', | |
439 'posix/safe_strerror.cc', | |
440 'posix/safe_strerror.h', | |
441 'posix/unix_domain_socket_linux.cc', | |
442 'posix/unix_domain_socket_linux.h', | |
443 'power_monitor/power_monitor.cc', | |
444 'power_monitor/power_monitor.h', | |
445 'power_monitor/power_monitor_device_source.cc', | |
446 'power_monitor/power_monitor_device_source.h', | |
447 'power_monitor/power_monitor_device_source_android.cc', | |
448 'power_monitor/power_monitor_device_source_android.h', | |
449 'power_monitor/power_monitor_device_source_chromeos.cc', | |
450 'power_monitor/power_monitor_device_source_ios.mm', | |
451 'power_monitor/power_monitor_device_source_mac.mm', | |
452 'power_monitor/power_monitor_device_source_posix.cc', | |
453 'power_monitor/power_monitor_device_source_win.cc', | |
454 'power_monitor/power_monitor_source.cc', | |
455 'power_monitor/power_monitor_source.h', | |
456 'power_monitor/power_observer.h', | |
457 'process/internal_linux.cc', | |
458 'process/internal_linux.h', | |
459 'process/kill.cc', | |
460 'process/kill.h', | |
461 'process/kill_mac.cc', | |
462 'process/kill_posix.cc', | |
463 'process/kill_win.cc', | |
464 'process/launch.cc', | |
465 'process/launch.h', | |
466 'process/launch_ios.cc', | |
467 'process/launch_mac.cc', | |
468 'process/launch_posix.cc', | |
469 'process/launch_win.cc', | |
470 'process/memory.cc', | |
471 'process/memory.h', | |
472 'process/memory_linux.cc', | |
473 'process/memory_mac.mm', | |
474 'process/memory_win.cc', | |
475 'process/process.h', | |
476 'process/process_handle_freebsd.cc', | |
477 'process/process_handle_linux.cc', | |
478 'process/process_handle_mac.cc', | |
479 'process/process_handle_openbsd.cc', | |
480 'process/process_handle_posix.cc', | |
481 'process/process_handle_win.cc', | |
482 'process/process_info.h', | |
483 'process/process_info_linux.cc', | |
484 'process/process_info_mac.cc', | |
485 'process/process_info_win.cc', | |
486 'process/process_iterator.cc', | |
487 'process/process_iterator.h', | |
488 'process/process_iterator_freebsd.cc', | |
489 'process/process_iterator_linux.cc', | |
490 'process/process_iterator_mac.cc', | |
491 'process/process_iterator_openbsd.cc', | |
492 'process/process_iterator_win.cc', | |
493 'process/process_linux.cc', | |
494 'process/process_mac.cc', | |
495 'process/process_metrics.cc', | |
496 'process/process_metrics.h', | |
497 'process/process_metrics_freebsd.cc', | |
498 'process/process_metrics_ios.cc', | |
499 'process/process_metrics_linux.cc', | |
500 'process/process_metrics_mac.cc', | |
501 'process/process_metrics_openbsd.cc', | |
502 'process/process_metrics_posix.cc', | |
503 'process/process_metrics_win.cc', | |
504 'process/process_posix.cc', | |
505 'process/process_win.cc', | |
506 'profiler/alternate_timer.cc', | |
507 'profiler/alternate_timer.h', | |
508 'profiler/native_stack_sampler.cc', | |
509 'profiler/native_stack_sampler.h', | |
510 'profiler/scoped_profile.cc', | |
511 'profiler/scoped_profile.h', | |
512 'profiler/scoped_tracker.cc', | |
513 'profiler/scoped_tracker.h', | |
514 'profiler/stack_sampling_profiler.cc', | |
515 'profiler/stack_sampling_profiler.h', | |
516 'profiler/stack_sampling_profiler_posix.cc', | |
517 'profiler/stack_sampling_profiler_win.cc', | |
518 'profiler/tracked_time.cc', | |
519 'profiler/tracked_time.h', | |
520 'rand_util.cc', | |
521 'rand_util.h', | |
522 'rand_util_nacl.cc', | |
523 'rand_util_posix.cc', | |
524 'rand_util_win.cc', | |
525 'run_loop.cc', | |
526 'run_loop.h', | |
527 'scoped_generic.h', | |
528 'scoped_native_library.cc', | |
529 'scoped_native_library.h', | |
530 'scoped_observer.h', | |
531 'sequence_checker.h', | |
532 'sequence_checker_impl.cc', | |
533 'sequence_checker_impl.h', | |
534 'sequenced_task_runner.cc', | |
535 'sequenced_task_runner.h', | |
536 'sequenced_task_runner_helpers.h', | |
537 'sha1.h', | |
538 'sha1_portable.cc', | |
539 'sha1_win.cc', | |
540 'single_thread_task_runner.h', | |
541 'stl_util.h', | |
542 'strings/latin1_string_conversions.cc', | |
543 'strings/latin1_string_conversions.h', | |
544 'strings/nullable_string16.cc', | |
545 'strings/nullable_string16.h', | |
546 'strings/safe_sprintf.cc', | |
547 'strings/safe_sprintf.h', | |
548 'strings/string16.cc', | |
549 'strings/string16.h', | |
550 'strings/string_number_conversions.cc', | |
551 'strings/string_number_conversions.h', | |
552 'strings/string_piece.cc', | |
553 'strings/string_piece.h', | |
554 'strings/string_split.cc', | |
555 'strings/string_split.h', | |
556 'strings/string_tokenizer.h', | |
557 'strings/string_util.cc', | |
558 'strings/string_util.h', | |
559 'strings/string_util_constants.cc', | |
560 'strings/string_util_posix.h', | |
561 'strings/string_util_win.h', | |
562 'strings/stringize_macros.h', | |
563 'strings/stringprintf.cc', | |
564 'strings/stringprintf.h', | |
565 'strings/sys_string_conversions.h', | |
566 'strings/sys_string_conversions_mac.mm', | |
567 'strings/sys_string_conversions_posix.cc', | |
568 'strings/sys_string_conversions_win.cc', | |
569 'strings/utf_offset_string_conversions.cc', | |
570 'strings/utf_offset_string_conversions.h', | |
571 'strings/utf_string_conversion_utils.cc', | |
572 'strings/utf_string_conversion_utils.h', | |
573 'strings/utf_string_conversions.cc', | |
574 'strings/utf_string_conversions.h', | |
575 'supports_user_data.cc', | |
576 'supports_user_data.h', | |
577 'synchronization/cancellation_flag.cc', | |
578 'synchronization/cancellation_flag.h', | |
579 'synchronization/condition_variable.h', | |
580 'synchronization/condition_variable_posix.cc', | |
581 'synchronization/condition_variable_win.cc', | |
582 'synchronization/lock.cc', | |
583 'synchronization/lock.h', | |
584 'synchronization/lock_impl.h', | |
585 'synchronization/lock_impl_posix.cc', | |
586 'synchronization/lock_impl_win.cc', | |
587 'synchronization/spin_wait.h', | |
588 'synchronization/waitable_event.h', | |
589 'synchronization/waitable_event_posix.cc', | |
590 'synchronization/waitable_event_watcher.h', | |
591 'synchronization/waitable_event_watcher_posix.cc', | |
592 'synchronization/waitable_event_watcher_win.cc', | |
593 'synchronization/waitable_event_win.cc', | |
594 'sys_byteorder.h', | |
595 'sys_info.cc', | |
596 'sys_info.h', | |
597 'sys_info_android.cc', | |
598 'sys_info_chromeos.cc', | |
599 'sys_info_freebsd.cc', | |
600 'sys_info_internal.h', | |
601 'sys_info_ios.mm', | |
602 'sys_info_linux.cc', | |
603 'sys_info_mac.cc', | |
604 'sys_info_openbsd.cc', | |
605 'sys_info_posix.cc', | |
606 'sys_info_win.cc', | |
607 'system_monitor/system_monitor.cc', | |
608 'system_monitor/system_monitor.h', | |
609 'task/cancelable_task_tracker.cc', | |
610 'task/cancelable_task_tracker.h', | |
611 'task_runner.cc', | |
612 'task_runner.h', | |
613 'task_runner_util.h', | |
614 'template_util.h', | |
615 'third_party/dmg_fp/dmg_fp.h', | |
616 'third_party/dmg_fp/dtoa_wrapper.cc', | |
617 'third_party/dmg_fp/g_fmt.cc', | |
618 'third_party/icu/icu_utf.cc', | |
619 'third_party/icu/icu_utf.h', | |
620 'third_party/nspr/prtime.cc', | |
621 'third_party/nspr/prtime.h', | |
622 'third_party/superfasthash/superfasthash.c', | |
623 'third_party/xdg_mime/xdgmime.h', | |
624 'thread_task_runner_handle.cc', | |
625 'thread_task_runner_handle.h', | |
626 'threading/non_thread_safe.h', | |
627 'threading/non_thread_safe_impl.cc', | |
628 'threading/non_thread_safe_impl.h', | |
629 'threading/platform_thread.h', | |
630 'threading/platform_thread_android.cc', | |
631 'threading/platform_thread_internal_posix.cc', | |
632 'threading/platform_thread_internal_posix.h', | |
633 'threading/platform_thread_linux.cc', | |
634 'threading/platform_thread_mac.mm', | |
635 'threading/platform_thread_posix.cc', | |
636 'threading/platform_thread_win.cc', | |
637 'threading/post_task_and_reply_impl.cc', | |
638 'threading/post_task_and_reply_impl.h', | |
639 'threading/sequenced_worker_pool.cc', | |
640 'threading/sequenced_worker_pool.h', | |
641 'threading/simple_thread.cc', | |
642 'threading/simple_thread.h', | |
643 'threading/thread.cc', | |
644 'threading/thread.h', | |
645 'threading/thread_checker.h', | |
646 'threading/thread_checker_impl.cc', | |
647 'threading/thread_checker_impl.h', | |
648 'threading/thread_collision_warner.cc', | |
649 'threading/thread_collision_warner.h', | |
650 'threading/thread_id_name_manager.cc', | |
651 'threading/thread_id_name_manager.h', | |
652 'threading/thread_local.h', | |
653 'threading/thread_local_android.cc', | |
654 'threading/thread_local_posix.cc', | |
655 'threading/thread_local_storage.cc', | |
656 'threading/thread_local_storage.h', | |
657 'threading/thread_local_storage_posix.cc', | |
658 'threading/thread_local_storage_win.cc', | |
659 'threading/thread_local_win.cc', | |
660 'threading/thread_restrictions.cc', | |
661 'threading/thread_restrictions.h', | |
662 'threading/watchdog.cc', | |
663 'threading/watchdog.h', | |
664 'threading/worker_pool.cc', | |
665 'threading/worker_pool.h', | |
666 'threading/worker_pool_posix.cc', | |
667 'threading/worker_pool_posix.h', | |
668 'threading/worker_pool_win.cc', | |
669 'time/clock.cc', | |
670 'time/clock.h', | |
671 'time/default_clock.cc', | |
672 'time/default_clock.h', | |
673 'time/default_tick_clock.cc', | |
674 'time/default_tick_clock.h', | |
675 'time/tick_clock.cc', | |
676 'time/tick_clock.h', | |
677 'time/time.cc', | |
678 'time/time.h', | |
679 'time/time_mac.cc', | |
680 'time/time_posix.cc', | |
681 'time/time_win.cc', | |
682 'timer/elapsed_timer.cc', | |
683 'timer/elapsed_timer.h', | |
684 'timer/hi_res_timer_manager.h', | |
685 'timer/hi_res_timer_manager_posix.cc', | |
686 'timer/hi_res_timer_manager_win.cc', | |
687 'timer/mock_timer.cc', | |
688 'timer/mock_timer.h', | |
689 'timer/timer.cc', | |
690 'timer/timer.h', | |
691 'tracked_objects.cc', | |
692 'tracked_objects.h', | |
693 'tracking_info.cc', | |
694 'tracking_info.h', | |
695 'tuple.h', | |
696 'value_conversions.cc', | |
697 'value_conversions.h', | |
698 'values.cc', | |
699 'values.h', | |
700 'version.cc', | |
701 'version.h', | |
702 'vlog.cc', | |
703 'vlog.h', | |
704 'win/enum_variant.cc', | |
705 'win/enum_variant.h', | |
706 'win/event_trace_consumer.h', | |
707 'win/event_trace_controller.cc', | |
708 'win/event_trace_controller.h', | |
709 'win/event_trace_provider.cc', | |
710 'win/event_trace_provider.h', | |
711 'win/i18n.cc', | |
712 'win/i18n.h', | |
713 'win/iat_patch_function.cc', | |
714 'win/iat_patch_function.h', | |
715 'win/iunknown_impl.cc', | |
716 'win/iunknown_impl.h', | |
717 'win/message_window.cc', | |
718 'win/message_window.h', | |
719 'win/metro.cc', | |
720 'win/metro.h', | |
721 'win/object_watcher.cc', | |
722 'win/object_watcher.h', | |
723 'win/registry.cc', | |
724 'win/registry.h', | |
725 'win/resource_util.cc', | |
726 'win/resource_util.h', | |
727 'win/scoped_bstr.cc', | |
728 'win/scoped_bstr.h', | |
729 'win/scoped_co_mem.h', | |
730 'win/scoped_com_initializer.h', | |
731 'win/scoped_comptr.h', | |
732 'win/scoped_gdi_object.h', | |
733 'win/scoped_handle.cc', | |
734 'win/scoped_handle.h', | |
735 'win/scoped_hdc.h', | |
736 'win/scoped_hglobal.h', | |
737 'win/scoped_process_information.cc', | |
738 'win/scoped_process_information.h', | |
739 'win/scoped_propvariant.h', | |
740 'win/scoped_select_object.h', | |
741 'win/scoped_variant.cc', | |
742 'win/scoped_variant.h', | |
743 'win/shortcut.cc', | |
744 'win/shortcut.h', | |
745 'win/startup_information.cc', | |
746 'win/startup_information.h', | |
747 'win/win_util.cc', | |
748 'win/win_util.h', | |
749 'win/windows_version.cc', | |
750 'win/windows_version.h', | |
751 'win/wrapped_window_proc.cc', | |
752 'win/wrapped_window_proc.h', | |
753 '<@(trace_event_sources)', | |
754 ], | |
755 'defines': [ | |
756 'BASE_IMPLEMENTATION', | |
757 ], | |
758 'include_dirs': [ | |
759 '..', | |
760 ], | |
761 'msvs_disabled_warnings': [ | |
762 4018, | |
763 ], | |
764 'target_conditions': [ | |
765 ['(<(desktop_linux) == 0 and <(chromeos) == 0) or >(nacl_untrusted_bui
ld)==1', { | |
766 'sources/': [ | |
767 ['exclude', '^nix/'], | |
768 ], | |
769 'sources!': [ | |
770 'atomicops_internals_x86_gcc.cc', | |
771 ], | |
772 }], | |
773 ['<(use_glib)==0 or >(nacl_untrusted_build)==1', { | |
774 'sources!': [ | |
775 'message_loop/message_pump_glib.cc', | |
776 ], | |
777 }], | |
778 ['(OS != "linux" and <(os_bsd) != 1 and OS != "android") or >(nacl_unt
rusted_build)==1', { | |
779 'sources!': [ | |
780 # Not automatically excluded by the *linux.cc rules. | |
781 'linux_util.cc', | |
782 ], | |
783 }, | |
784 ], | |
785 ['>(nacl_untrusted_build)==1', { | |
786 'sources!': [ | |
787 'allocator/type_profiler_control.cc', | |
788 'allocator/type_profiler_control.h', | |
789 'base_paths.cc', | |
790 'cpu.cc', | |
791 'debug/stack_trace.cc', | |
792 'debug/stack_trace_posix.cc', | |
793 'files/file_enumerator_posix.cc', | |
794 'files/file_path_watcher_fsevents.cc', | |
795 'files/file_path_watcher_fsevents.h', | |
796 'files/file_path_watcher_kqueue.cc', | |
797 'files/file_path_watcher_kqueue.h', | |
798 'files/file_proxy.cc', | |
799 'files/file_util.cc', | |
800 'files/file_util_posix.cc', | |
801 'files/file_util_proxy.cc', | |
802 'files/important_file_writer.cc', | |
803 'files/scoped_temp_dir.cc', | |
804 'memory/shared_memory_posix.cc', | |
805 'native_library_posix.cc', | |
806 'path_service.cc', | |
807 'posix/unix_domain_socket_linux.cc', | |
808 'process/kill.cc', | |
809 'process/kill_posix.cc', | |
810 'process/launch.cc', | |
811 'process/launch_posix.cc', | |
812 'process/process_metrics.cc', | |
813 'process/process_metrics_posix.cc', | |
814 'process/process_posix.cc', | |
815 'rand_util_posix.cc', | |
816 'scoped_native_library.cc', | |
817 'sys_info.cc', | |
818 'sys_info_posix.cc', | |
819 'third_party/dynamic_annotations/dynamic_annotations.c', | |
820 ], | |
821 'sources/': [ | |
822 ['include', '^threading/platform_thread_linux\\.cc$'], | |
823 ], | |
824 }], | |
825 ['OS == "android" and >(nacl_untrusted_build)==0', { | |
826 'sources!': [ | |
827 'base_paths_posix.cc', | |
828 'files/file_path_watcher_fsevents.cc', | |
829 'files/file_path_watcher_fsevents.h', | |
830 'files/file_path_watcher_kqueue.cc', | |
831 'files/file_path_watcher_kqueue.h', | |
832 'files/file_path_watcher_stub.cc', | |
833 'power_monitor/power_monitor_device_source_posix.cc', | |
834 ], | |
835 'sources/': [ | |
836 ['include', '^debug/proc_maps_linux\\.cc$'], | |
837 ['include', '^files/file_path_watcher_linux\\.cc$'], | |
838 ['include', '^process/memory_linux\\.cc$'], | |
839 ['include', '^process/internal_linux\\.cc$'], | |
840 ['include', '^process/process_handle_linux\\.cc$'], | |
841 ['include', '^process/process_iterator\\.cc$'], | |
842 ['include', '^process/process_iterator_linux\\.cc$'], | |
843 ['include', '^process/process_metrics_linux\\.cc$'], | |
844 ['include', '^posix/unix_domain_socket_linux\\.cc$'], | |
845 ['include', '^strings/sys_string_conversions_posix\\.cc$'], | |
846 ['include', '^sys_info_linux\\.cc$'], | |
847 ['include', '^worker_pool_linux\\.cc$'], | |
848 ], | |
849 }], | |
850 ['OS == "android" and _toolset == "host" and host_os == "linux"', { | |
851 'defines': [ | |
852 'OS_ANDROID_HOST=Linux', | |
853 ], | |
854 'sources/': [ | |
855 # Pull in specific files for host builds. | |
856 ['include', '^atomicops_internals_x86_gcc\\.cc$'], | |
857 ['include', '^threading/platform_thread_linux\\.cc$'], | |
858 ], | |
859 }], | |
860 ['<(chromeos) == 1', { | |
861 'sources!': [ | |
862 'power_monitor/power_monitor_device_source_posix.cc', | |
863 ], | |
864 }], | |
865 ['OS == "ios" and _toolset != "host"', { | |
866 'sources/': [ | |
867 # Pull in specific Mac files for iOS (which have been filtered out | |
868 # by file name rules). | |
869 ['include', '^atomicops_internals_mac\\.'], | |
870 ['include', '^base_paths_mac\\.'], | |
871 ['include', '^files/file_util_mac\\.'], | |
872 ['include', '^file_version_info_mac\\.'], | |
873 ['include', '^mac/bundle_locations\\.'], | |
874 ['include', '^mac/foundation_util\\.'], | |
875 ['include', '^mac/mac_logging\\.'], | |
876 ['include', '^mac/mach_logging\\.'], | |
877 ['include', '^mac/objc_property_releaser\\.'], | |
878 ['include', '^mac/scoped_mach_port\\.'], | |
879 ['include', '^mac/scoped_mach_vm\\.'], | |
880 ['include', '^mac/scoped_nsautorelease_pool\\.'], | |
881 ['include', '^mac/scoped_nsobject\\.'], | |
882 ['include', '^mac/scoped_objc_class_swizzler\\.'], | |
883 ['include', '^message_loop/message_pump_mac\\.'], | |
884 ['include', '^strings/sys_string_conversions_mac\\.'], | |
885 ['include', '^threading/platform_thread_mac\\.'], | |
886 ['include', '^time/time_mac\\.'], | |
887 ['include', '^worker_pool_mac\\.'], | |
888 # Exclude all process/ except the minimal implementation | |
889 # needed on iOS (mostly for unit tests). | |
890 ['exclude', '^process/.*'], | |
891 ['include', '^process/.*_ios\.(cc|mm)$'], | |
892 ['include', '^process/memory_stubs\.cc$'], | |
893 ['include', '^process/process_handle_posix\.cc$'], | |
894 ['include', '^process/process_metrics\\.cc$'], | |
895 ['exclude', '^threading/platform_thread_internal_posix\\.(h|cc)'], | |
896 ['exclude', 'files/file_path_watcher_fsevents.cc'], | |
897 ['exclude', 'files/file_path_watcher_fsevents.h'], | |
898 ['include', 'files/file_path_watcher_mac.cc'], | |
899 ], | |
900 'sources': [ | |
901 'process/memory_stubs.cc', | |
902 ], | |
903 'sources!': [ | |
904 'message_loop/message_pump_libevent.cc' | |
905 ], | |
906 }], | |
907 ['OS == "ios" and _toolset == "host"', { | |
908 'sources/': [ | |
909 # Copied filename_rules to switch from iOS to Mac inclusions. | |
910 ['include', '_(cocoa|mac)(_unittest)?\\.(h|cc|mm?)$'], | |
911 ['include', '(^|/)(cocoa|mac)/'], | |
912 ['exclude', '_ios(_unittest)?\\.(h|cc|mm?)$'], | |
913 ['exclude', '(^|/)ios/'], | |
914 ['exclude', 'files/file_path_watcher_fsevents.cc'], | |
915 ['exclude', 'files/file_path_watcher_fsevents.h'], | |
916 ['include', 'files/file_path_watcher_mac.cc'], | |
917 ] | |
918 }], | |
919 # For now, just test the *BSD platforms enough to exclude them. | |
920 # Subsequent changes will include them further. | |
921 ['OS != "freebsd" or >(nacl_untrusted_build)==1', { | |
922 'sources/': [ ['exclude', '_freebsd\\.cc$'] ], | |
923 }, | |
924 ], | |
925 ['OS != "openbsd" or >(nacl_untrusted_build)==1', { | |
926 'sources/': [ ['exclude', '_openbsd\\.cc$'] ], | |
927 }, | |
928 ], | |
929 ['OS == "win" and >(nacl_untrusted_build)==0', { | |
930 'include_dirs': [ | |
931 '<(DEPTH)/third_party/wtl/include', | |
932 ], | |
933 'sources!': [ | |
934 'files/file_path_watcher_fsevents.cc', | |
935 'files/file_path_watcher_fsevents.h', | |
936 'files/file_path_watcher_kqueue.cc', | |
937 'files/file_path_watcher_kqueue.h', | |
938 'files/file_path_watcher_stub.cc', | |
939 'message_loop/message_pump_libevent.cc', | |
940 'posix/file_descriptor_shuffle.cc', | |
941 # Not using sha1_win.cc because it may have caused a | |
942 # regression to page cycler moz. | |
943 'sha1_win.cc', | |
944 'strings/string16.cc', | |
945 ], | |
946 },], | |
947 ['<(use_ozone) == 1', { | |
948 'sources!': [ | |
949 'message_loop/message_pump_glib.cc', | |
950 ] | |
951 }], | |
952 ['OS == "linux" and >(nacl_untrusted_build)==0', { | |
953 'sources!': [ | |
954 'files/file_path_watcher_fsevents.cc', | |
955 'files/file_path_watcher_fsevents.h', | |
956 'files/file_path_watcher_kqueue.cc', | |
957 'files/file_path_watcher_kqueue.h', | |
958 'files/file_path_watcher_stub.cc', | |
959 ], | |
960 }], | |
961 ['(OS == "mac" or OS == "ios") and >(nacl_untrusted_build)==0', { | |
962 'sources/': [ | |
963 ['exclude', '^base_paths_posix\\.cc$'], | |
964 ['exclude', '^files/file_path_watcher_stub\\.cc$'], | |
965 ['exclude', '^native_library_posix\\.cc$'], | |
966 ['exclude', '^strings/sys_string_conversions_posix\\.cc$'], | |
967 ['exclude', '^threading/platform_thread_internal_posix\\.cc$'], | |
968 ], | |
969 }], | |
970 ['<(os_bsd)==1 and >(nacl_untrusted_build)==0', { | |
971 'sources': [ | |
972 'process/memory_stubs.cc', | |
973 ], | |
974 'sources/': [ | |
975 ['exclude', '^files/file_path_watcher_linux\\.cc$'], | |
976 ['exclude', '^files/file_path_watcher_stub\\.cc$'], | |
977 ['exclude', '^files/file_util_linux\\.cc$'], | |
978 ['exclude', '^process/process_linux\\.cc$'], | |
979 ['exclude', '^sys_info_linux\\.cc$'], | |
980 ], | |
981 }], | |
982 # Remove all unnecessary files for build_nexe.py to avoid exceeding | |
983 # command-line-string limitation when building NaCl on Windows. | |
984 ['OS == "win" and >(nacl_untrusted_build)==1', { | |
985 'sources/': [ ['exclude', '\\.h$'] ], | |
986 }], | |
987 # Enable more direct string conversions on platforms with native utf8 | |
988 # strings | |
989 ['OS=="mac" or OS=="ios" or <(chromeos)==1 or <(chromecast)==1', { | |
990 'defines': ['SYSTEM_NATIVE_UTF8'], | |
991 }], | |
992 ], | |
993 }], | |
994 ['base_i18n_target==1', { | |
995 'defines': [ | |
996 'BASE_I18N_IMPLEMENTATION', | |
997 ], | |
998 'sources': [ | |
999 'i18n/base_i18n_export.h', | |
1000 'i18n/bidi_line_iterator.cc', | |
1001 'i18n/bidi_line_iterator.h', | |
1002 'i18n/break_iterator.cc', | |
1003 'i18n/break_iterator.h', | |
1004 'i18n/case_conversion.cc', | |
1005 'i18n/case_conversion.h', | |
1006 'i18n/char_iterator.cc', | |
1007 'i18n/char_iterator.h', | |
1008 'i18n/file_util_icu.cc', | |
1009 'i18n/file_util_icu.h', | |
1010 'i18n/i18n_constants.cc', | |
1011 'i18n/i18n_constants.h', | |
1012 'i18n/icu_encoding_detection.cc', | |
1013 'i18n/icu_encoding_detection.h', | |
1014 'i18n/icu_string_conversions.cc', | |
1015 'i18n/icu_string_conversions.h', | |
1016 'i18n/icu_util.cc', | |
1017 'i18n/icu_util.h', | |
1018 'i18n/number_formatting.cc', | |
1019 'i18n/number_formatting.h', | |
1020 'i18n/rtl.cc', | |
1021 'i18n/rtl.h', | |
1022 'i18n/streaming_utf8_validator.cc', | |
1023 'i18n/streaming_utf8_validator.h', | |
1024 'i18n/string_compare.cc', | |
1025 'i18n/string_compare.h', | |
1026 'i18n/string_search.cc', | |
1027 'i18n/string_search.h', | |
1028 'i18n/time_formatting.cc', | |
1029 'i18n/time_formatting.h', | |
1030 'i18n/timezone.cc', | |
1031 'i18n/timezone.h', | |
1032 'i18n/utf8_validator_tables.cc', | |
1033 'i18n/utf8_validator_tables.h', | |
1034 ], | |
1035 }] | |
1036 ], | |
1037 }, | |
1038 } | |
OLD | NEW |