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 824 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
835 "trace_event/memory_dump_manager.h", | 835 "trace_event/memory_dump_manager.h", |
836 "trace_event/memory_dump_provider.h", | 836 "trace_event/memory_dump_provider.h", |
837 "trace_event/memory_dump_request_args.cc", | 837 "trace_event/memory_dump_request_args.cc", |
838 "trace_event/memory_dump_request_args.h", | 838 "trace_event/memory_dump_request_args.h", |
839 "trace_event/memory_dump_session_state.cc", | 839 "trace_event/memory_dump_session_state.cc", |
840 "trace_event/memory_dump_session_state.h", | 840 "trace_event/memory_dump_session_state.h", |
841 "trace_event/process_memory_dump.cc", | 841 "trace_event/process_memory_dump.cc", |
842 "trace_event/process_memory_dump.h", | 842 "trace_event/process_memory_dump.h", |
843 "trace_event/process_memory_maps.cc", | 843 "trace_event/process_memory_maps.cc", |
844 "trace_event/process_memory_maps.h", | 844 "trace_event/process_memory_maps.h", |
| 845 "trace_event/process_memory_maps_dump_provider.h", |
845 "trace_event/process_memory_totals.cc", | 846 "trace_event/process_memory_totals.cc", |
846 "trace_event/process_memory_totals.h", | 847 "trace_event/process_memory_totals.h", |
| 848 "trace_event/process_memory_totals_dump_provider.cc", |
| 849 "trace_event/process_memory_totals_dump_provider.h", |
847 "trace_event/trace_buffer.cc", | 850 "trace_event/trace_buffer.cc", |
848 "trace_event/trace_buffer.h", | 851 "trace_event/trace_buffer.h", |
849 "trace_event/trace_config.cc", | 852 "trace_event/trace_config.cc", |
850 "trace_event/trace_config.h", | 853 "trace_event/trace_config.h", |
851 "trace_event/trace_event.h", | 854 "trace_event/trace_event.h", |
852 "trace_event/trace_event_android.cc", | 855 "trace_event/trace_event_android.cc", |
853 "trace_event/trace_event_argument.cc", | 856 "trace_event/trace_event_argument.cc", |
854 "trace_event/trace_event_argument.h", | 857 "trace_event/trace_event_argument.h", |
855 "trace_event/trace_event_etw_export_win.cc", | 858 "trace_event/trace_event_etw_export_win.cc", |
856 "trace_event/trace_event_etw_export_win.h", | 859 "trace_event/trace_event_etw_export_win.h", |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
977 "files/file_path_watcher_linux.cc", | 980 "files/file_path_watcher_linux.cc", |
978 "posix/unix_domain_socket_linux.cc", | 981 "posix/unix_domain_socket_linux.cc", |
979 "process/internal_linux.cc", | 982 "process/internal_linux.cc", |
980 "process/memory_linux.cc", | 983 "process/memory_linux.cc", |
981 "process/process_handle_linux.cc", | 984 "process/process_handle_linux.cc", |
982 "process/process_iterator_linux.cc", | 985 "process/process_iterator_linux.cc", |
983 "process/process_metrics_linux.cc", | 986 "process/process_metrics_linux.cc", |
984 "sys_info_linux.cc", | 987 "sys_info_linux.cc", |
985 "trace_event/malloc_dump_provider.cc", | 988 "trace_event/malloc_dump_provider.cc", |
986 "trace_event/malloc_dump_provider.h", | 989 "trace_event/malloc_dump_provider.h", |
| 990 "trace_event/process_memory_maps_dump_provider.cc", |
987 ] | 991 ] |
988 set_sources_assignment_filter(sources_assignment_filter) | 992 set_sources_assignment_filter(sources_assignment_filter) |
989 | 993 |
990 deps += [ | 994 deps += [ |
991 ":base_jni_headers", | 995 ":base_jni_headers", |
992 "//third_party/android_tools:cpu_features", | 996 "//third_party/android_tools:cpu_features", |
993 "//third_party/ashmem", | 997 "//third_party/ashmem", |
994 ] | 998 ] |
995 | 999 |
996 # Needs to be a public config so that dependent targets link against it as | 1000 # 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... |
1043 "process/memory.h", | 1047 "process/memory.h", |
1044 "process/process_iterator.cc", | 1048 "process/process_iterator.cc", |
1045 "process/process_iterator.h", | 1049 "process/process_iterator.h", |
1046 "process/process_metrics.cc", | 1050 "process/process_metrics.cc", |
1047 "process/process_metrics_posix.cc", | 1051 "process/process_metrics_posix.cc", |
1048 "process/process_posix.cc", | 1052 "process/process_posix.cc", |
1049 "scoped_native_library.cc", | 1053 "scoped_native_library.cc", |
1050 "sync_socket_posix.cc", | 1054 "sync_socket_posix.cc", |
1051 "sys_info.cc", | 1055 "sys_info.cc", |
1052 "sys_info_posix.cc", | 1056 "sys_info_posix.cc", |
| 1057 "trace_event/process_memory_totals_dump_provider.cc", |
1053 "trace_event/trace_event_system_stats_monitor.cc", | 1058 "trace_event/trace_event_system_stats_monitor.cc", |
1054 ] | 1059 ] |
1055 | 1060 |
1056 if (is_nacl_nonsfi) { | 1061 if (is_nacl_nonsfi) { |
1057 set_sources_assignment_filter([]) | 1062 set_sources_assignment_filter([]) |
1058 sources += [ "posix/unix_domain_socket_linux.cc" ] | 1063 sources += [ "posix/unix_domain_socket_linux.cc" ] |
1059 set_sources_assignment_filter(sources_assignment_filter) | 1064 set_sources_assignment_filter(sources_assignment_filter) |
1060 sources -= [ "rand_util_nacl.cc" ] | 1065 sources -= [ "rand_util_nacl.cc" ] |
1061 configs += [ ":nacl_nonsfi_warnings" ] | 1066 configs += [ ":nacl_nonsfi_warnings" ] |
1062 } else { | 1067 } else { |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1171 "files/file_path_watcher_kqueue.cc", | 1176 "files/file_path_watcher_kqueue.cc", |
1172 "files/file_path_watcher_kqueue.h", | 1177 "files/file_path_watcher_kqueue.h", |
1173 ] | 1178 ] |
1174 } | 1179 } |
1175 | 1180 |
1176 # Linux. | 1181 # Linux. |
1177 if (is_linux) { | 1182 if (is_linux) { |
1178 sources += [ | 1183 sources += [ |
1179 "trace_event/malloc_dump_provider.cc", | 1184 "trace_event/malloc_dump_provider.cc", |
1180 "trace_event/malloc_dump_provider.h", | 1185 "trace_event/malloc_dump_provider.h", |
| 1186 "trace_event/process_memory_maps_dump_provider.cc", |
1181 ] | 1187 ] |
1182 | 1188 |
1183 if (is_asan || is_lsan || is_msan || is_tsan) { | 1189 if (is_asan || is_lsan || is_msan || is_tsan) { |
1184 # For llvm-sanitizer. | 1190 # For llvm-sanitizer. |
1185 data += [ "//third_party/llvm-build/Release+Asserts/lib/libstdc++.so.6" ] | 1191 data += [ "//third_party/llvm-build/Release+Asserts/lib/libstdc++.so.6" ] |
1186 } | 1192 } |
1187 | 1193 |
1188 # TODO(brettw) this will need to be parameterized at some point. | 1194 # TODO(brettw) this will need to be parameterized at some point. |
1189 linux_configs = [] | 1195 linux_configs = [] |
1190 if (use_glib) { | 1196 if (use_glib) { |
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1807 "tools_sanity_unittest.cc", | 1813 "tools_sanity_unittest.cc", |
1808 "trace_event/heap_profiler_allocation_context_tracker_unittest.cc", | 1814 "trace_event/heap_profiler_allocation_context_tracker_unittest.cc", |
1809 "trace_event/heap_profiler_allocation_register_unittest.cc", | 1815 "trace_event/heap_profiler_allocation_register_unittest.cc", |
1810 "trace_event/heap_profiler_heap_dump_writer_unittest.cc", | 1816 "trace_event/heap_profiler_heap_dump_writer_unittest.cc", |
1811 "trace_event/heap_profiler_stack_frame_deduplicator_unittest.cc", | 1817 "trace_event/heap_profiler_stack_frame_deduplicator_unittest.cc", |
1812 "trace_event/heap_profiler_type_name_deduplicator_unittest.cc", | 1818 "trace_event/heap_profiler_type_name_deduplicator_unittest.cc", |
1813 "trace_event/java_heap_dump_provider_android_unittest.cc", | 1819 "trace_event/java_heap_dump_provider_android_unittest.cc", |
1814 "trace_event/memory_allocator_dump_unittest.cc", | 1820 "trace_event/memory_allocator_dump_unittest.cc", |
1815 "trace_event/memory_dump_manager_unittest.cc", | 1821 "trace_event/memory_dump_manager_unittest.cc", |
1816 "trace_event/process_memory_dump_unittest.cc", | 1822 "trace_event/process_memory_dump_unittest.cc", |
| 1823 "trace_event/process_memory_totals_dump_provider_unittest.cc", |
1817 "trace_event/trace_config_memory_test_util.h", | 1824 "trace_event/trace_config_memory_test_util.h", |
1818 "trace_event/trace_config_unittest.cc", | 1825 "trace_event/trace_config_unittest.cc", |
1819 "trace_event/trace_event_argument_unittest.cc", | 1826 "trace_event/trace_event_argument_unittest.cc", |
1820 "trace_event/trace_event_synthetic_delay_unittest.cc", | 1827 "trace_event/trace_event_synthetic_delay_unittest.cc", |
1821 "trace_event/trace_event_system_stats_monitor_unittest.cc", | 1828 "trace_event/trace_event_system_stats_monitor_unittest.cc", |
1822 "trace_event/trace_event_unittest.cc", | 1829 "trace_event/trace_event_unittest.cc", |
1823 "trace_event/winheap_dump_provider_win_unittest.cc", | 1830 "trace_event/winheap_dump_provider_win_unittest.cc", |
1824 "tracked_objects_unittest.cc", | 1831 "tracked_objects_unittest.cc", |
1825 "tuple_unittest.cc", | 1832 "tuple_unittest.cc", |
1826 "values_unittest.cc", | 1833 "values_unittest.cc", |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1921 if (use_glib) { | 1928 if (use_glib) { |
1922 configs += [ "//build/config/linux:glib" ] | 1929 configs += [ "//build/config/linux:glib" ] |
1923 } | 1930 } |
1924 | 1931 |
1925 if (!is_component_build) { | 1932 if (!is_component_build) { |
1926 # Set rpath to find libmalloc_wrapper.so even in a non-component build. | 1933 # Set rpath to find libmalloc_wrapper.so even in a non-component build. |
1927 configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ] | 1934 configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ] |
1928 } | 1935 } |
1929 } | 1936 } |
1930 | 1937 |
| 1938 if (is_linux || is_android) { |
| 1939 sources += [ "trace_event/process_memory_maps_dump_provider_unittest.cc" ] |
| 1940 } |
| 1941 |
1931 if (!is_linux || use_ozone) { | 1942 if (!is_linux || use_ozone) { |
1932 sources -= [ "message_loop/message_pump_glib_unittest.cc" ] | 1943 sources -= [ "message_loop/message_pump_glib_unittest.cc" ] |
1933 } | 1944 } |
1934 | 1945 |
1935 if (is_posix && !is_ios) { | 1946 if (is_posix && !is_ios) { |
1936 sources += [ "message_loop/message_pump_libevent_unittest.cc" ] | 1947 sources += [ "message_loop/message_pump_libevent_unittest.cc" ] |
1937 deps += [ "//base/third_party/libevent" ] | 1948 deps += [ "//base/third_party/libevent" ] |
1938 } | 1949 } |
1939 | 1950 |
1940 if (is_android) { | 1951 if (is_android) { |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2129 | 2140 |
2130 # GYP: //base.gyp:base_java_unittest_support | 2141 # GYP: //base.gyp:base_java_unittest_support |
2131 android_library("base_java_unittest_support") { | 2142 android_library("base_java_unittest_support") { |
2132 deps = [ | 2143 deps = [ |
2133 ":base_java", | 2144 ":base_java", |
2134 ] | 2145 ] |
2135 java_files = | 2146 java_files = |
2136 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] | 2147 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] |
2137 } | 2148 } |
2138 } | 2149 } |
OLD | NEW |