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

Side by Side Diff: base/base.gypi

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

Powered by Google App Engine
This is Rietveld 408576698