OLD | NEW |
---|---|
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 831 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
842 "trace_event/memory_dump_manager.h", | 842 "trace_event/memory_dump_manager.h", |
843 "trace_event/memory_dump_provider.h", | 843 "trace_event/memory_dump_provider.h", |
844 "trace_event/memory_dump_request_args.cc", | 844 "trace_event/memory_dump_request_args.cc", |
845 "trace_event/memory_dump_request_args.h", | 845 "trace_event/memory_dump_request_args.h", |
846 "trace_event/memory_dump_session_state.cc", | 846 "trace_event/memory_dump_session_state.cc", |
847 "trace_event/memory_dump_session_state.h", | 847 "trace_event/memory_dump_session_state.h", |
848 "trace_event/process_memory_dump.cc", | 848 "trace_event/process_memory_dump.cc", |
849 "trace_event/process_memory_dump.h", | 849 "trace_event/process_memory_dump.h", |
850 "trace_event/process_memory_maps.cc", | 850 "trace_event/process_memory_maps.cc", |
851 "trace_event/process_memory_maps.h", | 851 "trace_event/process_memory_maps.h", |
852 "trace_event/process_memory_maps_dump_provider.h", | |
853 "trace_event/process_memory_totals.cc", | 852 "trace_event/process_memory_totals.cc", |
854 "trace_event/process_memory_totals.h", | 853 "trace_event/process_memory_totals.h", |
855 "trace_event/process_memory_totals_dump_provider.cc", | |
856 "trace_event/process_memory_totals_dump_provider.h", | |
857 "trace_event/trace_buffer.cc", | 854 "trace_event/trace_buffer.cc", |
858 "trace_event/trace_buffer.h", | 855 "trace_event/trace_buffer.h", |
859 "trace_event/trace_config.cc", | 856 "trace_event/trace_config.cc", |
860 "trace_event/trace_config.h", | 857 "trace_event/trace_config.h", |
861 "trace_event/trace_event.h", | 858 "trace_event/trace_event.h", |
862 "trace_event/trace_event_android.cc", | 859 "trace_event/trace_event_android.cc", |
863 "trace_event/trace_event_argument.cc", | 860 "trace_event/trace_event_argument.cc", |
864 "trace_event/trace_event_argument.h", | 861 "trace_event/trace_event_argument.h", |
865 "trace_event/trace_event_etw_export_win.cc", | 862 "trace_event/trace_event_etw_export_win.cc", |
866 "trace_event/trace_event_etw_export_win.h", | 863 "trace_event/trace_event_etw_export_win.h", |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
976 # Android. | 973 # Android. |
977 if (is_android) { | 974 if (is_android) { |
978 sources -= [ | 975 sources -= [ |
979 "debug/stack_trace_posix.cc", | 976 "debug/stack_trace_posix.cc", |
980 "power_monitor/power_monitor_device_source_posix.cc", | 977 "power_monitor/power_monitor_device_source_posix.cc", |
981 ] | 978 ] |
982 | 979 |
983 # Android uses some Linux sources, put those back. | 980 # Android uses some Linux sources, put those back. |
984 set_sources_assignment_filter([]) | 981 set_sources_assignment_filter([]) |
985 sources += [ | 982 sources += [ |
986 "debug/proc_maps_linux.cc", | |
Primiano Tucci (use gerrit)
2016/01/05 11:55:17
I think you are mistakenly removing this line afte
ssid
2016/01/06 20:26:33
Done.
| |
987 "files/file_path_watcher_linux.cc", | 983 "files/file_path_watcher_linux.cc", |
988 "posix/unix_domain_socket_linux.cc", | 984 "posix/unix_domain_socket_linux.cc", |
989 "process/internal_linux.cc", | 985 "process/internal_linux.cc", |
990 "process/memory_linux.cc", | 986 "process/memory_linux.cc", |
991 "process/process_handle_linux.cc", | 987 "process/process_handle_linux.cc", |
992 "process/process_iterator_linux.cc", | 988 "process/process_iterator_linux.cc", |
993 "process/process_metrics_linux.cc", | 989 "process/process_metrics_linux.cc", |
994 "sys_info_linux.cc", | 990 "sys_info_linux.cc", |
995 "trace_event/malloc_dump_provider.cc", | 991 "trace_event/malloc_dump_provider.cc", |
996 "trace_event/malloc_dump_provider.h", | 992 "trace_event/malloc_dump_provider.h", |
997 "trace_event/process_memory_maps_dump_provider.cc", | |
998 ] | 993 ] |
999 set_sources_assignment_filter(sources_assignment_filter) | 994 set_sources_assignment_filter(sources_assignment_filter) |
1000 | 995 |
1001 deps += [ | 996 deps += [ |
1002 ":base_jni_headers", | 997 ":base_jni_headers", |
1003 "//third_party/android_tools:cpu_features", | 998 "//third_party/android_tools:cpu_features", |
1004 "//third_party/ashmem", | 999 "//third_party/ashmem", |
1005 ] | 1000 ] |
1006 | 1001 |
1007 # Needs to be a public config so that dependent targets link against it as | 1002 # Needs to be a public config so that dependent targets link against it as |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1054 "process/memory.h", | 1049 "process/memory.h", |
1055 "process/process_iterator.cc", | 1050 "process/process_iterator.cc", |
1056 "process/process_iterator.h", | 1051 "process/process_iterator.h", |
1057 "process/process_metrics.cc", | 1052 "process/process_metrics.cc", |
1058 "process/process_metrics_posix.cc", | 1053 "process/process_metrics_posix.cc", |
1059 "process/process_posix.cc", | 1054 "process/process_posix.cc", |
1060 "scoped_native_library.cc", | 1055 "scoped_native_library.cc", |
1061 "sync_socket_posix.cc", | 1056 "sync_socket_posix.cc", |
1062 "sys_info.cc", | 1057 "sys_info.cc", |
1063 "sys_info_posix.cc", | 1058 "sys_info_posix.cc", |
1064 "trace_event/process_memory_totals_dump_provider.cc", | |
1065 "trace_event/trace_event_system_stats_monitor.cc", | 1059 "trace_event/trace_event_system_stats_monitor.cc", |
1066 ] | 1060 ] |
1067 | 1061 |
1068 if (is_nacl_nonsfi) { | 1062 if (is_nacl_nonsfi) { |
1069 set_sources_assignment_filter([]) | 1063 set_sources_assignment_filter([]) |
1070 sources += [ "posix/unix_domain_socket_linux.cc" ] | 1064 sources += [ "posix/unix_domain_socket_linux.cc" ] |
1071 set_sources_assignment_filter(sources_assignment_filter) | 1065 set_sources_assignment_filter(sources_assignment_filter) |
1072 sources -= [ "rand_util_nacl.cc" ] | 1066 sources -= [ "rand_util_nacl.cc" ] |
1073 configs += [ ":nacl_nonsfi_warnings" ] | 1067 configs += [ ":nacl_nonsfi_warnings" ] |
1074 } else { | 1068 } else { |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1183 "files/file_path_watcher_kqueue.cc", | 1177 "files/file_path_watcher_kqueue.cc", |
1184 "files/file_path_watcher_kqueue.h", | 1178 "files/file_path_watcher_kqueue.h", |
1185 ] | 1179 ] |
1186 } | 1180 } |
1187 | 1181 |
1188 # Linux. | 1182 # Linux. |
1189 if (is_linux) { | 1183 if (is_linux) { |
1190 sources += [ | 1184 sources += [ |
1191 "trace_event/malloc_dump_provider.cc", | 1185 "trace_event/malloc_dump_provider.cc", |
1192 "trace_event/malloc_dump_provider.h", | 1186 "trace_event/malloc_dump_provider.h", |
1193 "trace_event/process_memory_maps_dump_provider.cc", | |
1194 ] | 1187 ] |
1195 | 1188 |
1196 if (is_asan || is_lsan || is_msan || is_tsan) { | 1189 if (is_asan || is_lsan || is_msan || is_tsan) { |
1197 # For llvm-sanitizer. | 1190 # For llvm-sanitizer. |
1198 data += [ "//third_party/llvm-build/Release+Asserts/lib/libstdc++.so.6" ] | 1191 data += [ "//third_party/llvm-build/Release+Asserts/lib/libstdc++.so.6" ] |
1199 } | 1192 } |
1200 | 1193 |
1201 # TODO(brettw) this will need to be parameterized at some point. | 1194 # TODO(brettw) this will need to be parameterized at some point. |
1202 linux_configs = [] | 1195 linux_configs = [] |
1203 if (use_glib) { | 1196 if (use_glib) { |
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1820 "tools_sanity_unittest.cc", | 1813 "tools_sanity_unittest.cc", |
1821 "trace_event/heap_profiler_allocation_context_tracker_unittest.cc", | 1814 "trace_event/heap_profiler_allocation_context_tracker_unittest.cc", |
1822 "trace_event/heap_profiler_allocation_register_unittest.cc", | 1815 "trace_event/heap_profiler_allocation_register_unittest.cc", |
1823 "trace_event/heap_profiler_heap_dump_writer_unittest.cc", | 1816 "trace_event/heap_profiler_heap_dump_writer_unittest.cc", |
1824 "trace_event/heap_profiler_stack_frame_deduplicator_unittest.cc", | 1817 "trace_event/heap_profiler_stack_frame_deduplicator_unittest.cc", |
1825 "trace_event/heap_profiler_type_name_deduplicator_unittest.cc", | 1818 "trace_event/heap_profiler_type_name_deduplicator_unittest.cc", |
1826 "trace_event/java_heap_dump_provider_android_unittest.cc", | 1819 "trace_event/java_heap_dump_provider_android_unittest.cc", |
1827 "trace_event/memory_allocator_dump_unittest.cc", | 1820 "trace_event/memory_allocator_dump_unittest.cc", |
1828 "trace_event/memory_dump_manager_unittest.cc", | 1821 "trace_event/memory_dump_manager_unittest.cc", |
1829 "trace_event/process_memory_dump_unittest.cc", | 1822 "trace_event/process_memory_dump_unittest.cc", |
1830 "trace_event/process_memory_totals_dump_provider_unittest.cc", | |
1831 "trace_event/trace_config_memory_test_util.h", | 1823 "trace_event/trace_config_memory_test_util.h", |
1832 "trace_event/trace_config_unittest.cc", | 1824 "trace_event/trace_config_unittest.cc", |
1833 "trace_event/trace_event_argument_unittest.cc", | 1825 "trace_event/trace_event_argument_unittest.cc", |
1834 "trace_event/trace_event_synthetic_delay_unittest.cc", | 1826 "trace_event/trace_event_synthetic_delay_unittest.cc", |
1835 "trace_event/trace_event_system_stats_monitor_unittest.cc", | 1827 "trace_event/trace_event_system_stats_monitor_unittest.cc", |
1836 "trace_event/trace_event_unittest.cc", | 1828 "trace_event/trace_event_unittest.cc", |
1837 "trace_event/winheap_dump_provider_win_unittest.cc", | 1829 "trace_event/winheap_dump_provider_win_unittest.cc", |
1838 "tracked_objects_unittest.cc", | 1830 "tracked_objects_unittest.cc", |
1839 "tuple_unittest.cc", | 1831 "tuple_unittest.cc", |
1840 "values_unittest.cc", | 1832 "values_unittest.cc", |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1935 if (use_glib) { | 1927 if (use_glib) { |
1936 configs += [ "//build/config/linux:glib" ] | 1928 configs += [ "//build/config/linux:glib" ] |
1937 } | 1929 } |
1938 | 1930 |
1939 if (!is_component_build) { | 1931 if (!is_component_build) { |
1940 # Set rpath to find libmalloc_wrapper.so even in a non-component build. | 1932 # Set rpath to find libmalloc_wrapper.so even in a non-component build. |
1941 configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ] | 1933 configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ] |
1942 } | 1934 } |
1943 } | 1935 } |
1944 | 1936 |
1945 if (is_linux || is_android) { | |
1946 sources += [ "trace_event/process_memory_maps_dump_provider_unittest.cc" ] | |
1947 } | |
1948 | |
1949 if (!is_linux || use_ozone) { | 1937 if (!is_linux || use_ozone) { |
1950 sources -= [ "message_loop/message_pump_glib_unittest.cc" ] | 1938 sources -= [ "message_loop/message_pump_glib_unittest.cc" ] |
1951 } | 1939 } |
1952 | 1940 |
1953 if (is_posix && !is_ios) { | 1941 if (is_posix && !is_ios) { |
1954 sources += [ "message_loop/message_pump_libevent_unittest.cc" ] | 1942 sources += [ "message_loop/message_pump_libevent_unittest.cc" ] |
1955 deps += [ "//base/third_party/libevent" ] | 1943 deps += [ "//base/third_party/libevent" ] |
1956 } | 1944 } |
1957 | 1945 |
1958 if (is_android) { | 1946 if (is_android) { |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2147 | 2135 |
2148 # GYP: //base.gyp:base_java_unittest_support | 2136 # GYP: //base.gyp:base_java_unittest_support |
2149 android_library("base_java_unittest_support") { | 2137 android_library("base_java_unittest_support") { |
2150 deps = [ | 2138 deps = [ |
2151 ":base_java", | 2139 ":base_java", |
2152 ] | 2140 ] |
2153 java_files = | 2141 java_files = |
2154 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] | 2142 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] |
2155 } | 2143 } |
2156 } | 2144 } |
OLD | NEW |