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