Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 1 | # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | { |
| 6 | 'target_defaults': { |
| 7 | 'variables': { |
| 8 | 'base_target': 0, |
| 9 | }, |
| 10 | 'target_conditions': [ |
| 11 | # This part is shared between the targets defined below. |
| 12 | ['base_target==1', { |
| 13 | 'sources': [ |
| 14 | '../build/build_config.h', |
| 15 | 'third_party/dmg_fp/dmg_fp.h', |
| 16 | 'third_party/dmg_fp/g_fmt.cc', |
| 17 | 'third_party/dmg_fp/dtoa_wrapper.cc', |
| 18 | 'third_party/icu/icu_utf.cc', |
| 19 | 'third_party/icu/icu_utf.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 20 | 'third_party/nspr/prcpucfg.h', |
| 21 | 'third_party/nspr/prcpucfg_freebsd.h', |
| 22 | 'third_party/nspr/prcpucfg_linux.h', |
| 23 | 'third_party/nspr/prcpucfg_mac.h', |
| 24 | 'third_party/nspr/prcpucfg_nacl.h', |
| 25 | 'third_party/nspr/prcpucfg_openbsd.h', |
| 26 | 'third_party/nspr/prcpucfg_solaris.h', |
| 27 | 'third_party/nspr/prcpucfg_win.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 28 | 'third_party/nspr/prtime.cc', |
| 29 | 'third_party/nspr/prtime.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 30 | 'third_party/nspr/prtypes.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 31 | 'third_party/xdg_mime/xdgmime.h', |
| 32 | 'allocator/allocator_extension.cc', |
| 33 | 'allocator/allocator_extension.h', |
| 34 | 'allocator/type_profiler_control.cc', |
| 35 | 'allocator/type_profiler_control.h', |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 36 | 'android/activity_status.cc', |
| 37 | 'android/activity_status.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 38 | 'android/base_jni_registrar.cc', |
| 39 | 'android/base_jni_registrar.h', |
| 40 | 'android/build_info.cc', |
| 41 | 'android/build_info.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 42 | 'android/cpu_features.cc', |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 43 | 'android/fifo_utils.cc', |
| 44 | 'android/fifo_utils.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 45 | 'android/important_file_writer_android.cc', |
| 46 | 'android/important_file_writer_android.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 47 | 'android/scoped_java_ref.cc', |
| 48 | 'android/scoped_java_ref.h', |
| 49 | 'android/jni_android.cc', |
| 50 | 'android/jni_android.h', |
| 51 | 'android/jni_array.cc', |
| 52 | 'android/jni_array.h', |
| 53 | 'android/jni_helper.cc', |
| 54 | 'android/jni_helper.h', |
| 55 | 'android/jni_registrar.cc', |
| 56 | 'android/jni_registrar.h', |
| 57 | 'android/jni_string.cc', |
| 58 | 'android/jni_string.h', |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 59 | 'android/memory_pressure_listener_android.cc', |
| 60 | 'android/memory_pressure_listener_android.h', |
Ben Murdoch | bb1529c | 2013-08-08 10:24:53 +0100 | [diff] [blame^] | 61 | 'android/java_handler_thread.cc', |
| 62 | 'android/java_handler_thread.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 63 | 'android/path_service_android.cc', |
| 64 | 'android/path_service_android.h', |
| 65 | 'android/path_utils.cc', |
| 66 | 'android/path_utils.h', |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 67 | 'android/sys_utils.cc', |
| 68 | 'android/sys_utils.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 69 | 'android/thread_utils.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 70 | 'at_exit.cc', |
| 71 | 'at_exit.h', |
| 72 | 'atomic_ref_count.h', |
| 73 | 'atomic_sequence_num.h', |
| 74 | 'atomicops.h', |
| 75 | 'atomicops_internals_gcc.h', |
| 76 | 'atomicops_internals_mac.h', |
| 77 | 'atomicops_internals_tsan.h', |
| 78 | 'atomicops_internals_x86_gcc.cc', |
| 79 | 'atomicops_internals_x86_gcc.h', |
| 80 | 'atomicops_internals_x86_msvc.h', |
| 81 | 'base_export.h', |
| 82 | 'base_paths.cc', |
| 83 | 'base_paths.h', |
| 84 | 'base_paths_android.cc', |
| 85 | 'base_paths_android.h', |
| 86 | 'base_paths_mac.h', |
| 87 | 'base_paths_mac.mm', |
| 88 | 'base_paths_posix.cc', |
| 89 | 'base_paths_posix.h', |
| 90 | 'base_paths_win.cc', |
| 91 | 'base_paths_win.h', |
| 92 | 'base_switches.h', |
| 93 | 'base64.cc', |
| 94 | 'base64.h', |
| 95 | 'basictypes.h', |
| 96 | 'bind.h', |
| 97 | 'bind_helpers.cc', |
| 98 | 'bind_helpers.h', |
| 99 | 'bind_internal.h', |
| 100 | 'bind_internal_win.h', |
| 101 | 'bits.h', |
| 102 | 'build_time.cc', |
| 103 | 'build_time.h', |
| 104 | 'callback.h', |
| 105 | 'callback_helpers.h', |
| 106 | 'callback_internal.cc', |
| 107 | 'callback_internal.h', |
| 108 | 'cancelable_callback.h', |
| 109 | 'chromeos/chromeos_version.cc', |
| 110 | 'chromeos/chromeos_version.h', |
| 111 | 'command_line.cc', |
| 112 | 'command_line.h', |
| 113 | 'compiler_specific.h', |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 114 | 'containers/hash_tables.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 115 | 'containers/linked_list.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 116 | 'containers/mru_cache.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 117 | 'containers/small_map.h', |
| 118 | 'containers/stack_container.h', |
| 119 | 'cpu.cc', |
| 120 | 'cpu.h', |
| 121 | 'critical_closure.h', |
| 122 | 'critical_closure_ios.mm', |
| 123 | 'debug/alias.cc', |
| 124 | 'debug/alias.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 125 | 'debug/crash_logging.cc', |
| 126 | 'debug/crash_logging.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 127 | 'debug/debug_on_start_win.cc', |
| 128 | 'debug/debug_on_start_win.h', |
| 129 | 'debug/debugger.cc', |
| 130 | 'debug/debugger.h', |
| 131 | 'debug/debugger_posix.cc', |
| 132 | 'debug/debugger_win.cc', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 133 | # This file depends on files from the 'allocator' target, |
| 134 | # but this target does not depend on 'allocator' (see |
| 135 | # allocator.gyp for details). |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 136 | 'debug/leak_annotations.h', |
| 137 | 'debug/leak_tracker.h', |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 138 | 'debug/proc_maps_linux.cc', |
| 139 | 'debug/proc_maps_linux.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 140 | 'debug/profiler.cc', |
| 141 | 'debug/profiler.h', |
| 142 | 'debug/stack_trace.cc', |
| 143 | 'debug/stack_trace.h', |
| 144 | 'debug/stack_trace_android.cc', |
| 145 | 'debug/stack_trace_ios.mm', |
| 146 | 'debug/stack_trace_posix.cc', |
| 147 | 'debug/stack_trace_win.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 148 | 'debug/trace_event.h', |
| 149 | 'debug/trace_event_android.cc', |
| 150 | 'debug/trace_event_impl.cc', |
| 151 | 'debug/trace_event_impl.h', |
Torne (Richard Coles) | 90dce4d | 2013-05-29 14:40:03 +0100 | [diff] [blame] | 152 | 'debug/trace_event_impl_constants.cc', |
Ben Murdoch | bbcdd45 | 2013-07-25 10:06:34 +0100 | [diff] [blame] | 153 | 'debug/trace_event_memory.cc', |
| 154 | 'debug/trace_event_memory.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 155 | 'debug/trace_event_win.cc', |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 156 | 'deferred_sequenced_task_runner.cc', |
| 157 | 'deferred_sequenced_task_runner.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 158 | 'environment.cc', |
| 159 | 'environment.h', |
| 160 | 'file_descriptor_posix.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 161 | 'file_util.cc', |
| 162 | 'file_util.h', |
| 163 | 'file_util_android.cc', |
| 164 | 'file_util_linux.cc', |
| 165 | 'file_util_mac.mm', |
| 166 | 'file_util_posix.cc', |
| 167 | 'file_util_win.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 168 | 'file_version_info.h', |
| 169 | 'file_version_info_mac.h', |
| 170 | 'file_version_info_mac.mm', |
| 171 | 'file_version_info_win.cc', |
| 172 | 'file_version_info_win.h', |
| 173 | 'files/dir_reader_fallback.h', |
| 174 | 'files/dir_reader_linux.h', |
| 175 | 'files/dir_reader_posix.h', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 176 | 'files/file_enumerator.cc', |
| 177 | 'files/file_enumerator.h', |
| 178 | 'files/file_enumerator_posix.cc', |
| 179 | 'files/file_enumerator_win.cc', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 180 | 'files/file_path.cc', |
| 181 | 'files/file_path.h', |
Torne (Richard Coles) | 90dce4d | 2013-05-29 14:40:03 +0100 | [diff] [blame] | 182 | 'files/file_path_constants.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 183 | 'files/file_path_watcher.cc', |
| 184 | 'files/file_path_watcher.h', |
| 185 | 'files/file_path_watcher_kqueue.cc', |
| 186 | 'files/file_path_watcher_linux.cc', |
| 187 | 'files/file_path_watcher_stub.cc', |
| 188 | 'files/file_path_watcher_win.cc', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 189 | 'files/file_util_proxy.cc', |
| 190 | 'files/file_util_proxy.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 191 | 'files/important_file_writer.h', |
| 192 | 'files/important_file_writer.cc', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 193 | 'files/memory_mapped_file.cc', |
| 194 | 'files/memory_mapped_file.h', |
| 195 | 'files/memory_mapped_file_posix.cc', |
| 196 | 'files/memory_mapped_file_win.cc', |
Ben Murdoch | 558790d | 2013-07-30 15:19:42 +0100 | [diff] [blame] | 197 | 'files/scoped_platform_file_closer.cc', |
| 198 | 'files/scoped_platform_file_closer.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 199 | 'files/scoped_temp_dir.cc', |
| 200 | 'files/scoped_temp_dir.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 201 | 'float_util.h', |
| 202 | 'format_macros.h', |
| 203 | 'gtest_prod_util.h', |
| 204 | 'guid.cc', |
| 205 | 'guid.h', |
| 206 | 'guid_posix.cc', |
| 207 | 'guid_win.cc', |
| 208 | 'hash.cc', |
| 209 | 'hash.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 210 | 'id_map.h', |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 211 | 'ini_parser.cc', |
| 212 | 'ini_parser.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 213 | 'ios/device_util.h', |
| 214 | 'ios/device_util.mm', |
| 215 | 'ios/ios_util.h', |
| 216 | 'ios/ios_util.mm', |
| 217 | 'ios/scoped_critical_action.h', |
| 218 | 'ios/scoped_critical_action.mm', |
| 219 | 'json/json_file_value_serializer.cc', |
| 220 | 'json/json_file_value_serializer.h', |
| 221 | 'json/json_parser.cc', |
| 222 | 'json/json_parser.h', |
| 223 | 'json/json_reader.cc', |
| 224 | 'json/json_reader.h', |
| 225 | 'json/json_string_value_serializer.cc', |
| 226 | 'json/json_string_value_serializer.h', |
| 227 | 'json/json_value_converter.h', |
| 228 | 'json/json_writer.cc', |
| 229 | 'json/json_writer.h', |
| 230 | 'json/string_escape.cc', |
| 231 | 'json/string_escape.h', |
| 232 | 'lazy_instance.cc', |
| 233 | 'lazy_instance.h', |
| 234 | 'location.cc', |
| 235 | 'location.h', |
| 236 | 'logging.cc', |
| 237 | 'logging.h', |
| 238 | 'logging_win.cc', |
| 239 | 'logging_win.h', |
| 240 | 'mac/authorization_util.h', |
| 241 | 'mac/authorization_util.mm', |
| 242 | 'mac/bind_objc_block.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 243 | 'mac/bundle_locations.h', |
| 244 | 'mac/bundle_locations.mm', |
| 245 | 'mac/cocoa_protocols.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 246 | 'mac/foundation_util.h', |
| 247 | 'mac/foundation_util.mm', |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 248 | 'mac/launch_services_util.cc', |
| 249 | 'mac/launch_services_util.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 250 | 'mac/launchd.cc', |
| 251 | 'mac/launchd.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 252 | 'mac/libdispatch_task_runner.cc', |
| 253 | 'mac/libdispatch_task_runner.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 254 | 'mac/mac_logging.h', |
| 255 | 'mac/mac_logging.cc', |
| 256 | 'mac/mac_util.h', |
| 257 | 'mac/mac_util.mm', |
| 258 | 'mac/objc_property_releaser.h', |
| 259 | 'mac/objc_property_releaser.mm', |
| 260 | 'mac/os_crash_dumps.cc', |
| 261 | 'mac/os_crash_dumps.h', |
| 262 | 'mac/scoped_aedesc.h', |
| 263 | 'mac/scoped_authorizationref.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 264 | 'mac/scoped_block.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 265 | 'mac/scoped_cftyperef.h', |
| 266 | 'mac/scoped_ioobject.h', |
Torne (Richard Coles) | 90dce4d | 2013-05-29 14:40:03 +0100 | [diff] [blame] | 267 | 'mac/scoped_ioplugininterface.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 268 | 'mac/scoped_launch_data.h', |
| 269 | 'mac/scoped_mach_port.cc', |
| 270 | 'mac/scoped_mach_port.h', |
| 271 | 'mac/scoped_nsautorelease_pool.h', |
| 272 | 'mac/scoped_nsautorelease_pool.mm', |
| 273 | 'mac/scoped_nsexception_enabler.h', |
| 274 | 'mac/scoped_nsexception_enabler.mm', |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 275 | 'mac/scoped_nsobject.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 276 | 'mac/scoped_sending_event.h', |
| 277 | 'mac/scoped_sending_event.mm', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 278 | 'mac/sdk_forward_declarations.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 279 | 'memory/aligned_memory.cc', |
| 280 | 'memory/aligned_memory.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 281 | 'memory/discardable_memory.cc', |
| 282 | 'memory/discardable_memory.h', |
| 283 | 'memory/discardable_memory_android.cc', |
| 284 | 'memory/discardable_memory_mac.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 285 | 'memory/linked_ptr.h', |
| 286 | 'memory/manual_constructor.h', |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 287 | 'memory/memory_pressure_listener.cc', |
| 288 | 'memory/memory_pressure_listener.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 289 | 'memory/raw_scoped_refptr_mismatch_checker.h', |
| 290 | 'memory/ref_counted.cc', |
| 291 | 'memory/ref_counted.h', |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 292 | 'memory/ref_counted_delete_on_message_loop.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 293 | 'memory/ref_counted_memory.cc', |
| 294 | 'memory/ref_counted_memory.h', |
| 295 | 'memory/scoped_handle.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 296 | 'memory/scoped_open_process.h', |
| 297 | 'memory/scoped_policy.h', |
| 298 | 'memory/scoped_ptr.h', |
| 299 | 'memory/scoped_vector.h', |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 300 | 'memory/shared_memory.h', |
| 301 | 'memory/shared_memory_android.cc', |
| 302 | 'memory/shared_memory_nacl.cc', |
| 303 | 'memory/shared_memory_posix.cc', |
| 304 | 'memory/shared_memory_win.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 305 | 'memory/singleton.cc', |
| 306 | 'memory/singleton.h', |
| 307 | 'memory/weak_ptr.cc', |
| 308 | 'memory/weak_ptr.h', |
Ben Murdoch | ca12bfa | 2013-07-23 11:17:05 +0100 | [diff] [blame] | 309 | 'message_loop/incoming_task_queue.cc', |
| 310 | 'message_loop/incoming_task_queue.h', |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 311 | 'message_loop/message_loop.cc', |
| 312 | 'message_loop/message_loop.h', |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 313 | 'message_loop/message_loop_proxy.cc', |
| 314 | 'message_loop/message_loop_proxy.h', |
| 315 | 'message_loop/message_loop_proxy_impl.cc', |
| 316 | 'message_loop/message_loop_proxy_impl.h', |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 317 | 'message_loop/message_pump.cc', |
| 318 | 'message_loop/message_pump.h', |
| 319 | 'message_loop/message_pump_android.cc', |
| 320 | 'message_loop/message_pump_android.h', |
| 321 | 'message_loop/message_pump_default.cc', |
| 322 | 'message_loop/message_pump_default.h', |
| 323 | 'message_loop/message_pump_ozone.cc', |
| 324 | 'message_loop/message_pump_ozone.h', |
| 325 | 'message_loop/message_pump_win.cc', |
| 326 | 'message_loop/message_pump_win.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 327 | 'metrics/sample_map.cc', |
| 328 | 'metrics/sample_map.h', |
| 329 | 'metrics/sample_vector.cc', |
| 330 | 'metrics/sample_vector.h', |
| 331 | 'metrics/bucket_ranges.cc', |
| 332 | 'metrics/bucket_ranges.h', |
| 333 | 'metrics/histogram.cc', |
| 334 | 'metrics/histogram.h', |
| 335 | 'metrics/histogram_base.cc', |
| 336 | 'metrics/histogram_base.h', |
| 337 | 'metrics/histogram_flattener.h', |
| 338 | 'metrics/histogram_samples.cc', |
| 339 | 'metrics/histogram_samples.h', |
| 340 | 'metrics/histogram_snapshot_manager.cc', |
| 341 | 'metrics/histogram_snapshot_manager.h', |
| 342 | 'metrics/sparse_histogram.cc', |
| 343 | 'metrics/sparse_histogram.h', |
| 344 | 'metrics/statistics_recorder.cc', |
| 345 | 'metrics/statistics_recorder.h', |
| 346 | 'metrics/stats_counters.cc', |
| 347 | 'metrics/stats_counters.h', |
| 348 | 'metrics/stats_table.cc', |
| 349 | 'metrics/stats_table.h', |
| 350 | 'move.h', |
| 351 | 'native_library.h', |
| 352 | 'native_library_mac.mm', |
| 353 | 'native_library_posix.cc', |
| 354 | 'native_library_win.cc', |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 355 | 'nix/mime_util_xdg.cc', |
| 356 | 'nix/mime_util_xdg.h', |
| 357 | 'nix/xdg_util.cc', |
| 358 | 'nix/xdg_util.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 359 | 'observer_list.h', |
| 360 | 'observer_list_threadsafe.h', |
| 361 | 'os_compat_android.cc', |
| 362 | 'os_compat_android.h', |
| 363 | 'os_compat_nacl.cc', |
| 364 | 'os_compat_nacl.h', |
| 365 | 'path_service.cc', |
| 366 | 'path_service.h', |
| 367 | 'pending_task.cc', |
| 368 | 'pending_task.h', |
| 369 | 'pickle.cc', |
| 370 | 'pickle.h', |
| 371 | 'platform_file.cc', |
| 372 | 'platform_file.h', |
| 373 | 'platform_file_posix.cc', |
| 374 | 'platform_file_win.cc', |
| 375 | 'port.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 376 | 'posix/eintr_wrapper.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 377 | 'posix/global_descriptors.cc', |
| 378 | 'posix/global_descriptors.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 379 | 'posix/unix_domain_socket_linux.cc', |
| 380 | 'posix/unix_domain_socket_linux.h', |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 381 | 'power_monitor/power_monitor.cc', |
| 382 | 'power_monitor/power_monitor.h', |
Torne (Richard Coles) | a36e592 | 2013-08-05 13:57:33 +0100 | [diff] [blame] | 383 | 'power_monitor/power_monitor_device_source_android.cc', |
| 384 | 'power_monitor/power_monitor_device_source_android.h', |
| 385 | 'power_monitor/power_monitor_device_source.cc', |
| 386 | 'power_monitor/power_monitor_device_source.h', |
| 387 | 'power_monitor/power_monitor_device_source_ios.mm', |
| 388 | 'power_monitor/power_monitor_device_source_mac.mm', |
| 389 | 'power_monitor/power_monitor_device_source_posix.cc', |
| 390 | 'power_monitor/power_monitor_device_source_win.cc', |
| 391 | 'power_monitor/power_monitor_source.cc', |
| 392 | 'power_monitor/power_monitor_source.h', |
| 393 | 'power_monitor/power_monitor_test_base.cc', |
| 394 | 'power_monitor/power_monitor_test_base.h', |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 395 | 'power_monitor/power_observer.h', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 396 | 'process/internal_linux.cc', |
| 397 | 'process/internal_linux.h', |
Ben Murdoch | 7dbb3d5 | 2013-07-17 14:55:54 +0100 | [diff] [blame] | 398 | 'process/kill.cc', |
| 399 | 'process/kill.h', |
| 400 | 'process/kill_mac.cc', |
| 401 | 'process/kill_posix.cc', |
| 402 | 'process/kill_win.cc', |
Ben Murdoch | 9ab5563 | 2013-07-18 11:57:30 +0100 | [diff] [blame] | 403 | 'process/launch.h', |
| 404 | 'process/launch_ios.cc', |
| 405 | 'process/launch_mac.cc', |
| 406 | 'process/launch_posix.cc', |
| 407 | 'process/launch_win.cc', |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 408 | 'process/memory.h', |
| 409 | 'process/memory_linux.cc', |
| 410 | 'process/memory_mac.mm', |
| 411 | 'process/memory_win.cc', |
Ben Murdoch | ca12bfa | 2013-07-23 11:17:05 +0100 | [diff] [blame] | 412 | 'process/process.h', |
Ben Murdoch | 7dbb3d5 | 2013-07-17 14:55:54 +0100 | [diff] [blame] | 413 | 'process/process_handle_freebsd.cc', |
| 414 | 'process/process_handle_linux.cc', |
| 415 | 'process/process_handle_mac.cc', |
| 416 | 'process/process_handle_openbsd.cc', |
| 417 | 'process/process_handle_posix.cc', |
| 418 | 'process/process_handle_win.cc', |
Ben Murdoch | ca12bfa | 2013-07-23 11:17:05 +0100 | [diff] [blame] | 419 | 'process/process_info.h', |
| 420 | 'process/process_info_mac.cc', |
| 421 | 'process/process_info_win.cc', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 422 | 'process/process_iterator.cc', |
| 423 | 'process/process_iterator.h', |
| 424 | 'process/process_iterator_freebsd.cc', |
| 425 | 'process/process_iterator_linux.cc', |
| 426 | 'process/process_iterator_mac.cc', |
| 427 | 'process/process_iterator_openbsd.cc', |
| 428 | 'process/process_iterator_win.cc', |
Ben Murdoch | ca12bfa | 2013-07-23 11:17:05 +0100 | [diff] [blame] | 429 | 'process/process_linux.cc', |
Torne (Richard Coles) | 90dce4d | 2013-05-29 14:40:03 +0100 | [diff] [blame] | 430 | 'process/process_metrics.h', |
| 431 | 'process/process_metrics_freebsd.cc', |
| 432 | 'process/process_metrics_ios.cc', |
| 433 | 'process/process_metrics_linux.cc', |
| 434 | 'process/process_metrics_mac.cc', |
| 435 | 'process/process_metrics_openbsd.cc', |
| 436 | 'process/process_metrics_posix.cc', |
| 437 | 'process/process_metrics_win.cc', |
Ben Murdoch | ca12bfa | 2013-07-23 11:17:05 +0100 | [diff] [blame] | 438 | 'process/process_posix.cc', |
| 439 | 'process/process_win.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 440 | 'profiler/scoped_profile.cc', |
| 441 | 'profiler/scoped_profile.h', |
| 442 | 'profiler/alternate_timer.cc', |
| 443 | 'profiler/alternate_timer.h', |
| 444 | 'profiler/tracked_time.cc', |
| 445 | 'profiler/tracked_time.h', |
| 446 | 'rand_util.cc', |
| 447 | 'rand_util.h', |
| 448 | 'rand_util_nacl.cc', |
| 449 | 'rand_util_posix.cc', |
| 450 | 'rand_util_win.cc', |
| 451 | 'run_loop.cc', |
| 452 | 'run_loop.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 453 | 'safe_numerics.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 454 | 'safe_strerror_posix.cc', |
| 455 | 'safe_strerror_posix.h', |
| 456 | 'scoped_native_library.cc', |
| 457 | 'scoped_native_library.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 458 | 'sequence_checker.h', |
| 459 | 'sequence_checker_impl.cc', |
| 460 | 'sequence_checker_impl.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 461 | 'sequenced_task_runner.cc', |
| 462 | 'sequenced_task_runner.h', |
| 463 | 'sequenced_task_runner_helpers.h', |
| 464 | 'sha1.h', |
| 465 | 'sha1_portable.cc', |
| 466 | 'sha1_win.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 467 | 'single_thread_task_runner.h', |
| 468 | 'stl_util.h', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 469 | 'strings/latin1_string_conversions.cc', |
| 470 | 'strings/latin1_string_conversions.h', |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 471 | 'strings/nullable_string16.cc', |
| 472 | 'strings/nullable_string16.h', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 473 | 'strings/string16.cc', |
| 474 | 'strings/string16.h', |
| 475 | 'strings/string_number_conversions.cc', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 476 | 'strings/string_split.cc', |
| 477 | 'strings/string_split.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 478 | 'strings/string_number_conversions.h', |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 479 | 'strings/string_piece.cc', |
| 480 | 'strings/string_piece.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 481 | 'strings/string_tokenizer.h', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 482 | 'strings/string_util.cc', |
| 483 | 'strings/string_util.h', |
| 484 | 'strings/string_util_constants.cc', |
| 485 | 'strings/string_util_posix.h', |
| 486 | 'strings/string_util_win.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 487 | 'strings/stringize_macros.h', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 488 | 'strings/stringprintf.cc', |
| 489 | 'strings/stringprintf.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 490 | 'strings/sys_string_conversions.h', |
| 491 | 'strings/sys_string_conversions_mac.mm', |
| 492 | 'strings/sys_string_conversions_posix.cc', |
| 493 | 'strings/sys_string_conversions_win.cc', |
| 494 | 'strings/utf_offset_string_conversions.cc', |
| 495 | 'strings/utf_offset_string_conversions.h', |
| 496 | 'strings/utf_string_conversion_utils.cc', |
| 497 | 'strings/utf_string_conversion_utils.h', |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 498 | 'strings/utf_string_conversions.cc', |
| 499 | 'strings/utf_string_conversions.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 500 | 'supports_user_data.cc', |
| 501 | 'supports_user_data.h', |
| 502 | 'synchronization/cancellation_flag.cc', |
| 503 | 'synchronization/cancellation_flag.h', |
| 504 | 'synchronization/condition_variable.h', |
| 505 | 'synchronization/condition_variable_posix.cc', |
| 506 | 'synchronization/condition_variable_win.cc', |
| 507 | 'synchronization/lock.cc', |
| 508 | 'synchronization/lock.h', |
| 509 | 'synchronization/lock_impl.h', |
| 510 | 'synchronization/lock_impl_posix.cc', |
| 511 | 'synchronization/lock_impl_win.cc', |
| 512 | 'synchronization/spin_wait.h', |
| 513 | 'synchronization/waitable_event.h', |
| 514 | 'synchronization/waitable_event_posix.cc', |
| 515 | 'synchronization/waitable_event_watcher.h', |
| 516 | 'synchronization/waitable_event_watcher_posix.cc', |
| 517 | 'synchronization/waitable_event_watcher_win.cc', |
| 518 | 'synchronization/waitable_event_win.cc', |
| 519 | 'system_monitor/system_monitor.cc', |
| 520 | 'system_monitor/system_monitor.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 521 | 'sys_byteorder.h', |
| 522 | 'sys_info.cc', |
| 523 | 'sys_info.h', |
| 524 | 'sys_info_android.cc', |
| 525 | 'sys_info_chromeos.cc', |
| 526 | 'sys_info_freebsd.cc', |
| 527 | 'sys_info_ios.mm', |
| 528 | 'sys_info_linux.cc', |
| 529 | 'sys_info_mac.cc', |
| 530 | 'sys_info_openbsd.cc', |
| 531 | 'sys_info_posix.cc', |
| 532 | 'sys_info_win.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 533 | 'task_runner.cc', |
| 534 | 'task_runner.h', |
| 535 | 'task_runner_util.h', |
| 536 | 'template_util.h', |
| 537 | 'thread_task_runner_handle.cc', |
| 538 | 'thread_task_runner_handle.h', |
| 539 | 'threading/non_thread_safe.h', |
| 540 | 'threading/non_thread_safe_impl.cc', |
| 541 | 'threading/non_thread_safe_impl.h', |
| 542 | 'threading/platform_thread.h', |
Torne (Richard Coles) | 90dce4d | 2013-05-29 14:40:03 +0100 | [diff] [blame] | 543 | 'threading/platform_thread_android.cc', |
| 544 | 'threading/platform_thread_linux.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 545 | 'threading/platform_thread_mac.mm', |
| 546 | 'threading/platform_thread_posix.cc', |
| 547 | 'threading/platform_thread_win.cc', |
| 548 | 'threading/post_task_and_reply_impl.cc', |
| 549 | 'threading/post_task_and_reply_impl.h', |
| 550 | 'threading/sequenced_worker_pool.cc', |
| 551 | 'threading/sequenced_worker_pool.h', |
| 552 | 'threading/simple_thread.cc', |
| 553 | 'threading/simple_thread.h', |
| 554 | 'threading/thread.cc', |
| 555 | 'threading/thread.h', |
| 556 | 'threading/thread_checker.h', |
| 557 | 'threading/thread_checker_impl.cc', |
| 558 | 'threading/thread_checker_impl.h', |
| 559 | 'threading/thread_collision_warner.cc', |
| 560 | 'threading/thread_collision_warner.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 561 | 'threading/thread_id_name_manager.cc', |
| 562 | 'threading/thread_id_name_manager.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 563 | 'threading/thread_local.h', |
| 564 | 'threading/thread_local_posix.cc', |
| 565 | 'threading/thread_local_storage.h', |
| 566 | 'threading/thread_local_storage_posix.cc', |
| 567 | 'threading/thread_local_storage_win.cc', |
| 568 | 'threading/thread_local_win.cc', |
| 569 | 'threading/thread_restrictions.h', |
| 570 | 'threading/thread_restrictions.cc', |
| 571 | 'threading/watchdog.cc', |
| 572 | 'threading/watchdog.h', |
| 573 | 'threading/worker_pool.h', |
| 574 | 'threading/worker_pool.cc', |
| 575 | 'threading/worker_pool_posix.cc', |
| 576 | 'threading/worker_pool_posix.h', |
| 577 | 'threading/worker_pool_win.cc', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 578 | 'time/clock.cc', |
| 579 | 'time/clock.h', |
| 580 | 'time/default_clock.cc', |
| 581 | 'time/default_clock.h', |
| 582 | 'time/default_tick_clock.cc', |
| 583 | 'time/default_tick_clock.h', |
| 584 | 'time/tick_clock.cc', |
| 585 | 'time/tick_clock.h', |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 586 | 'time/time.cc', |
| 587 | 'time/time.h', |
| 588 | 'time/time_mac.cc', |
| 589 | 'time/time_posix.cc', |
| 590 | 'time/time_win.cc', |
| 591 | 'timer/hi_res_timer_manager_posix.cc', |
| 592 | 'timer/hi_res_timer_manager_win.cc', |
| 593 | 'timer/hi_res_timer_manager.h', |
| 594 | 'timer/timer.cc', |
| 595 | 'timer/timer.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 596 | 'tracked_objects.cc', |
| 597 | 'tracked_objects.h', |
| 598 | 'tracking_info.cc', |
| 599 | 'tracking_info.h', |
| 600 | 'tuple.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 601 | 'values.cc', |
| 602 | 'values.h', |
| 603 | 'value_conversions.cc', |
| 604 | 'value_conversions.h', |
| 605 | 'version.cc', |
| 606 | 'version.h', |
| 607 | 'vlog.cc', |
| 608 | 'vlog.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 609 | 'win/enum_variant.cc', |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 610 | 'win/enum_variant.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 611 | 'win/event_trace_consumer.h', |
| 612 | 'win/event_trace_controller.cc', |
| 613 | 'win/event_trace_controller.h', |
| 614 | 'win/event_trace_provider.cc', |
| 615 | 'win/event_trace_provider.h', |
| 616 | 'win/i18n.cc', |
| 617 | 'win/i18n.h', |
| 618 | 'win/iat_patch_function.cc', |
| 619 | 'win/iat_patch_function.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 620 | 'win/iunknown_impl.cc', |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 621 | 'win/iunknown_impl.h', |
| 622 | 'win/message_window.cc', |
| 623 | 'win/message_window.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 624 | 'win/metro.cc', |
| 625 | 'win/metro.h', |
| 626 | 'win/object_watcher.cc', |
| 627 | 'win/object_watcher.h', |
| 628 | 'win/registry.cc', |
| 629 | 'win/registry.h', |
| 630 | 'win/resource_util.cc', |
| 631 | 'win/resource_util.h', |
| 632 | 'win/sampling_profiler.cc', |
| 633 | 'win/sampling_profiler.h', |
| 634 | 'win/scoped_bstr.cc', |
| 635 | 'win/scoped_bstr.h', |
| 636 | 'win/scoped_co_mem.h', |
| 637 | 'win/scoped_com_initializer.h', |
| 638 | 'win/scoped_comptr.h', |
| 639 | 'win/scoped_gdi_object.h', |
| 640 | 'win/scoped_handle.cc', |
| 641 | 'win/scoped_handle.h', |
| 642 | 'win/scoped_hdc.h', |
| 643 | 'win/scoped_hglobal.h', |
| 644 | 'win/scoped_process_information.cc', |
| 645 | 'win/scoped_process_information.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 646 | 'win/scoped_propvariant.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 647 | 'win/scoped_select_object.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 648 | 'win/scoped_variant.cc', |
| 649 | 'win/scoped_variant.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 650 | 'win/shortcut.cc', |
| 651 | 'win/shortcut.h', |
| 652 | 'win/startup_information.cc', |
| 653 | 'win/startup_information.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 654 | 'win/text_services_message_filter.cc', |
| 655 | 'win/text_services_message_filter.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 656 | 'win/win_util.cc', |
| 657 | 'win/win_util.h', |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 658 | 'win/windows_version.cc', |
| 659 | 'win/windows_version.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 660 | 'win/wrapped_window_proc.cc', |
| 661 | 'win/wrapped_window_proc.h', |
| 662 | ], |
Torne (Richard Coles) | b2df76e | 2013-05-13 16:52:09 +0100 | [diff] [blame] | 663 | 'conditions': [ |
| 664 | ['google_tv==1', { |
| 665 | 'sources': [ |
| 666 | 'android/context_types.cc', |
| 667 | 'android/context_types.h', |
| 668 | ], |
| 669 | }], |
| 670 | ], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 671 | 'defines': [ |
| 672 | 'BASE_IMPLEMENTATION', |
| 673 | ], |
| 674 | 'include_dirs': [ |
| 675 | '..', |
| 676 | ], |
| 677 | 'msvs_disabled_warnings': [ |
| 678 | 4018, |
| 679 | ], |
| 680 | 'target_conditions': [ |
| 681 | ['<(use_glib)==0 or >(nacl_untrusted_build)==1', { |
| 682 | 'sources/': [ |
| 683 | ['exclude', '^nix/'], |
| 684 | ], |
| 685 | 'sources!': [ |
| 686 | 'atomicops_internals_x86_gcc.cc', |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 687 | 'message_loop/message_pump_glib.cc', |
| 688 | 'message_loop/message_pump_aurax11.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 689 | ], |
| 690 | }], |
| 691 | ['<(toolkit_uses_gtk)==0 or >(nacl_untrusted_build)==1', { |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 692 | 'sources!': ['message_loop/message_pump_gtk.cc'], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 693 | }], |
| 694 | ['(OS != "linux" and <(os_bsd) != 1 and OS != "android") or >(nacl_untrusted_build)==1', { |
| 695 | 'sources!': [ |
| 696 | # Not automatically excluded by the *linux.cc rules. |
| 697 | 'linux_util.cc', |
| 698 | ], |
| 699 | }, |
| 700 | ], |
| 701 | ['>(nacl_untrusted_build)==1', { |
| 702 | 'sources!': [ |
| 703 | 'allocator/type_profiler_control.cc', |
| 704 | 'allocator/type_profiler_control.h', |
| 705 | 'base_paths.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 706 | 'cpu.cc', |
| 707 | 'debug/stack_trace_posix.cc', |
| 708 | 'file_util.cc', |
| 709 | 'file_util_posix.cc', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 710 | 'files/file_enumerator_posix.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 711 | 'files/file_path_watcher_kqueue.cc', |
Torne (Richard Coles) | a36e592 | 2013-08-05 13:57:33 +0100 | [diff] [blame] | 712 | 'files/file_util_proxy.cc', |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 713 | 'memory/shared_memory_posix.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 714 | 'native_library_posix.cc', |
| 715 | 'path_service.cc', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 716 | 'posix/unix_domain_socket_linux.cc', |
Ben Murdoch | 7dbb3d5 | 2013-07-17 14:55:54 +0100 | [diff] [blame] | 717 | 'process/kill_posix.cc', |
Ben Murdoch | 9ab5563 | 2013-07-18 11:57:30 +0100 | [diff] [blame] | 718 | 'process/launch_posix.cc', |
Ben Murdoch | ca12bfa | 2013-07-23 11:17:05 +0100 | [diff] [blame] | 719 | 'process/process_metrics_posix.cc', |
| 720 | 'process/process_posix.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 721 | 'rand_util_posix.cc', |
| 722 | 'scoped_native_library.cc', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 723 | 'files/scoped_temp_dir.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 724 | 'sys_info_posix.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 725 | 'third_party/dynamic_annotations/dynamic_annotations.c', |
| 726 | ], |
Torne (Richard Coles) | 90dce4d | 2013-05-29 14:40:03 +0100 | [diff] [blame] | 727 | 'sources/': [ |
| 728 | # Metrics won't work in the NaCl sandbox. |
| 729 | ['exclude', '^metrics/'], |
| 730 | ['include', '^threading/platform_thread_linux\\.cc$'], |
| 731 | ], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 732 | }], |
| 733 | ['OS == "android" and >(nacl_untrusted_build)==0', { |
| 734 | 'sources!': [ |
| 735 | 'base_paths_posix.cc', |
| 736 | 'files/file_path_watcher_kqueue.cc', |
| 737 | 'files/file_path_watcher_stub.cc', |
Torne (Richard Coles) | a36e592 | 2013-08-05 13:57:33 +0100 | [diff] [blame] | 738 | 'power_monitor/power_monitor_device_source_posix.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 739 | ], |
| 740 | 'sources/': [ |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 741 | ['include', '^debug/proc_maps_linux\\.cc$'], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 742 | ['include', '^files/file_path_watcher_linux\\.cc$'], |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 743 | ['include', '^process/memory_linux\\.cc$'], |
Torne (Richard Coles) | 90dce4d | 2013-05-29 14:40:03 +0100 | [diff] [blame] | 744 | ['include', '^process/internal_linux\\.cc$'], |
Ben Murdoch | 7dbb3d5 | 2013-07-17 14:55:54 +0100 | [diff] [blame] | 745 | ['include', '^process/process_handle_linux\\.cc$'], |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 746 | ['include', '^process/process_iterator\\.cc$'], |
| 747 | ['include', '^process/process_iterator_linux\\.cc$'], |
Torne (Richard Coles) | 90dce4d | 2013-05-29 14:40:03 +0100 | [diff] [blame] | 748 | ['include', '^process/process_metrics_linux\\.cc$'], |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 749 | ['include', '^posix/unix_domain_socket_linux\\.cc$'], |
| 750 | ['include', '^strings/sys_string_conversions_posix\\.cc$'], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 751 | ['include', '^sys_info_linux\\.cc$'], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 752 | ['include', '^worker_pool_linux\\.cc$'], |
| 753 | ], |
| 754 | }], |
Torne (Richard Coles) | 90dce4d | 2013-05-29 14:40:03 +0100 | [diff] [blame] | 755 | ['OS == "android" and _toolset == "host" and host_os == "linux"', { |
| 756 | 'sources/': [ |
| 757 | # Pull in specific files for host builds. |
| 758 | ['include', '^threading/platform_thread_linux\\.cc$'], |
| 759 | ], |
| 760 | }], |
Torne (Richard Coles) | a93a17c | 2013-05-15 11:34:50 +0100 | [diff] [blame] | 761 | ['OS == "ios" and _toolset != "host"', { |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 762 | 'sources/': [ |
| 763 | # Pull in specific Mac files for iOS (which have been filtered out |
| 764 | # by file name rules). |
| 765 | ['include', '^atomicops_internals_mac\\.'], |
| 766 | ['include', '^base_paths_mac\\.'], |
| 767 | ['include', '^file_util_mac\\.'], |
| 768 | ['include', '^file_version_info_mac\\.'], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 769 | ['include', '^mac/bundle_locations\\.'], |
| 770 | ['include', '^mac/foundation_util\\.'], |
| 771 | ['include', '^mac/mac_logging\\.'], |
| 772 | ['include', '^mac/objc_property_releaser\\.'], |
| 773 | ['include', '^mac/scoped_mach_port\\.'], |
| 774 | ['include', '^mac/scoped_nsautorelease_pool\\.'], |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 775 | ['include', '^mac/scoped_nsobject\\.'], |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 776 | ['include', '^memory/discardable_memory_mac\\.'], |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 777 | ['include', '^message_loop/message_pump_mac\\.'], |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 778 | ['include', '^strings/sys_string_conversions_mac\\.'], |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 779 | ['include', '^threading/platform_thread_mac\\.'], |
| 780 | ['include', '^time/time_mac\\.'], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 781 | ['include', '^worker_pool_mac\\.'], |
Ben Murdoch | ca12bfa | 2013-07-23 11:17:05 +0100 | [diff] [blame] | 782 | # Exclude all process/ except the minimal implementation |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 783 | # needed on iOS (mostly for unit tests). |
Ben Murdoch | ca12bfa | 2013-07-23 11:17:05 +0100 | [diff] [blame] | 784 | ['exclude', '^process/.*'], |
| 785 | ['include', '^process/.*_ios\.(cc|mm)$'], |
| 786 | ['include', '^process/memory_stubs\.cc$'], |
| 787 | ['include', '^process/process_handle_posix\.cc$'], |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 788 | ], |
| 789 | 'sources': [ |
| 790 | 'process/memory_stubs.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 791 | ], |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 792 | 'sources!': [ |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 793 | 'message_loop/message_pump_libevent.cc' |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 794 | ], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 795 | }], |
Torne (Richard Coles) | a93a17c | 2013-05-15 11:34:50 +0100 | [diff] [blame] | 796 | ['OS == "ios" and _toolset == "host"', { |
| 797 | 'sources/': [ |
| 798 | # Copied filename_rules to switch from iOS to Mac inclusions. |
| 799 | ['include', '_(cocoa|mac)(_unittest)?\\.(h|cc|mm?)$'], |
| 800 | ['include', '(^|/)(cocoa|mac)/'], |
| 801 | ['exclude', '_ios(_unittest)?\\.(h|cc|mm?)$'], |
| 802 | ['exclude', '(^|/)ios/'], |
| 803 | ] |
| 804 | }], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 805 | ['OS != "mac" or >(nacl_untrusted_build)==1', { |
| 806 | 'sources!': [ |
| 807 | 'mac/scoped_aedesc.h' |
| 808 | ], |
| 809 | }], |
| 810 | # For now, just test the *BSD platforms enough to exclude them. |
| 811 | # Subsequent changes will include them further. |
| 812 | ['OS != "freebsd" or >(nacl_untrusted_build)==1', { |
| 813 | 'sources/': [ ['exclude', '_freebsd\\.cc$'] ], |
| 814 | }, |
| 815 | ], |
| 816 | ['OS != "openbsd" or >(nacl_untrusted_build)==1', { |
| 817 | 'sources/': [ ['exclude', '_openbsd\\.cc$'] ], |
| 818 | }, |
| 819 | ], |
| 820 | ['OS != "win" or >(nacl_untrusted_build)==1', { |
| 821 | 'sources/': [ ['exclude', '^win/'] ], |
| 822 | }, |
| 823 | ], |
| 824 | ['OS != "android" or >(nacl_untrusted_build)==1', { |
| 825 | 'sources/': [ ['exclude', '^android/'] ], |
| 826 | }, |
| 827 | ], |
| 828 | ['OS == "win" and >(nacl_untrusted_build)==0', { |
| 829 | 'include_dirs': [ |
| 830 | '<(DEPTH)/third_party/wtl/include', |
| 831 | ], |
| 832 | 'sources!': [ |
| 833 | 'event_recorder_stubs.cc', |
| 834 | 'files/file_path_watcher_kqueue.cc', |
| 835 | 'files/file_path_watcher_stub.cc', |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 836 | 'message_loop/message_pump_libevent.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 837 | 'posix/file_descriptor_shuffle.cc', |
| 838 | # Not using sha1_win.cc because it may have caused a |
| 839 | # regression to page cycler moz. |
| 840 | 'sha1_win.cc', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 841 | 'strings/string16.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 842 | ], |
| 843 | },], |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 844 | ['<(use_ozone) == 1', { |
| 845 | 'sources!': [ |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 846 | 'message_loop/message_pump_glib.cc', |
| 847 | 'message_loop/message_pump_aurax11.cc', |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 848 | ] |
| 849 | }], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 850 | ['OS == "linux" and >(nacl_untrusted_build)==0', { |
| 851 | 'sources!': [ |
| 852 | 'files/file_path_watcher_kqueue.cc', |
| 853 | 'files/file_path_watcher_stub.cc', |
| 854 | ], |
| 855 | }], |
| 856 | ['(OS == "mac" or OS == "ios") and >(nacl_untrusted_build)==0', { |
| 857 | 'sources/': [ |
| 858 | ['exclude', '^files/file_path_watcher_stub\\.cc$'], |
| 859 | ['exclude', '^base_paths_posix\\.cc$'], |
| 860 | ['exclude', '^native_library_posix\\.cc$'], |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 861 | ['exclude', '^strings/sys_string_conversions_posix\\.cc$'], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 862 | ], |
| 863 | }], |
| 864 | ['<(os_bsd)==1 and >(nacl_untrusted_build)==0', { |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 865 | 'sources': [ |
| 866 | 'process/memory_stubs.cc', |
| 867 | ], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 868 | 'sources/': [ |
| 869 | ['exclude', '^files/file_path_watcher_linux\\.cc$'], |
| 870 | ['exclude', '^files/file_path_watcher_stub\\.cc$'], |
| 871 | ['exclude', '^file_util_linux\\.cc$'], |
Ben Murdoch | ca12bfa | 2013-07-23 11:17:05 +0100 | [diff] [blame] | 872 | ['exclude', '^process/process_linux\\.cc$'], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 873 | ['exclude', '^sys_info_linux\\.cc$'], |
| 874 | ], |
| 875 | }], |
| 876 | ['<(chromeos)!=1 or >(nacl_untrusted_build)==1', { |
| 877 | 'sources/': [ |
| 878 | ['exclude', '^chromeos/'], |
| 879 | ], |
| 880 | }], |
| 881 | # Remove all unnecessary files for build_nexe.py to avoid exceeding |
| 882 | # command-line-string limitation when building NaCl on Windows. |
| 883 | ['OS == "win" and >(nacl_untrusted_build)==1', { |
| 884 | 'sources/': [ ['exclude', '\\.h$'] ], |
| 885 | }], |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 886 | ['<(use_system_nspr)==1 and >(nacl_untrusted_build)==0', { |
| 887 | 'sources/': [ |
| 888 | ['exclude', '^third_party/nspr/'], |
| 889 | ], |
| 890 | }], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 891 | ], |
| 892 | }], |
| 893 | ], |
| 894 | }, |
| 895 | } |