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

Side by Side Diff: base/BUILD.gn

Issue 2389033003: Build FileDescriptorWatcher for NaCl non-SFI (Closed)
Patch Set: Created 4 years, 2 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 | « no previous file | no next file » | 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 1106 matching lines...) Expand 10 before | Expand all | Expand 10 after
1117 "threading/platform_thread_linux.cc", 1117 "threading/platform_thread_linux.cc",
1118 ] 1118 ]
1119 set_sources_assignment_filter(sources_assignment_filter) 1119 set_sources_assignment_filter(sources_assignment_filter)
1120 1120
1121 sources -= [ 1121 sources -= [
1122 "cpu.cc", 1122 "cpu.cc",
1123 "debug/crash_logging.cc", 1123 "debug/crash_logging.cc",
1124 "debug/crash_logging.h", 1124 "debug/crash_logging.h",
1125 "debug/stack_trace.cc", 1125 "debug/stack_trace.cc",
1126 "debug/stack_trace_posix.cc", 1126 "debug/stack_trace_posix.cc",
1127 "files/file_descriptor_watcher_posix.cc",
1128 "files/file_descriptor_watcher_posix.h",
1129 "files/file_enumerator_posix.cc", 1127 "files/file_enumerator_posix.cc",
1130 "files/file_proxy.cc", 1128 "files/file_proxy.cc",
1131 "files/file_util_proxy.cc", 1129 "files/file_util_proxy.cc",
1132 "files/important_file_writer.cc", 1130 "files/important_file_writer.cc",
1133 "files/important_file_writer.h", 1131 "files/important_file_writer.h",
1134 "files/scoped_temp_dir.cc", 1132 "files/scoped_temp_dir.cc",
1135 "memory/discardable_memory.cc", 1133 "memory/discardable_memory.cc",
1136 "memory/discardable_memory.h", 1134 "memory/discardable_memory.h",
1137 "memory/discardable_memory_allocator.cc", 1135 "memory/discardable_memory_allocator.cc",
1138 "memory/discardable_memory_allocator.h", 1136 "memory/discardable_memory_allocator.h",
(...skipping 21 matching lines...) Expand all
1160 ] 1158 ]
1161 1159
1162 if (is_nacl_nonsfi) { 1160 if (is_nacl_nonsfi) {
1163 set_sources_assignment_filter([]) 1161 set_sources_assignment_filter([])
1164 sources += [ "posix/unix_domain_socket_linux.cc" ] 1162 sources += [ "posix/unix_domain_socket_linux.cc" ]
1165 set_sources_assignment_filter(sources_assignment_filter) 1163 set_sources_assignment_filter(sources_assignment_filter)
1166 sources -= [ "rand_util_nacl.cc" ] 1164 sources -= [ "rand_util_nacl.cc" ]
1167 configs += [ ":nacl_nonsfi_warnings" ] 1165 configs += [ ":nacl_nonsfi_warnings" ]
1168 } else { 1166 } else {
1169 sources -= [ 1167 sources -= [
1168 "files/file_descriptor_watcher_posix.cc",
1169 "files/file_descriptor_watcher_posix.h",
1170 "files/file_util.cc", 1170 "files/file_util.cc",
1171 "files/file_util.h", 1171 "files/file_util.h",
1172 "files/file_util_posix.cc", 1172 "files/file_util_posix.cc",
1173 "json/json_file_value_serializer.cc", 1173 "json/json_file_value_serializer.cc",
1174 "json/json_file_value_serializer.h", 1174 "json/json_file_value_serializer.h",
1175 "message_loop/message_pump_libevent.cc", 1175 "message_loop/message_pump_libevent.cc",
1176 "message_loop/message_pump_libevent.h", 1176 "message_loop/message_pump_libevent.h",
1177 "process/kill_posix.cc", 1177 "process/kill_posix.cc",
1178 "process/launch.cc", 1178 "process/launch.cc",
1179 "process/launch.h", 1179 "process/launch.h",
(...skipping 1269 matching lines...) Expand 10 before | Expand all | Expand 10 after
2449 testonly = true 2449 testonly = true
2450 deps = [ 2450 deps = [
2451 ":base_java", 2451 ":base_java",
2452 ] 2452 ]
2453 java_files = [ 2453 java_files = [
2454 "test/android/java/src/org/chromium/base/ContentUriTestUtils.java", 2454 "test/android/java/src/org/chromium/base/ContentUriTestUtils.java",
2455 "test/android/java/src/org/chromium/base/TestSystemMessageHandler.java", 2455 "test/android/java/src/org/chromium/base/TestSystemMessageHandler.java",
2456 ] 2456 ]
2457 } 2457 }
2458 } 2458 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698