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

Side by Side Diff: tools/gn/secondary/base/BUILD.gn

Issue 21114002: Add initial prototype for the GN meta-buildsystem. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add owners and readme Created 7 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « tools/gn/scope_per_file_provider.cc ('k') | tools/gn/secondary/base/allocator/BUILD.gn » ('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 # found in the LICENSE file.
2
3 component("base") {
4 sources = [
5 "../build/build_config.h",
6 "third_party/dmg_fp/dmg_fp.h",
7 "third_party/dmg_fp/g_fmt.cc",
8 "third_party/dmg_fp/dtoa_wrapper.cc",
9 "third_party/icu/icu_utf.cc",
10 "third_party/icu/icu_utf.h",
11 "third_party/nspr/prcpucfg.h",
12 "third_party/nspr/prcpucfg_freebsd.h",
13 "third_party/nspr/prcpucfg_linux.h",
14 "third_party/nspr/prcpucfg_mac.h",
15 "third_party/nspr/prcpucfg_nacl.h",
16 "third_party/nspr/prcpucfg_openbsd.h",
17 "third_party/nspr/prcpucfg_solaris.h",
18 "third_party/nspr/prcpucfg_win.h",
19 "third_party/nspr/prtime.cc",
20 "third_party/nspr/prtime.h",
21 "third_party/nspr/prtypes.h",
22 "third_party/xdg_mime/xdgmime.h",
23 "allocator/allocator_extension.cc",
24 "allocator/allocator_extension.h",
25 "allocator/type_profiler_control.cc",
26 "allocator/type_profiler_control.h",
27 "android/activity_status.cc",
28 "android/activity_status.h",
29 "android/base_jni_registrar.cc",
30 "android/base_jni_registrar.h",
31 "android/build_info.cc",
32 "android/build_info.h",
33 "android/cpu_features.cc",
34 "android/fifo_utils.cc",
35 "android/fifo_utils.h",
36 "android/important_file_writer_android.cc",
37 "android/important_file_writer_android.h",
38 "android/scoped_java_ref.cc",
39 "android/scoped_java_ref.h",
40 "android/jni_android.cc",
41 "android/jni_android.h",
42 "android/jni_array.cc",
43 "android/jni_array.h",
44 "android/jni_helper.cc",
45 "android/jni_helper.h",
46 "android/jni_registrar.cc",
47 "android/jni_registrar.h",
48 "android/jni_string.cc",
49 "android/jni_string.h",
50 "android/memory_pressure_listener_android.cc",
51 "android/memory_pressure_listener_android.h",
52 "android/path_service_android.cc",
53 "android/path_service_android.h",
54 "android/path_utils.cc",
55 "android/path_utils.h",
56 "android/sys_utils.cc",
57 "android/sys_utils.h",
58 "android/thread_utils.h",
59 "at_exit.cc",
60 "at_exit.h",
61 "atomic_ref_count.h",
62 "atomic_sequence_num.h",
63 "atomicops.h",
64 "atomicops_internals_gcc.h",
65 "atomicops_internals_mac.h",
66 "atomicops_internals_tsan.h",
67 "atomicops_internals_x86_gcc.cc",
68 "atomicops_internals_x86_gcc.h",
69 "atomicops_internals_x86_msvc.h",
70 "base_export.h",
71 "base_paths.cc",
72 "base_paths.h",
73 "base_paths_android.cc",
74 "base_paths_android.h",
75 "base_paths_mac.h",
76 "base_paths_mac.mm",
77 "base_paths_posix.cc",
78 "base_paths_posix.h",
79 "base_paths_win.cc",
80 "base_paths_win.h",
81 "base_switches.h",
82 "base64.cc",
83 "base64.h",
84 "basictypes.h",
85 "bind.h",
86 "bind_helpers.cc",
87 "bind_helpers.h",
88 "bind_internal.h",
89 "bind_internal_win.h",
90 "bits.h",
91 "build_time.cc",
92 "build_time.h",
93 "callback.h",
94 "callback_helpers.h",
95 "callback_internal.cc",
96 "callback_internal.h",
97 "cancelable_callback.h",
98 "chromeos/chromeos_version.cc",
99 "chromeos/chromeos_version.h",
100 "command_line.cc",
101 "command_line.h",
102 "compiler_specific.h",
103 "containers/hash_tables.h",
104 "containers/linked_list.h",
105 "containers/mru_cache.h",
106 "containers/small_map.h",
107 "containers/stack_container.h",
108 "cpu.cc",
109 "cpu.h",
110 "critical_closure.h",
111 "critical_closure_ios.mm",
112 "debug/alias.cc",
113 "debug/alias.h",
114 "debug/crash_logging.cc",
115 "debug/crash_logging.h",
116 "debug/debug_on_start_win.cc",
117 "debug/debug_on_start_win.h",
118 "debug/debugger.cc",
119 "debug/debugger.h",
120 "debug/debugger_posix.cc",
121 "debug/debugger_win.cc",
122 # This file depends on files from the "allocator" target,
123 # but this target does not depend on "allocator" (see
124 # allocator.gyp for details).
125 "debug/leak_annotations.h",
126 "debug/leak_tracker.h",
127 "debug/proc_maps_linux.cc",
128 "debug/proc_maps_linux.h",
129 "debug/profiler.cc",
130 "debug/profiler.h",
131 "debug/stack_trace.cc",
132 "debug/stack_trace.h",
133 "debug/stack_trace_android.cc",
134 "debug/stack_trace_ios.mm",
135 "debug/stack_trace_posix.cc",
136 "debug/stack_trace_win.cc",
137 "debug/trace_event.h",
138 "debug/trace_event_android.cc",
139 "debug/trace_event_impl.cc",
140 "debug/trace_event_impl.h",
141 "debug/trace_event_impl_constants.cc",
142 "debug/trace_event_win.cc",
143 "deferred_sequenced_task_runner.cc",
144 "deferred_sequenced_task_runner.h",
145 "environment.cc",
146 "environment.h",
147 "file_descriptor_posix.h",
148 "file_util.cc",
149 "file_util.h",
150 "file_util_android.cc",
151 "file_util_linux.cc",
152 "file_util_mac.mm",
153 "file_util_posix.cc",
154 "file_util_win.cc",
155 "file_version_info.h",
156 "file_version_info_mac.h",
157 "file_version_info_mac.mm",
158 "file_version_info_win.cc",
159 "file_version_info_win.h",
160 "files/dir_reader_fallback.h",
161 "files/dir_reader_linux.h",
162 "files/dir_reader_posix.h",
163 "files/file_enumerator.cc",
164 "files/file_enumerator.h",
165 "files/file_enumerator_posix.cc",
166 "files/file_enumerator_win.cc",
167 "files/file_path.cc",
168 "files/file_path.h",
169 "files/file_path_constants.cc",
170 "files/file_path_watcher.cc",
171 "files/file_path_watcher.h",
172 "files/file_path_watcher_kqueue.cc",
173 "files/file_path_watcher_linux.cc",
174 "files/file_path_watcher_stub.cc",
175 "files/file_path_watcher_win.cc",
176 "files/file_util_proxy.cc",
177 "files/file_util_proxy.h",
178 "files/important_file_writer.h",
179 "files/important_file_writer.cc",
180 "files/memory_mapped_file.cc",
181 "files/memory_mapped_file.h",
182 "files/memory_mapped_file_posix.cc",
183 "files/memory_mapped_file_win.cc",
184 "files/scoped_temp_dir.cc",
185 "files/scoped_temp_dir.h",
186 "float_util.h",
187 "format_macros.h",
188 "gtest_prod_util.h",
189 "guid.cc",
190 "guid.h",
191 "guid_posix.cc",
192 "guid_win.cc",
193 "hash.cc",
194 "hash.h",
195 "id_map.h",
196 "ini_parser.cc",
197 "ini_parser.h",
198 "ios/device_util.h",
199 "ios/device_util.mm",
200 "ios/ios_util.h",
201 "ios/ios_util.mm",
202 "ios/scoped_critical_action.h",
203 "ios/scoped_critical_action.mm",
204 "json/json_file_value_serializer.cc",
205 "json/json_file_value_serializer.h",
206 "json/json_parser.cc",
207 "json/json_parser.h",
208 "json/json_reader.cc",
209 "json/json_reader.h",
210 "json/json_string_value_serializer.cc",
211 "json/json_string_value_serializer.h",
212 "json/json_value_converter.h",
213 "json/json_writer.cc",
214 "json/json_writer.h",
215 "json/string_escape.cc",
216 "json/string_escape.h",
217 "lazy_instance.cc",
218 "lazy_instance.h",
219 "location.cc",
220 "location.h",
221 "logging.cc",
222 "logging.h",
223 "logging_win.cc",
224 "logging_win.h",
225 "mac/authorization_util.h",
226 "mac/authorization_util.mm",
227 "mac/bind_objc_block.h",
228 "mac/bundle_locations.h",
229 "mac/bundle_locations.mm",
230 "mac/cocoa_protocols.h",
231 "mac/foundation_util.h",
232 "mac/foundation_util.mm",
233 "mac/launch_services_util.cc",
234 "mac/launch_services_util.h",
235 "mac/launchd.cc",
236 "mac/launchd.h",
237 "mac/libdispatch_task_runner.cc",
238 "mac/libdispatch_task_runner.h",
239 "mac/mac_logging.h",
240 "mac/mac_logging.cc",
241 "mac/mac_util.h",
242 "mac/mac_util.mm",
243 "mac/objc_property_releaser.h",
244 "mac/objc_property_releaser.mm",
245 "mac/os_crash_dumps.cc",
246 "mac/os_crash_dumps.h",
247 "mac/scoped_aedesc.h",
248 "mac/scoped_authorizationref.h",
249 "mac/scoped_block.h",
250 "mac/scoped_cftyperef.h",
251 "mac/scoped_ioobject.h",
252 "mac/scoped_ioplugininterface.h",
253 "mac/scoped_launch_data.h",
254 "mac/scoped_mach_port.cc",
255 "mac/scoped_mach_port.h",
256 "mac/scoped_nsautorelease_pool.h",
257 "mac/scoped_nsautorelease_pool.mm",
258 "mac/scoped_nsexception_enabler.h",
259 "mac/scoped_nsexception_enabler.mm",
260 "mac/scoped_nsobject.h",
261 "mac/scoped_sending_event.h",
262 "mac/scoped_sending_event.mm",
263 "mac/sdk_forward_declarations.h",
264 "memory/aligned_memory.cc",
265 "memory/aligned_memory.h",
266 "memory/discardable_memory.cc",
267 "memory/discardable_memory.h",
268 "memory/discardable_memory_android.cc",
269 "memory/discardable_memory_mac.cc",
270 "memory/linked_ptr.h",
271 "memory/manual_constructor.h",
272 "memory/memory_pressure_listener.cc",
273 "memory/memory_pressure_listener.h",
274 "memory/raw_scoped_refptr_mismatch_checker.h",
275 "memory/ref_counted.cc",
276 "memory/ref_counted.h",
277 "memory/ref_counted_delete_on_message_loop.h",
278 "memory/ref_counted_memory.cc",
279 "memory/ref_counted_memory.h",
280 "memory/scoped_handle.h",
281 "memory/scoped_open_process.h",
282 "memory/scoped_policy.h",
283 "memory/scoped_ptr.h",
284 "memory/scoped_vector.h",
285 "memory/shared_memory.h",
286 "memory/shared_memory_android.cc",
287 "memory/shared_memory_nacl.cc",
288 "memory/shared_memory_posix.cc",
289 "memory/shared_memory_win.cc",
290 "memory/singleton.cc",
291 "memory/singleton.h",
292 "memory/weak_ptr.cc",
293 "memory/weak_ptr.h",
294 "message_loop/message_loop.cc",
295 "message_loop/message_loop.h",
296 "message_loop/message_loop_proxy.cc",
297 "message_loop/message_loop_proxy.h",
298 "message_loop/message_loop_proxy_impl.cc",
299 "message_loop/message_loop_proxy_impl.h",
300 "message_loop/message_pump.cc",
301 "message_loop/message_pump.h",
302 "message_loop/message_pump_android.cc",
303 "message_loop/message_pump_android.h",
304 "message_loop/message_pump_default.cc",
305 "message_loop/message_pump_default.h",
306 "message_loop/message_pump_ozone.cc",
307 "message_loop/message_pump_ozone.h",
308 "message_loop/message_pump_win.cc",
309 "message_loop/message_pump_win.h",
310 "metrics/sample_map.cc",
311 "metrics/sample_map.h",
312 "metrics/sample_vector.cc",
313 "metrics/sample_vector.h",
314 "metrics/bucket_ranges.cc",
315 "metrics/bucket_ranges.h",
316 "metrics/histogram.cc",
317 "metrics/histogram.h",
318 "metrics/histogram_base.cc",
319 "metrics/histogram_base.h",
320 "metrics/histogram_flattener.h",
321 "metrics/histogram_samples.cc",
322 "metrics/histogram_samples.h",
323 "metrics/histogram_snapshot_manager.cc",
324 "metrics/histogram_snapshot_manager.h",
325 "metrics/sparse_histogram.cc",
326 "metrics/sparse_histogram.h",
327 "metrics/statistics_recorder.cc",
328 "metrics/statistics_recorder.h",
329 "metrics/stats_counters.cc",
330 "metrics/stats_counters.h",
331 "metrics/stats_table.cc",
332 "metrics/stats_table.h",
333 "move.h",
334 "native_library.h",
335 "native_library_mac.mm",
336 "native_library_posix.cc",
337 "native_library_win.cc",
338 "nix/mime_util_xdg.cc",
339 "nix/mime_util_xdg.h",
340 "nix/xdg_util.cc",
341 "nix/xdg_util.h",
342 "observer_list.h",
343 "observer_list_threadsafe.h",
344 "os_compat_android.cc",
345 "os_compat_android.h",
346 "os_compat_nacl.cc",
347 "os_compat_nacl.h",
348 "path_service.cc",
349 "path_service.h",
350 "pending_task.cc",
351 "pending_task.h",
352 "pickle.cc",
353 "pickle.h",
354 "platform_file.cc",
355 "platform_file.h",
356 "platform_file_posix.cc",
357 "platform_file_win.cc",
358 "port.h",
359 "posix/eintr_wrapper.h",
360 "posix/global_descriptors.cc",
361 "posix/global_descriptors.h",
362 "posix/unix_domain_socket_linux.cc",
363 "posix/unix_domain_socket_linux.h",
364 "power_monitor/power_monitor.cc",
365 "power_monitor/power_monitor.h",
366 "power_monitor/power_monitor_android.cc",
367 "power_monitor/power_monitor_android.h",
368 "power_monitor/power_monitor_ios.mm",
369 "power_monitor/power_monitor_mac.mm",
370 "power_monitor/power_monitor_posix.cc",
371 "power_monitor/power_monitor_win.cc",
372 "power_monitor/power_observer.h",
373 "process.h",
374 "process_info.h",
375 "process_info_mac.cc",
376 "process_info_win.cc",
377 "process_linux.cc",
378 "process_posix.cc",
379 "process_util.h",
380 "process_win.cc",
381 "process/internal_linux.cc",
382 "process/internal_linux.h",
383 "process/kill.cc",
384 "process/kill.h",
385 "process/kill_mac.cc",
386 "process/kill_posix.cc",
387 "process/kill_win.cc",
388 "process/launch.h",
389 "process/launch_ios.cc",
390 "process/launch_mac.cc",
391 "process/launch_posix.cc",
392 "process/launch_win.cc",
393 "process/memory.h",
394 "process/memory_linux.cc",
395 "process/memory_mac.mm",
396 "process/memory_win.cc",
397 "process/process_handle_freebsd.cc",
398 "process/process_handle_linux.cc",
399 "process/process_handle_mac.cc",
400 "process/process_handle_openbsd.cc",
401 "process/process_handle_posix.cc",
402 "process/process_handle_win.cc",
403 "process/process_iterator.cc",
404 "process/process_iterator.h",
405 "process/process_iterator_freebsd.cc",
406 "process/process_iterator_linux.cc",
407 "process/process_iterator_mac.cc",
408 "process/process_iterator_openbsd.cc",
409 "process/process_iterator_win.cc",
410 "process/process_metrics.h",
411 "process/process_metrics_freebsd.cc",
412 "process/process_metrics_ios.cc",
413 "process/process_metrics_linux.cc",
414 "process/process_metrics_mac.cc",
415 "process/process_metrics_openbsd.cc",
416 "process/process_metrics_posix.cc",
417 "process/process_metrics_win.cc",
418 "profiler/scoped_profile.cc",
419 "profiler/scoped_profile.h",
420 "profiler/alternate_timer.cc",
421 "profiler/alternate_timer.h",
422 "profiler/tracked_time.cc",
423 "profiler/tracked_time.h",
424 "rand_util.cc",
425 "rand_util.h",
426 "rand_util_nacl.cc",
427 "rand_util_posix.cc",
428 "rand_util_win.cc",
429 "run_loop.cc",
430 "run_loop.h",
431 "safe_numerics.h",
432 "safe_strerror_posix.cc",
433 "safe_strerror_posix.h",
434 "scoped_native_library.cc",
435 "scoped_native_library.h",
436 "sequence_checker.h",
437 "sequence_checker_impl.cc",
438 "sequence_checker_impl.h",
439 "sequenced_task_runner.cc",
440 "sequenced_task_runner.h",
441 "sequenced_task_runner_helpers.h",
442 "sha1.h",
443 "sha1_portable.cc",
444 "sha1_win.cc",
445 "single_thread_task_runner.h",
446 "stl_util.h",
447 "strings/latin1_string_conversions.cc",
448 "strings/latin1_string_conversions.h",
449 "strings/nullable_string16.cc",
450 "strings/nullable_string16.h",
451 "strings/string16.cc",
452 "strings/string16.h",
453 "strings/string_number_conversions.cc",
454 "strings/string_split.cc",
455 "strings/string_split.h",
456 "strings/string_number_conversions.h",
457 "strings/string_piece.cc",
458 "strings/string_piece.h",
459 "strings/string_tokenizer.h",
460 "strings/string_util.cc",
461 "strings/string_util.h",
462 "strings/string_util_constants.cc",
463 "strings/string_util_posix.h",
464 "strings/string_util_win.h",
465 "strings/stringize_macros.h",
466 "strings/stringprintf.cc",
467 "strings/stringprintf.h",
468 "strings/sys_string_conversions.h",
469 "strings/sys_string_conversions_mac.mm",
470 "strings/sys_string_conversions_posix.cc",
471 "strings/sys_string_conversions_win.cc",
472 "strings/utf_offset_string_conversions.cc",
473 "strings/utf_offset_string_conversions.h",
474 "strings/utf_string_conversion_utils.cc",
475 "strings/utf_string_conversion_utils.h",
476 "strings/utf_string_conversions.cc",
477 "strings/utf_string_conversions.h",
478 "supports_user_data.cc",
479 "supports_user_data.h",
480 "synchronization/cancellation_flag.cc",
481 "synchronization/cancellation_flag.h",
482 "synchronization/condition_variable.h",
483 "synchronization/condition_variable_posix.cc",
484 "synchronization/condition_variable_win.cc",
485 "synchronization/lock.cc",
486 "synchronization/lock.h",
487 "synchronization/lock_impl.h",
488 "synchronization/lock_impl_posix.cc",
489 "synchronization/lock_impl_win.cc",
490 "synchronization/spin_wait.h",
491 "synchronization/waitable_event.h",
492 "synchronization/waitable_event_posix.cc",
493 "synchronization/waitable_event_watcher.h",
494 "synchronization/waitable_event_watcher_posix.cc",
495 "synchronization/waitable_event_watcher_win.cc",
496 "synchronization/waitable_event_win.cc",
497 "system_monitor/system_monitor.cc",
498 "system_monitor/system_monitor.h",
499 "sys_byteorder.h",
500 "sys_info.cc",
501 "sys_info.h",
502 "sys_info_android.cc",
503 "sys_info_chromeos.cc",
504 "sys_info_freebsd.cc",
505 "sys_info_ios.mm",
506 "sys_info_linux.cc",
507 "sys_info_mac.cc",
508 "sys_info_openbsd.cc",
509 "sys_info_posix.cc",
510 "sys_info_win.cc",
511 "task_runner.cc",
512 "task_runner.h",
513 "task_runner_util.h",
514 "template_util.h",
515 "thread_task_runner_handle.cc",
516 "thread_task_runner_handle.h",
517 "threading/non_thread_safe.h",
518 "threading/non_thread_safe_impl.cc",
519 "threading/non_thread_safe_impl.h",
520 "threading/platform_thread.h",
521 "threading/platform_thread_android.cc",
522 "threading/platform_thread_linux.cc",
523 "threading/platform_thread_mac.mm",
524 "threading/platform_thread_posix.cc",
525 "threading/platform_thread_win.cc",
526 "threading/post_task_and_reply_impl.cc",
527 "threading/post_task_and_reply_impl.h",
528 "threading/sequenced_worker_pool.cc",
529 "threading/sequenced_worker_pool.h",
530 "threading/simple_thread.cc",
531 "threading/simple_thread.h",
532 "threading/thread.cc",
533 "threading/thread.h",
534 "threading/thread_checker.h",
535 "threading/thread_checker_impl.cc",
536 "threading/thread_checker_impl.h",
537 "threading/thread_collision_warner.cc",
538 "threading/thread_collision_warner.h",
539 "threading/thread_id_name_manager.cc",
540 "threading/thread_id_name_manager.h",
541 "threading/thread_local.h",
542 "threading/thread_local_posix.cc",
543 "threading/thread_local_storage.h",
544 "threading/thread_local_storage_posix.cc",
545 "threading/thread_local_storage_win.cc",
546 "threading/thread_local_win.cc",
547 "threading/thread_restrictions.h",
548 "threading/thread_restrictions.cc",
549 "threading/watchdog.cc",
550 "threading/watchdog.h",
551 "threading/worker_pool.h",
552 "threading/worker_pool.cc",
553 "threading/worker_pool_posix.cc",
554 "threading/worker_pool_posix.h",
555 "threading/worker_pool_win.cc",
556 "time/clock.cc",
557 "time/clock.h",
558 "time/default_clock.cc",
559 "time/default_clock.h",
560 "time/default_tick_clock.cc",
561 "time/default_tick_clock.h",
562 "time/tick_clock.cc",
563 "time/tick_clock.h",
564 "time/time.cc",
565 "time/time.h",
566 "time/time_mac.cc",
567 "time/time_posix.cc",
568 "time/time_win.cc",
569 "timer/hi_res_timer_manager_posix.cc",
570 "timer/hi_res_timer_manager_win.cc",
571 "timer/hi_res_timer_manager.h",
572 "timer/timer.cc",
573 "timer/timer.h",
574 "tracked_objects.cc",
575 "tracked_objects.h",
576 "tracking_info.cc",
577 "tracking_info.h",
578 "tuple.h",
579 "values.cc",
580 "values.h",
581 "value_conversions.cc",
582 "value_conversions.h",
583 "version.cc",
584 "version.h",
585 "vlog.cc",
586 "vlog.h",
587 "win/enum_variant.cc",
588 "win/enum_variant.h",
589 "win/event_trace_consumer.h",
590 "win/event_trace_controller.cc",
591 "win/event_trace_controller.h",
592 "win/event_trace_provider.cc",
593 "win/event_trace_provider.h",
594 "win/i18n.cc",
595 "win/i18n.h",
596 "win/iat_patch_function.cc",
597 "win/iat_patch_function.h",
598 "win/iunknown_impl.cc",
599 "win/iunknown_impl.h",
600 "win/message_window.cc",
601 "win/message_window.h",
602 "win/metro.cc",
603 "win/metro.h",
604 "win/object_watcher.cc",
605 "win/object_watcher.h",
606 "win/registry.cc",
607 "win/registry.h",
608 "win/resource_util.cc",
609 "win/resource_util.h",
610 "win/sampling_profiler.cc",
611 "win/sampling_profiler.h",
612 "win/scoped_bstr.cc",
613 "win/scoped_bstr.h",
614 "win/scoped_co_mem.h",
615 "win/scoped_com_initializer.h",
616 "win/scoped_comptr.h",
617 "win/scoped_gdi_object.h",
618 "win/scoped_handle.cc",
619 "win/scoped_handle.h",
620 "win/scoped_hdc.h",
621 "win/scoped_hglobal.h",
622 "win/scoped_process_information.cc",
623 "win/scoped_process_information.h",
624 "win/scoped_propvariant.h",
625 "win/scoped_select_object.h",
626 "win/scoped_variant.cc",
627 "win/scoped_variant.h",
628 "win/shortcut.cc",
629 "win/shortcut.h",
630 "win/startup_information.cc",
631 "win/startup_information.h",
632 "win/text_services_message_filter.cc",
633 "win/text_services_message_filter.h",
634 "win/win_util.cc",
635 "win/win_util.h",
636 "win/windows_version.cc",
637 "win/windows_version.h",
638 "win/wrapped_window_proc.cc",
639 "win/wrapped_window_proc.h",
640 ]
641
642 # TODO(brettw) I don't understand the conditions this file is used.
643 sources -= "files/file_path_watcher_stub.cc"
644
645 sources -= [
646 # TODO(brettw) ozone
647 "message_loop/message_pump_ozone.cc",
648 "message_loop/message_pump_ozone.h",
649
650 "process/process_handle_freebsd.cc",
651 "process/process_handle_openbsd.cc",
652 "process/process_iterator_freebsd.cc",
653 "process/process_iterator_openbsd.cc",
654 "process/process_metrics_freebsd.cc",
655 "process/process_metrics_openbsd.cc",
656 "sys_info_freebsd.cc",
657 "sys_info_openbsd.cc",
658 ]
659
660 if (!is_chromeos) {
661 sources -= [
662 "sys_info_chromeos.cc",
663 ]
664 }
665 if (!is_mac) {
666 sources -= "files/file_path_watcher_kqueue.cc"
667 }
668
669 # Remove nacl stuff.
670 if (!is_nacl) {
671 sources -= [
672 "os_compat_nacl.cc",
673 "os_compat_nacl.h",
674 "rand_util_nacl.cc",
675 "third_party/nspr/prcpucfg_nacl.h",
676 "memory/shared_memory_nacl.cc",
677 ]
678 }
679
680 # Windows stuff.
681 if (is_win && !is_nacl) {
682 sources -= [
683 "strings/string16.cc",
684 # Not using sha1_win.cc because it may have caused a
685 # regression to page cycler moz.
686 "sha1_win.cc",
687 ]
688
689 if (is_component_build) {
690 sources -= "debug/debug_on_start_win.cc"
691 }
692 }
693
694 # Remove non-Mac Unix stuff.
695 if (!is_posix || is_mac) {
696 sources -= [
697 "nix/mime_util_xdg.cc",
698 "nix/mime_util_xdg.h",
699 "nix/xdg_util.cc",
700 "nix/xdg_util.h",
701 ]
702 }
703
704 defines = [
705 "BASE_IMPLEMENTATION",
706 ]
707
708 deps = [
709 ":base_static",
710 "//base/allocator:allocator_extension_thunks",
711 "//third_party/modp_b64",
712 "//base/third_party/dynamic_annotations",
713 ]
714 }
715
716 # This is the subset of files from base that should not be used with a dynamic
717 # library. Note that this library cannot depend on base because base depends on
718 # base_static.
719 static_library("base_static") {
720 sources = [
721 "base_switches.cc",
722 "base_switches.h",
723 "win/pe_image.cc",
724 "win/pe_image.h",
725 ]
726 }
727
728 component("base_i18n") {
729 sources = [
730 "i18n/base_i18n_export.h",
731 "i18n/bidi_line_iterator.cc",
732 "i18n/bidi_line_iterator.h",
733 "i18n/break_iterator.cc",
734 "i18n/break_iterator.h",
735 "i18n/char_iterator.cc",
736 "i18n/char_iterator.h",
737 "i18n/case_conversion.cc",
738 "i18n/case_conversion.h",
739 "i18n/file_util_icu.cc",
740 "i18n/file_util_icu.h",
741 "i18n/icu_encoding_detection.cc",
742 "i18n/icu_encoding_detection.h",
743 "i18n/icu_string_conversions.cc",
744 "i18n/icu_string_conversions.h",
745 "i18n/icu_util.cc",
746 "i18n/icu_util.h",
747 "i18n/number_formatting.cc",
748 "i18n/number_formatting.h",
749 "i18n/rtl.cc",
750 "i18n/rtl.h",
751 "i18n/string_compare.cc",
752 "i18n/string_compare.h",
753 "i18n/string_search.cc",
754 "i18n/string_search.h",
755 "i18n/time_formatting.cc",
756 "i18n/time_formatting.h",
757 ]
758 deps = [
759 ":base",
760 "//base/third_party/dynamic_annotations",
761 "//third_party/icu:icui18n",
762 "//third_party/icu:icuuc",
763 ]
764 defines = [
765 "BASE_I18N_IMPLEMENTATION",
766 ]
767 #'conditions': [
768 # ['toolkit_uses_gtk==1', {
769 # 'deps': [
770 # # i18n/rtl.cc uses gtk
771 # '../build/linux/system.gyp:gtk',
772 # ],
773 # }],
774 # ['OS == "win"', {
775 # # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
776 # 'msvs_disabled_warnings': [
777 # 4267,
778 # ],
779 # }],
780 #],
781 #'export_dependent_settings': [
782 # 'base',
783 #],
784 #'variables': {
785 # 'enable_wexit_time_destructors': 1,
786 # 'optimize': 'max',
787 #},
788 }
789
790 static_library("test_support_base") {
791 sources = [
792 "perftimer.cc",
793 "test/expectations/expectation.cc",
794 "test/expectations/expectation.h",
795 "test/expectations/parser.cc",
796 "test/expectations/parser.h",
797 "test/mock_chrome_application_mac.h",
798 "test/mock_chrome_application_mac.mm",
799 "test/mock_devices_changed_observer.cc",
800 "test/mock_devices_changed_observer.h",
801 "test/mock_time_provider.cc",
802 "test/mock_time_provider.h",
803 "test/multiprocess_test.cc",
804 "test/multiprocess_test.h",
805 "test/multiprocess_test_android.cc",
806 "test/null_task_runner.cc",
807 "test/null_task_runner.h",
808 "test/perf_test_suite.cc",
809 "test/perf_test_suite.h",
810 "test/scoped_locale.cc",
811 "test/scoped_locale.h",
812 "test/scoped_path_override.cc",
813 "test/scoped_path_override.h",
814 "test/sequenced_task_runner_test_template.cc",
815 "test/sequenced_task_runner_test_template.h",
816 "test/sequenced_worker_pool_owner.cc",
817 "test/sequenced_worker_pool_owner.h",
818 "test/simple_test_clock.cc",
819 "test/simple_test_clock.h",
820 "test/simple_test_tick_clock.cc",
821 "test/simple_test_tick_clock.h",
822 "test/task_runner_test_template.cc",
823 "test/task_runner_test_template.h",
824 "test/test_file_util.h",
825 "test/test_file_util_linux.cc",
826 "test/test_file_util_mac.cc",
827 "test/test_file_util_posix.cc",
828 "test/test_file_util_win.cc",
829 "test/test_listener_ios.h",
830 "test/test_listener_ios.mm",
831 "test/test_pending_task.cc",
832 "test/test_pending_task.h",
833 "test/test_process_killer_win.cc",
834 "test/test_process_killer_win.h",
835 "test/test_reg_util_win.cc",
836 "test/test_reg_util_win.h",
837 "test/test_shortcut_win.cc",
838 "test/test_shortcut_win.h",
839 "test/test_simple_task_runner.cc",
840 "test/test_simple_task_runner.h",
841 "test/test_suite.cc",
842 "test/test_suite.h",
843 "test/test_support_android.cc",
844 "test/test_support_android.h",
845 "test/test_support_ios.h",
846 "test/test_support_ios.mm",
847 "test/test_switches.cc",
848 "test/test_switches.h",
849 "test/test_timeouts.cc",
850 "test/test_timeouts.h",
851 "test/thread_test_helper.cc",
852 "test/thread_test_helper.h",
853 "test/trace_event_analyzer.cc",
854 "test/trace_event_analyzer.h",
855 "test/values_test_util.cc",
856 "test/values_test_util.h",
857 ]
858 deps = [
859 ":base",
860 ":base_static",
861 ":base_i18n",
862 "//testing:gmock",
863 "//testing:gtest",
864 ]
865
866 if (!is_posix) {
867 sources -= [
868 "test/scoped_locale.cc",
869 "test/scoped_locale.h",
870 ]
871 }
872 if (is_ios) {
873 # Pull in specific Mac files for iOS (which have been filtered out
874 # by file name rules).
875 { # Temporarily override the assignment filter in a new scope.
876 set_sources_assignment_filter([])
877 sources += "test/test_file_util_mac.cc"
878 }
879 }
880 #if (!is_bsd) {
881 # sources -= "test/test_file_util_linux.cc"
882 #}
883 #if (use_gtk) {
884 # deps += "/build/linux/system:gtk"
885 #}
886 #export_dependent_settings [
887 # 'base',
888 #]
889 }
890
891 config("perf_test_config") {
892 defines = [ "PERF_TEST" ]
893 }
894
895 static_library("test_support_perf") {
896 sources = [
897 "perftimer.cc",
898 "test/run_all_perftests.cc",
899 ]
900 deps = [
901 ":base",
902 "//testing:gtest",
903 ]
904
905 direct_dependent_configs = [ ":perf_test_config" ]
906
907 #if (toolkit_uses_gtk) {
908 # deps += "/build/linux/system:gtk",
909 #}
910 }
911
912 static_library("run_all_unittests") {
913 sources = [
914 "test/run_all_unittests.cc",
915 ]
916 deps = [
917 ":test_support_base",
918 ]
919 }
OLDNEW
« no previous file with comments | « tools/gn/scope_per_file_provider.cc ('k') | tools/gn/secondary/base/allocator/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698