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

Side by Side Diff: base/BUILD.gn

Issue 2533123002: Fix GN missing headers in //base (Closed)
Patch Set: remove dependency on check_gn_headers Created 3 years, 11 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 | « ash/wm/panels/panel_window_resizer_unittest.cc ('k') | base/debug/stack_trace_posix.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # HOW TO WRITE CONDITIONALS IN THIS FILE 5 # HOW TO WRITE CONDITIONALS IN THIS FILE
6 # ====================================== 6 # ======================================
7 # 7 #
8 # In many other places, one would write a conditional that expresses all the 8 # In many other places, one would write a conditional that expresses all the
9 # cases when a source file is used or unused, and then either add or subtract 9 # cases when a source file is used or unused, and then either add or subtract
10 # it from the sources list in that case 10 # it from the sources list in that case
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 # fixed and this target should always be a static_library in the 142 # fixed and this target should always be a static_library in the
143 # non-component case. 143 # non-component case.
144 static_component_type = "source_set" 144 static_component_type = "source_set"
145 } 145 }
146 146
147 sources = [ 147 sources = [
148 "allocator/allocator_check.cc", 148 "allocator/allocator_check.cc",
149 "allocator/allocator_check.h", 149 "allocator/allocator_check.h",
150 "allocator/allocator_extension.cc", 150 "allocator/allocator_extension.cc",
151 "allocator/allocator_extension.h", 151 "allocator/allocator_extension.h",
152 "allocator/allocator_shim.h",
153 "allocator/oom.h",
152 "android/animation_frame_time_histogram.cc", 154 "android/animation_frame_time_histogram.cc",
153 "android/animation_frame_time_histogram.h", 155 "android/animation_frame_time_histogram.h",
154 "android/apk_assets.cc", 156 "android/apk_assets.cc",
155 "android/apk_assets.h", 157 "android/apk_assets.h",
156 "android/application_status_listener.cc", 158 "android/application_status_listener.cc",
157 "android/application_status_listener.h", 159 "android/application_status_listener.h",
158 "android/base_jni_onload.cc", 160 "android/base_jni_onload.cc",
159 "android/base_jni_onload.h", 161 "android/base_jni_onload.h",
160 "android/base_jni_registrar.cc", 162 "android/base_jni_registrar.cc",
161 "android/base_jni_registrar.h", 163 "android/base_jni_registrar.h",
162 "android/build_info.cc", 164 "android/build_info.cc",
163 "android/build_info.h", 165 "android/build_info.h",
164 "android/callback_android.cc", 166 "android/callback_android.cc",
165 "android/callback_android.h", 167 "android/callback_android.h",
166 "android/command_line_android.cc", 168 "android/command_line_android.cc",
167 "android/command_line_android.h", 169 "android/command_line_android.h",
168 "android/content_uri_utils.cc", 170 "android/content_uri_utils.cc",
169 "android/content_uri_utils.h", 171 "android/content_uri_utils.h",
170 "android/context_utils.cc", 172 "android/context_utils.cc",
171 "android/context_utils.h", 173 "android/context_utils.h",
172 "android/cpu_features.cc", 174 "android/cpu_features.cc",
175 "android/cpu_features.h",
173 "android/cxa_demangle_stub.cc", 176 "android/cxa_demangle_stub.cc",
174 "android/early_trace_event_binding.cc", 177 "android/early_trace_event_binding.cc",
175 "android/early_trace_event_binding.h", 178 "android/early_trace_event_binding.h",
176 "android/event_log.cc", 179 "android/event_log.cc",
177 "android/event_log.h", 180 "android/event_log.h",
178 "android/field_trial_list.cc", 181 "android/field_trial_list.cc",
179 "android/field_trial_list.h", 182 "android/field_trial_list.h",
180 "android/important_file_writer_android.cc", 183 "android/important_file_writer_android.cc",
181 "android/important_file_writer_android.h", 184 "android/important_file_writer_android.h",
182 "android/java_handler_thread.cc", 185 "android/java_handler_thread.cc",
183 "android/java_handler_thread.h", 186 "android/java_handler_thread.h",
184 "android/java_message_handler_factory.h", 187 "android/java_message_handler_factory.h",
185 "android/java_runtime.cc", 188 "android/java_runtime.cc",
186 "android/java_runtime.h", 189 "android/java_runtime.h",
187 "android/jni_android.cc", 190 "android/jni_android.cc",
188 "android/jni_android.h", 191 "android/jni_android.h",
189 "android/jni_array.cc", 192 "android/jni_array.cc",
190 "android/jni_array.h", 193 "android/jni_array.h",
194 "android/jni_generator/jni_generator_helper.h",
195 "android/jni_int_wrapper.h",
191 "android/jni_registrar.cc", 196 "android/jni_registrar.cc",
192 "android/jni_registrar.h", 197 "android/jni_registrar.h",
193 "android/jni_string.cc", 198 "android/jni_string.cc",
194 "android/jni_string.h", 199 "android/jni_string.h",
195 "android/jni_utils.cc", 200 "android/jni_utils.cc",
196 "android/jni_utils.h", 201 "android/jni_utils.h",
197 "android/jni_weak_ref.cc", 202 "android/jni_weak_ref.cc",
198 "android/jni_weak_ref.h", 203 "android/jni_weak_ref.h",
199 "android/library_loader/library_load_from_apk_status_codes.h", 204 "android/library_loader/library_load_from_apk_status_codes.h",
200 "android/library_loader/library_loader_hooks.cc", 205 "android/library_loader/library_loader_hooks.cc",
(...skipping 22 matching lines...) Expand all
223 "android/time_utils.h", 228 "android/time_utils.h",
224 "android/trace_event_binding.cc", 229 "android/trace_event_binding.cc",
225 "android/trace_event_binding.h", 230 "android/trace_event_binding.h",
226 "android/unguessable_token_android.cc", 231 "android/unguessable_token_android.cc",
227 "android/unguessable_token_android.h", 232 "android/unguessable_token_android.h",
228 "at_exit.cc", 233 "at_exit.cc",
229 "at_exit.h", 234 "at_exit.h",
230 "atomic_ref_count.h", 235 "atomic_ref_count.h",
231 "atomic_sequence_num.h", 236 "atomic_sequence_num.h",
232 "atomicops.h", 237 "atomicops.h",
238 "atomicops_internals_atomicword_compat.h",
233 "atomicops_internals_portable.h", 239 "atomicops_internals_portable.h",
234 "atomicops_internals_x86_msvc.h", 240 "atomicops_internals_x86_msvc.h",
235 "auto_reset.h", 241 "auto_reset.h",
236 "barrier_closure.cc", 242 "barrier_closure.cc",
237 "barrier_closure.h", 243 "barrier_closure.h",
238 "base64.cc", 244 "base64.cc",
239 "base64.h", 245 "base64.h",
240 "base64url.cc", 246 "base64url.cc",
241 "base64url.h", 247 "base64url.h",
242 "base_export.h", 248 "base_export.h",
243 "base_switches.h", 249 "base_switches.h",
244 "big_endian.cc", 250 "big_endian.cc",
245 "big_endian.h", 251 "big_endian.h",
246 "bind.h", 252 "bind.h",
247 "bind_helpers.cc", 253 "bind_helpers.cc",
248 "bind_helpers.h", 254 "bind_helpers.h",
249 "bind_internal.h", 255 "bind_internal.h",
250 "bit_cast.h", 256 "bit_cast.h",
251 "bits.h", 257 "bits.h",
252 "build_time.cc", 258 "build_time.cc",
253 "build_time.h", 259 "build_time.h",
254 "callback.h", 260 "callback.h",
255 "callback_forward.h", 261 "callback_forward.h",
256 "callback_helpers.cc", 262 "callback_helpers.cc",
257 "callback_helpers.h", 263 "callback_helpers.h",
258 "callback_internal.cc", 264 "callback_internal.cc",
259 "callback_internal.h", 265 "callback_internal.h",
266 "callback_list.h",
260 "cancelable_callback.h", 267 "cancelable_callback.h",
261 "command_line.cc", 268 "command_line.cc",
262 "command_line.h", 269 "command_line.h",
263 "compiler_specific.h", 270 "compiler_specific.h",
264 "containers/adapters.h", 271 "containers/adapters.h",
265 "containers/hash_tables.h", 272 "containers/hash_tables.h",
266 "containers/linked_list.h", 273 "containers/linked_list.h",
267 "containers/mru_cache.h", 274 "containers/mru_cache.h",
268 "containers/small_map.h", 275 "containers/small_map.h",
269 "containers/stack_container.h", 276 "containers/stack_container.h",
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 "debug/stack_trace_posix.cc", 313 "debug/stack_trace_posix.cc",
307 "debug/stack_trace_win.cc", 314 "debug/stack_trace_win.cc",
308 "debug/task_annotator.cc", 315 "debug/task_annotator.cc",
309 "debug/task_annotator.h", 316 "debug/task_annotator.h",
310 "debug/thread_heap_usage_tracker.cc", 317 "debug/thread_heap_usage_tracker.cc",
311 "debug/thread_heap_usage_tracker.h", 318 "debug/thread_heap_usage_tracker.h",
312 "deferred_sequenced_task_runner.cc", 319 "deferred_sequenced_task_runner.cc",
313 "deferred_sequenced_task_runner.h", 320 "deferred_sequenced_task_runner.h",
314 "environment.cc", 321 "environment.cc",
315 "environment.h", 322 "environment.h",
323 "event_types.h",
316 "feature_list.cc", 324 "feature_list.cc",
317 "feature_list.h", 325 "feature_list.h",
318 "file_descriptor_posix.h", 326 "file_descriptor_posix.h",
319 "file_version_info.h", 327 "file_version_info.h",
320 "file_version_info_mac.h", 328 "file_version_info_mac.h",
321 "file_version_info_mac.mm", 329 "file_version_info_mac.mm",
322 "file_version_info_win.cc", 330 "file_version_info_win.cc",
323 "file_version_info_win.h", 331 "file_version_info_win.h",
324 "files/dir_reader_fallback.h", 332 "files/dir_reader_fallback.h",
325 "files/dir_reader_linux.h", 333 "files/dir_reader_linux.h",
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 "message_loop/message_pump_glib.cc", 545 "message_loop/message_pump_glib.cc",
538 "message_loop/message_pump_glib.h", 546 "message_loop/message_pump_glib.h",
539 "message_loop/message_pump_io_ios.cc", 547 "message_loop/message_pump_io_ios.cc",
540 "message_loop/message_pump_io_ios.h", 548 "message_loop/message_pump_io_ios.h",
541 "message_loop/message_pump_libevent.cc", 549 "message_loop/message_pump_libevent.cc",
542 "message_loop/message_pump_libevent.h", 550 "message_loop/message_pump_libevent.h",
543 "message_loop/message_pump_mac.h", 551 "message_loop/message_pump_mac.h",
544 "message_loop/message_pump_mac.mm", 552 "message_loop/message_pump_mac.mm",
545 "message_loop/message_pump_win.cc", 553 "message_loop/message_pump_win.cc",
546 "message_loop/message_pump_win.h", 554 "message_loop/message_pump_win.h",
555 "message_loop/timer_slack.h",
547 "metrics/bucket_ranges.cc", 556 "metrics/bucket_ranges.cc",
548 "metrics/bucket_ranges.h", 557 "metrics/bucket_ranges.h",
549 "metrics/field_trial.cc", 558 "metrics/field_trial.cc",
550 "metrics/field_trial.h", 559 "metrics/field_trial.h",
551 "metrics/field_trial_param_associator.cc", 560 "metrics/field_trial_param_associator.cc",
552 "metrics/field_trial_param_associator.h", 561 "metrics/field_trial_param_associator.h",
553 "metrics/histogram.cc", 562 "metrics/histogram.cc",
554 "metrics/histogram.h", 563 "metrics/histogram.h",
555 "metrics/histogram_base.cc", 564 "metrics/histogram_base.cc",
556 "metrics/histogram_base.h", 565 "metrics/histogram_base.h",
557 "metrics/histogram_delta_serialization.cc", 566 "metrics/histogram_delta_serialization.cc",
558 "metrics/histogram_delta_serialization.h", 567 "metrics/histogram_delta_serialization.h",
559 "metrics/histogram_flattener.h", 568 "metrics/histogram_flattener.h",
560 "metrics/histogram_functions.cc", 569 "metrics/histogram_functions.cc",
561 "metrics/histogram_functions.h", 570 "metrics/histogram_functions.h",
562 "metrics/histogram_macros.h", 571 "metrics/histogram_macros.h",
572 "metrics/histogram_macros_internal.h",
573 "metrics/histogram_macros_local.h",
563 "metrics/histogram_samples.cc", 574 "metrics/histogram_samples.cc",
564 "metrics/histogram_samples.h", 575 "metrics/histogram_samples.h",
565 "metrics/histogram_snapshot_manager.cc", 576 "metrics/histogram_snapshot_manager.cc",
566 "metrics/histogram_snapshot_manager.h", 577 "metrics/histogram_snapshot_manager.h",
567 "metrics/metrics_hashes.cc", 578 "metrics/metrics_hashes.cc",
568 "metrics/metrics_hashes.h", 579 "metrics/metrics_hashes.h",
569 "metrics/persistent_histogram_allocator.cc", 580 "metrics/persistent_histogram_allocator.cc",
570 "metrics/persistent_histogram_allocator.h", 581 "metrics/persistent_histogram_allocator.h",
571 "metrics/persistent_memory_allocator.cc", 582 "metrics/persistent_memory_allocator.cc",
572 "metrics/persistent_memory_allocator.h", 583 "metrics/persistent_memory_allocator.h",
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
607 "os_compat_nacl.cc", 618 "os_compat_nacl.cc",
608 "os_compat_nacl.h", 619 "os_compat_nacl.h",
609 "path_service.cc", 620 "path_service.cc",
610 "path_service.h", 621 "path_service.h",
611 "pending_task.cc", 622 "pending_task.cc",
612 "pending_task.h", 623 "pending_task.h",
613 "pickle.cc", 624 "pickle.cc",
614 "pickle.h", 625 "pickle.h",
615 "posix/eintr_wrapper.h", 626 "posix/eintr_wrapper.h",
616 "posix/file_descriptor_shuffle.cc", 627 "posix/file_descriptor_shuffle.cc",
628 "posix/file_descriptor_shuffle.h",
617 "posix/global_descriptors.cc", 629 "posix/global_descriptors.cc",
618 "posix/global_descriptors.h", 630 "posix/global_descriptors.h",
619 "posix/safe_strerror.cc", 631 "posix/safe_strerror.cc",
620 "posix/safe_strerror.h", 632 "posix/safe_strerror.h",
621 "posix/unix_domain_socket_linux.cc", 633 "posix/unix_domain_socket_linux.cc",
622 "posix/unix_domain_socket_linux.h", 634 "posix/unix_domain_socket_linux.h",
623 "post_task_and_reply_with_result_internal.h", 635 "post_task_and_reply_with_result_internal.h",
624 "power_monitor/power_monitor.cc", 636 "power_monitor/power_monitor.cc",
625 "power_monitor/power_monitor.h", 637 "power_monitor/power_monitor.h",
626 "power_monitor/power_monitor_device_source.cc", 638 "power_monitor/power_monitor_device_source.cc",
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
699 "profiler/stack_sampling_profiler.h", 711 "profiler/stack_sampling_profiler.h",
700 "profiler/tracked_time.cc", 712 "profiler/tracked_time.cc",
701 "profiler/tracked_time.h", 713 "profiler/tracked_time.h",
702 "rand_util.cc", 714 "rand_util.cc",
703 "rand_util.h", 715 "rand_util.h",
704 "rand_util_nacl.cc", 716 "rand_util_nacl.cc",
705 "rand_util_posix.cc", 717 "rand_util_posix.cc",
706 "rand_util_win.cc", 718 "rand_util_win.cc",
707 "run_loop.cc", 719 "run_loop.cc",
708 "run_loop.h", 720 "run_loop.h",
721 "scoped_clear_errno.h",
709 "scoped_generic.h", 722 "scoped_generic.h",
710 "scoped_native_library.cc", 723 "scoped_native_library.cc",
711 "scoped_native_library.h", 724 "scoped_native_library.h",
712 "scoped_observer.h", 725 "scoped_observer.h",
713 "sequence_checker.h", 726 "sequence_checker.h",
714 "sequence_checker_impl.cc", 727 "sequence_checker_impl.cc",
715 "sequence_checker_impl.h", 728 "sequence_checker_impl.h",
716 "sequence_token.cc", 729 "sequence_token.cc",
717 "sequence_token.h", 730 "sequence_token.h",
718 "sequenced_task_runner.cc", 731 "sequenced_task_runner.cc",
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
782 "synchronization/waitable_event_posix.cc", 795 "synchronization/waitable_event_posix.cc",
783 "synchronization/waitable_event_watcher.h", 796 "synchronization/waitable_event_watcher.h",
784 "synchronization/waitable_event_watcher_posix.cc", 797 "synchronization/waitable_event_watcher_posix.cc",
785 "synchronization/waitable_event_watcher_win.cc", 798 "synchronization/waitable_event_watcher_win.cc",
786 "synchronization/waitable_event_win.cc", 799 "synchronization/waitable_event_win.cc",
787 "sys_byteorder.h", 800 "sys_byteorder.h",
788 "sys_info.cc", 801 "sys_info.cc",
789 "sys_info.h", 802 "sys_info.h",
790 "sys_info_android.cc", 803 "sys_info_android.cc",
791 "sys_info_chromeos.cc", 804 "sys_info_chromeos.cc",
805 "sys_info_internal.h",
792 "syslog_logging.cc", 806 "syslog_logging.cc",
793 "syslog_logging.h", 807 "syslog_logging.h",
794 808
795 #"sys_info_freebsd.cc", # Unused in Chromium build. 809 #"sys_info_freebsd.cc", # Unused in Chromium build.
796 "sys_info_ios.mm", 810 "sys_info_ios.mm",
797 "sys_info_linux.cc", 811 "sys_info_linux.cc",
798 "sys_info_mac.mm", 812 "sys_info_mac.mm",
799 813
800 #"sys_info_openbsd.cc", # Unused in Chromium build. 814 #"sys_info_openbsd.cc", # Unused in Chromium build.
801 "sys_info_posix.cc", 815 "sys_info_posix.cc",
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
839 "task_scheduler/task_scheduler.h", 853 "task_scheduler/task_scheduler.h",
840 "task_scheduler/task_scheduler_impl.cc", 854 "task_scheduler/task_scheduler_impl.cc",
841 "task_scheduler/task_scheduler_impl.h", 855 "task_scheduler/task_scheduler_impl.h",
842 "task_scheduler/task_tracker.cc", 856 "task_scheduler/task_tracker.cc",
843 "task_scheduler/task_tracker.h", 857 "task_scheduler/task_tracker.h",
844 "task_scheduler/task_tracker_posix.cc", 858 "task_scheduler/task_tracker_posix.cc",
845 "task_scheduler/task_tracker_posix.h", 859 "task_scheduler/task_tracker_posix.h",
846 "task_scheduler/task_traits.cc", 860 "task_scheduler/task_traits.cc",
847 "task_scheduler/task_traits.h", 861 "task_scheduler/task_traits.h",
848 "template_util.h", 862 "template_util.h",
863 "test/malloc_wrapper.h",
849 "third_party/dmg_fp/dmg_fp.h", 864 "third_party/dmg_fp/dmg_fp.h",
850 "third_party/dmg_fp/dtoa_wrapper.cc", 865 "third_party/dmg_fp/dtoa_wrapper.cc",
851 "third_party/dmg_fp/g_fmt.cc", 866 "third_party/dmg_fp/g_fmt.cc",
852 "third_party/icu/icu_utf.cc", 867 "third_party/icu/icu_utf.cc",
853 "third_party/icu/icu_utf.h", 868 "third_party/icu/icu_utf.h",
854 "third_party/nspr/prtime.cc", 869 "third_party/nspr/prtime.cc",
855 "third_party/nspr/prtime.h", 870 "third_party/nspr/prtime.h",
856 "third_party/superfasthash/superfasthash.c", 871 "third_party/superfasthash/superfasthash.c",
872 "third_party/valgrind/memcheck.h",
857 "threading/non_thread_safe.h", 873 "threading/non_thread_safe.h",
858 "threading/non_thread_safe_impl.cc", 874 "threading/non_thread_safe_impl.cc",
859 "threading/non_thread_safe_impl.h", 875 "threading/non_thread_safe_impl.h",
860 "threading/platform_thread.h", 876 "threading/platform_thread.h",
861 "threading/platform_thread_android.cc", 877 "threading/platform_thread_android.cc",
862 "threading/platform_thread_internal_posix.cc", 878 "threading/platform_thread_internal_posix.cc",
863 "threading/platform_thread_internal_posix.h", 879 "threading/platform_thread_internal_posix.h",
864 "threading/platform_thread_linux.cc", 880 "threading/platform_thread_linux.cc",
865 "threading/platform_thread_mac.mm", 881 "threading/platform_thread_mac.mm",
866 "threading/platform_thread_posix.cc", 882 "threading/platform_thread_posix.cc",
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
1359 "winmm.lib", 1375 "winmm.lib",
1360 ] 1376 ]
1361 all_dependent_configs = [ ":base_win_linker_flags" ] 1377 all_dependent_configs = [ ":base_win_linker_flags" ]
1362 } else if (!is_nacl || is_nacl_nonsfi) { 1378 } else if (!is_nacl || is_nacl_nonsfi) {
1363 # Non-Windows. 1379 # Non-Windows.
1364 deps += [ "//base/third_party/libevent" ] 1380 deps += [ "//base/third_party/libevent" ]
1365 } 1381 }
1366 1382
1367 # Desktop Mac. 1383 # Desktop Mac.
1368 if (is_mac) { 1384 if (is_mac) {
1369 sources += [ "power_monitor/power_monitor_device_source_mac.mm" ] 1385 sources += [
1386 "mac/scoped_typeref.h",
1387 "power_monitor/power_monitor_device_source_mac.mm",
1388 ]
1370 1389
1371 libs = [ 1390 libs = [
1372 "ApplicationServices.framework", 1391 "ApplicationServices.framework",
1373 "AppKit.framework", 1392 "AppKit.framework",
1374 "bsm", 1393 "bsm",
1375 "CoreFoundation.framework", 1394 "CoreFoundation.framework",
1376 "IOKit.framework", 1395 "IOKit.framework",
1377 "Security.framework", 1396 "Security.framework",
1378 ] 1397 ]
1379 } 1398 }
(...skipping 1188 matching lines...) Expand 10 before | Expand all | Expand 10 after
2568 } 2587 }
2569 2588
2570 fuzzer_test("base_json_correctness_fuzzer") { 2589 fuzzer_test("base_json_correctness_fuzzer") {
2571 sources = [ 2590 sources = [
2572 "json/correctness_fuzzer.cc", 2591 "json/correctness_fuzzer.cc",
2573 ] 2592 ]
2574 deps = [ 2593 deps = [
2575 ":base", 2594 ":base",
2576 ] 2595 ]
2577 } 2596 }
OLDNEW
« no previous file with comments | « ash/wm/panels/panel_window_resizer_unittest.cc ('k') | base/debug/stack_trace_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698