James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [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 | { |
Alhaad Gokhale | 4f51307 | 2015-03-24 10:49:34 -0700 | [diff] [blame] | 6 | 'includes': [ |
| 7 | 'trace_event/trace_event.gypi', |
| 8 | ], |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 9 | 'target_defaults': { |
| 10 | 'variables': { |
| 11 | 'base_target': 0, |
| 12 | 'base_i18n_target': 0, |
| 13 | }, |
| 14 | 'target_conditions': [ |
| 15 | # This part is shared between the targets defined below. |
| 16 | ['base_target==1', { |
| 17 | 'sources': [ |
| 18 | '../build/build_config.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 19 | 'allocator/allocator_extension.cc', |
| 20 | 'allocator/allocator_extension.h', |
| 21 | 'allocator/type_profiler_control.cc', |
| 22 | 'allocator/type_profiler_control.h', |
Dave Moore | cc0e4f9 | 2015-03-10 15:23:04 -0700 | [diff] [blame] | 23 | 'android/animation_frame_time_histogram.cc', |
| 24 | 'android/animation_frame_time_histogram.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 25 | 'android/application_status_listener.cc', |
| 26 | 'android/application_status_listener.h', |
Benjamin Lerman | cdfc88d | 2015-02-03 14:35:12 +0100 | [diff] [blame] | 27 | 'android/base_jni_onload.cc', |
| 28 | 'android/base_jni_onload.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 29 | 'android/base_jni_registrar.cc', |
| 30 | 'android/base_jni_registrar.h', |
| 31 | 'android/build_info.cc', |
| 32 | 'android/build_info.h', |
| 33 | 'android/command_line_android.cc', |
| 34 | 'android/command_line_android.h', |
| 35 | 'android/content_uri_utils.cc', |
| 36 | 'android/content_uri_utils.h', |
| 37 | 'android/cpu_features.cc', |
| 38 | 'android/event_log.cc', |
| 39 | 'android/event_log.h', |
| 40 | 'android/field_trial_list.cc', |
| 41 | 'android/field_trial_list.h', |
| 42 | 'android/fifo_utils.cc', |
| 43 | 'android/fifo_utils.h', |
| 44 | 'android/important_file_writer_android.cc', |
| 45 | 'android/important_file_writer_android.h', |
Etienne Membrives | 386015a | 2015-02-19 17:27:12 +0100 | [diff] [blame] | 46 | 'android/java_handler_thread.cc', |
| 47 | 'android/java_handler_thread.h', |
James Robinson | 0fae000 | 2015-05-05 16:31:51 -0700 | [diff] [blame] | 48 | 'android/java_runtime.cc', |
| 49 | 'android/java_runtime.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 50 | 'android/jni_android.cc', |
| 51 | 'android/jni_android.h', |
| 52 | 'android/jni_array.cc', |
| 53 | 'android/jni_array.h', |
| 54 | 'android/jni_registrar.cc', |
| 55 | 'android/jni_registrar.h', |
| 56 | 'android/jni_string.cc', |
| 57 | 'android/jni_string.h', |
| 58 | 'android/jni_utils.cc', |
| 59 | 'android/jni_utils.h', |
| 60 | 'android/jni_weak_ref.cc', |
| 61 | 'android/jni_weak_ref.h', |
Etienne Membrives | 386015a | 2015-02-19 17:27:12 +0100 | [diff] [blame] | 62 | 'android/library_loader/library_load_from_apk_status_codes.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 63 | 'android/library_loader/library_loader_hooks.cc', |
| 64 | 'android/library_loader/library_loader_hooks.h', |
James Robinson | f19b102 | 2015-05-05 18:12:15 -0700 | [diff] [blame^] | 65 | 'android/library_loader/library_prefetcher.cc', |
| 66 | 'android/library_loader/library_prefetcher.h', |
Etienne Membrives | 386015a | 2015-02-19 17:27:12 +0100 | [diff] [blame] | 67 | 'android/locale_utils.cc', |
| 68 | 'android/locale_utils.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 69 | 'android/memory_pressure_listener_android.cc', |
| 70 | 'android/memory_pressure_listener_android.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 71 | 'android/path_service_android.cc', |
| 72 | 'android/path_service_android.h', |
| 73 | 'android/path_utils.cc', |
| 74 | 'android/path_utils.h', |
Benjamin Lerman | df06e5f | 2015-01-22 13:22:57 +0100 | [diff] [blame] | 75 | 'android/record_histogram.cc', |
| 76 | 'android/record_histogram.h', |
James Robinson | 0fae000 | 2015-05-05 16:31:51 -0700 | [diff] [blame] | 77 | 'android/record_user_action.cc', |
| 78 | 'android/record_user_action.h', |
Etienne Membrives | 386015a | 2015-02-19 17:27:12 +0100 | [diff] [blame] | 79 | 'android/scoped_java_ref.cc', |
| 80 | 'android/scoped_java_ref.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 81 | 'android/sys_utils.cc', |
| 82 | 'android/sys_utils.h', |
| 83 | 'android/thread_utils.h', |
| 84 | 'android/trace_event_binding.cc', |
| 85 | 'android/trace_event_binding.h', |
| 86 | 'at_exit.cc', |
| 87 | 'at_exit.h', |
| 88 | 'atomic_ref_count.h', |
| 89 | 'atomic_sequence_num.h', |
| 90 | 'atomicops.h', |
| 91 | 'atomicops_internals_gcc.h', |
| 92 | 'atomicops_internals_mac.h', |
James Robinson | e2ac7e8 | 2014-10-15 13:21:59 -0700 | [diff] [blame] | 93 | 'atomicops_internals_portable.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 94 | 'atomicops_internals_x86_gcc.cc', |
| 95 | 'atomicops_internals_x86_gcc.h', |
| 96 | 'atomicops_internals_x86_msvc.h', |
| 97 | 'barrier_closure.cc', |
| 98 | 'barrier_closure.h', |
| 99 | 'base64.cc', |
| 100 | 'base64.h', |
| 101 | 'base_export.h', |
| 102 | 'base_paths.cc', |
| 103 | 'base_paths.h', |
| 104 | 'base_paths_android.cc', |
| 105 | 'base_paths_android.h', |
| 106 | 'base_paths_mac.h', |
| 107 | 'base_paths_mac.mm', |
| 108 | 'base_paths_posix.cc', |
| 109 | 'base_paths_posix.h', |
| 110 | 'base_paths_win.cc', |
| 111 | 'base_paths_win.h', |
| 112 | 'base_switches.h', |
| 113 | 'basictypes.h', |
| 114 | 'big_endian.cc', |
| 115 | 'big_endian.h', |
| 116 | 'bind.h', |
| 117 | 'bind_helpers.cc', |
| 118 | 'bind_helpers.h', |
| 119 | 'bind_internal.h', |
| 120 | 'bind_internal_win.h', |
| 121 | 'bits.h', |
| 122 | 'build_time.cc', |
| 123 | 'build_time.h', |
| 124 | 'callback.h', |
| 125 | 'callback_helpers.cc', |
| 126 | 'callback_helpers.h', |
| 127 | 'callback_internal.cc', |
| 128 | 'callback_internal.h', |
| 129 | 'callback_list.h', |
| 130 | 'cancelable_callback.h', |
James Robinson | 0fae000 | 2015-05-05 16:31:51 -0700 | [diff] [blame] | 131 | 'chromeos/memory_pressure_monitor_chromeos.cc', |
| 132 | 'chromeos/memory_pressure_monitor_chromeos.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 133 | 'command_line.cc', |
| 134 | 'command_line.h', |
| 135 | 'compiler_specific.h', |
| 136 | 'containers/adapters.h', |
| 137 | 'containers/hash_tables.h', |
| 138 | 'containers/linked_list.h', |
| 139 | 'containers/mru_cache.h', |
| 140 | 'containers/scoped_ptr_hash_map.h', |
| 141 | 'containers/small_map.h', |
| 142 | 'containers/stack_container.h', |
| 143 | 'cpu.cc', |
| 144 | 'cpu.h', |
| 145 | 'critical_closure.h', |
| 146 | 'critical_closure_internal_ios.mm', |
| 147 | 'debug/alias.cc', |
| 148 | 'debug/alias.h', |
| 149 | 'debug/asan_invalid_access.cc', |
| 150 | 'debug/asan_invalid_access.h', |
| 151 | 'debug/crash_logging.cc', |
| 152 | 'debug/crash_logging.h', |
| 153 | 'debug/debugger.cc', |
| 154 | 'debug/debugger.h', |
| 155 | 'debug/debugger_posix.cc', |
| 156 | 'debug/debugger_win.cc', |
| 157 | 'debug/dump_without_crashing.cc', |
| 158 | 'debug/dump_without_crashing.h', |
| 159 | 'debug/gdi_debug_util_win.cc', |
| 160 | 'debug/gdi_debug_util_win.h', |
| 161 | # This file depends on files from the 'allocator' target, |
| 162 | # but this target does not depend on 'allocator' (see |
| 163 | # allocator.gyp for details). |
| 164 | 'debug/leak_annotations.h', |
| 165 | 'debug/leak_tracker.h', |
| 166 | 'debug/proc_maps_linux.cc', |
| 167 | 'debug/proc_maps_linux.h', |
| 168 | 'debug/profiler.cc', |
| 169 | 'debug/profiler.h', |
| 170 | 'debug/stack_trace.cc', |
| 171 | 'debug/stack_trace.h', |
| 172 | 'debug/stack_trace_android.cc', |
| 173 | 'debug/stack_trace_posix.cc', |
| 174 | 'debug/stack_trace_win.cc', |
| 175 | 'debug/task_annotator.cc', |
| 176 | 'debug/task_annotator.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 177 | 'deferred_sequenced_task_runner.cc', |
| 178 | 'deferred_sequenced_task_runner.h', |
| 179 | 'environment.cc', |
| 180 | 'environment.h', |
| 181 | 'file_descriptor_posix.h', |
| 182 | 'file_version_info.h', |
| 183 | 'file_version_info_mac.h', |
| 184 | 'file_version_info_mac.mm', |
| 185 | 'file_version_info_win.cc', |
| 186 | 'file_version_info_win.h', |
| 187 | 'files/dir_reader_fallback.h', |
| 188 | 'files/dir_reader_linux.h', |
| 189 | 'files/dir_reader_posix.h', |
| 190 | 'files/file.cc', |
| 191 | 'files/file.h', |
| 192 | 'files/file_enumerator.cc', |
| 193 | 'files/file_enumerator.h', |
| 194 | 'files/file_enumerator_posix.cc', |
| 195 | 'files/file_enumerator_win.cc', |
| 196 | 'files/file_path.cc', |
| 197 | 'files/file_path.h', |
| 198 | 'files/file_path_constants.cc', |
| 199 | 'files/file_path_watcher.cc', |
| 200 | 'files/file_path_watcher.h', |
| 201 | 'files/file_path_watcher_fsevents.cc', |
| 202 | 'files/file_path_watcher_fsevents.h', |
| 203 | 'files/file_path_watcher_kqueue.cc', |
| 204 | 'files/file_path_watcher_kqueue.h', |
| 205 | 'files/file_path_watcher_linux.cc', |
| 206 | 'files/file_path_watcher_mac.cc', |
| 207 | 'files/file_path_watcher_stub.cc', |
| 208 | 'files/file_path_watcher_win.cc', |
| 209 | 'files/file_posix.cc', |
| 210 | 'files/file_proxy.cc', |
| 211 | 'files/file_proxy.h', |
| 212 | 'files/file_util.cc', |
| 213 | 'files/file_util.h', |
| 214 | 'files/file_util_android.cc', |
| 215 | 'files/file_util_linux.cc', |
| 216 | 'files/file_util_mac.mm', |
| 217 | 'files/file_util_posix.cc', |
| 218 | 'files/file_util_proxy.cc', |
| 219 | 'files/file_util_proxy.h', |
| 220 | 'files/file_util_win.cc', |
| 221 | 'files/file_win.cc', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 222 | 'files/important_file_writer.cc', |
Etienne Membrives | 386015a | 2015-02-19 17:27:12 +0100 | [diff] [blame] | 223 | 'files/important_file_writer.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 224 | 'files/memory_mapped_file.cc', |
| 225 | 'files/memory_mapped_file.h', |
| 226 | 'files/memory_mapped_file_posix.cc', |
| 227 | 'files/memory_mapped_file_win.cc', |
| 228 | 'files/scoped_file.cc', |
| 229 | 'files/scoped_file.h', |
| 230 | 'files/scoped_temp_dir.cc', |
| 231 | 'files/scoped_temp_dir.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 232 | 'format_macros.h', |
| 233 | 'gtest_prod_util.h', |
| 234 | 'guid.cc', |
| 235 | 'guid.h', |
| 236 | 'guid_posix.cc', |
| 237 | 'guid_win.cc', |
| 238 | 'hash.cc', |
| 239 | 'hash.h', |
| 240 | 'id_map.h', |
James Robinson | 6a64b81 | 2014-12-03 13:38:42 -0800 | [diff] [blame] | 241 | 'ios/block_types.h', |
Etienne Membrives | 386015a | 2015-02-19 17:27:12 +0100 | [diff] [blame] | 242 | 'ios/crb_protocol_observers.h', |
| 243 | 'ios/crb_protocol_observers.mm', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 244 | 'ios/device_util.h', |
| 245 | 'ios/device_util.mm', |
| 246 | 'ios/ios_util.h', |
| 247 | 'ios/ios_util.mm', |
| 248 | 'ios/scoped_critical_action.h', |
| 249 | 'ios/scoped_critical_action.mm', |
Etienne Membrives | b1556b3 | 2014-12-16 13:56:09 +0100 | [diff] [blame] | 250 | 'ios/weak_nsobject.h', |
| 251 | 'ios/weak_nsobject.mm', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 252 | 'json/json_file_value_serializer.cc', |
| 253 | 'json/json_file_value_serializer.h', |
| 254 | 'json/json_parser.cc', |
| 255 | 'json/json_parser.h', |
| 256 | 'json/json_reader.cc', |
| 257 | 'json/json_reader.h', |
| 258 | 'json/json_string_value_serializer.cc', |
| 259 | 'json/json_string_value_serializer.h', |
Benjamin Lerman | 0461682 | 2014-12-22 13:08:16 +0100 | [diff] [blame] | 260 | 'json/json_value_converter.cc', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 261 | 'json/json_value_converter.h', |
| 262 | 'json/json_writer.cc', |
| 263 | 'json/json_writer.h', |
| 264 | 'json/string_escape.cc', |
| 265 | 'json/string_escape.h', |
| 266 | 'lazy_instance.cc', |
| 267 | 'lazy_instance.h', |
| 268 | 'location.cc', |
| 269 | 'location.h', |
| 270 | 'logging.cc', |
| 271 | 'logging.h', |
| 272 | 'logging_win.cc', |
| 273 | 'logging_win.h', |
| 274 | 'mac/authorization_util.h', |
| 275 | 'mac/authorization_util.mm', |
| 276 | 'mac/bind_objc_block.h', |
| 277 | 'mac/bundle_locations.h', |
| 278 | 'mac/bundle_locations.mm', |
| 279 | 'mac/close_nocancel.cc', |
| 280 | 'mac/cocoa_protocols.h', |
| 281 | 'mac/foundation_util.h', |
| 282 | 'mac/foundation_util.mm', |
| 283 | 'mac/launch_services_util.cc', |
| 284 | 'mac/launch_services_util.h', |
| 285 | 'mac/launchd.cc', |
| 286 | 'mac/launchd.h', |
| 287 | 'mac/libdispatch_task_runner.cc', |
| 288 | 'mac/libdispatch_task_runner.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 289 | 'mac/mac_logging.cc', |
Etienne Membrives | 386015a | 2015-02-19 17:27:12 +0100 | [diff] [blame] | 290 | 'mac/mac_logging.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 291 | 'mac/mac_util.h', |
| 292 | 'mac/mac_util.mm', |
| 293 | 'mac/mach_logging.cc', |
| 294 | 'mac/mach_logging.h', |
James Robinson | f19b102 | 2015-05-05 18:12:15 -0700 | [diff] [blame^] | 295 | 'mac/memory_pressure_monitor_mac.cc', |
| 296 | 'mac/memory_pressure_monitor_mac.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 297 | 'mac/objc_property_releaser.h', |
| 298 | 'mac/objc_property_releaser.mm', |
| 299 | 'mac/os_crash_dumps.cc', |
| 300 | 'mac/os_crash_dumps.h', |
| 301 | 'mac/scoped_aedesc.h', |
| 302 | 'mac/scoped_authorizationref.h', |
| 303 | 'mac/scoped_block.h', |
| 304 | 'mac/scoped_cftyperef.h', |
| 305 | 'mac/scoped_ioobject.h', |
| 306 | 'mac/scoped_ioplugininterface.h', |
| 307 | 'mac/scoped_launch_data.h', |
| 308 | 'mac/scoped_mach_port.cc', |
| 309 | 'mac/scoped_mach_port.h', |
| 310 | 'mac/scoped_mach_vm.cc', |
| 311 | 'mac/scoped_mach_vm.h', |
| 312 | 'mac/scoped_nsautorelease_pool.h', |
| 313 | 'mac/scoped_nsautorelease_pool.mm', |
| 314 | 'mac/scoped_nsexception_enabler.h', |
| 315 | 'mac/scoped_nsexception_enabler.mm', |
| 316 | 'mac/scoped_nsobject.h', |
| 317 | 'mac/scoped_objc_class_swizzler.h', |
| 318 | 'mac/scoped_objc_class_swizzler.mm', |
| 319 | 'mac/scoped_sending_event.h', |
| 320 | 'mac/scoped_sending_event.mm', |
| 321 | 'mac/scoped_typeref.h', |
| 322 | 'mac/sdk_forward_declarations.h', |
| 323 | 'mac/sdk_forward_declarations.mm', |
| 324 | 'macros.h', |
| 325 | 'md5.cc', |
| 326 | 'md5.h', |
| 327 | 'memory/aligned_memory.cc', |
| 328 | 'memory/aligned_memory.h', |
| 329 | 'memory/discardable_memory.cc', |
| 330 | 'memory/discardable_memory.h', |
Alhaad Gokhale | 4f51307 | 2015-03-24 10:49:34 -0700 | [diff] [blame] | 331 | 'memory/discardable_memory_allocator.cc', |
| 332 | 'memory/discardable_memory_allocator.h', |
James Robinson | 6165015 | 2014-10-26 23:24:55 -0700 | [diff] [blame] | 333 | 'memory/discardable_shared_memory.cc', |
| 334 | 'memory/discardable_shared_memory.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 335 | 'memory/linked_ptr.h', |
| 336 | 'memory/manual_constructor.h', |
| 337 | 'memory/memory_pressure_listener.cc', |
| 338 | 'memory/memory_pressure_listener.h', |
James Robinson | 0fae000 | 2015-05-05 16:31:51 -0700 | [diff] [blame] | 339 | 'memory/memory_pressure_monitor.cc', |
| 340 | 'memory/memory_pressure_monitor.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 341 | 'memory/raw_scoped_refptr_mismatch_checker.h', |
| 342 | 'memory/ref_counted.cc', |
| 343 | 'memory/ref_counted.h', |
| 344 | 'memory/ref_counted_delete_on_message_loop.h', |
| 345 | 'memory/ref_counted_memory.cc', |
| 346 | 'memory/ref_counted_memory.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 347 | 'memory/scoped_policy.h', |
| 348 | 'memory/scoped_ptr.h', |
| 349 | 'memory/scoped_vector.h', |
| 350 | 'memory/shared_memory.h', |
| 351 | 'memory/shared_memory_android.cc', |
| 352 | 'memory/shared_memory_nacl.cc', |
| 353 | 'memory/shared_memory_posix.cc', |
| 354 | 'memory/shared_memory_win.cc', |
| 355 | 'memory/singleton.cc', |
| 356 | 'memory/singleton.h', |
| 357 | 'memory/weak_ptr.cc', |
| 358 | 'memory/weak_ptr.h', |
| 359 | 'message_loop/incoming_task_queue.cc', |
| 360 | 'message_loop/incoming_task_queue.h', |
| 361 | 'message_loop/message_loop.cc', |
| 362 | 'message_loop/message_loop.h', |
| 363 | 'message_loop/message_loop_proxy.cc', |
| 364 | 'message_loop/message_loop_proxy.h', |
| 365 | 'message_loop/message_loop_proxy_impl.cc', |
| 366 | 'message_loop/message_loop_proxy_impl.h', |
| 367 | 'message_loop/message_pump.cc', |
| 368 | 'message_loop/message_pump.h', |
| 369 | 'message_loop/message_pump_android.cc', |
| 370 | 'message_loop/message_pump_android.h', |
| 371 | 'message_loop/message_pump_default.cc', |
| 372 | 'message_loop/message_pump_default.h', |
| 373 | 'message_loop/message_pump_win.cc', |
| 374 | 'message_loop/message_pump_win.h', |
| 375 | 'message_loop/timer_slack.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 376 | 'metrics/bucket_ranges.cc', |
| 377 | 'metrics/bucket_ranges.h', |
| 378 | 'metrics/histogram.cc', |
| 379 | 'metrics/histogram.h', |
| 380 | 'metrics/histogram_base.cc', |
| 381 | 'metrics/histogram_base.h', |
| 382 | 'metrics/histogram_delta_serialization.cc', |
| 383 | 'metrics/histogram_delta_serialization.h', |
| 384 | 'metrics/histogram_flattener.h', |
Benjamin Lerman | 5799890 | 2014-11-18 16:06:02 +0100 | [diff] [blame] | 385 | 'metrics/histogram_macros.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 386 | 'metrics/histogram_samples.cc', |
| 387 | 'metrics/histogram_samples.h', |
| 388 | 'metrics/histogram_snapshot_manager.cc', |
| 389 | 'metrics/histogram_snapshot_manager.h', |
Etienne Membrives | 386015a | 2015-02-19 17:27:12 +0100 | [diff] [blame] | 390 | 'metrics/sample_map.cc', |
| 391 | 'metrics/sample_map.h', |
| 392 | 'metrics/sample_vector.cc', |
| 393 | 'metrics/sample_vector.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 394 | 'metrics/sparse_histogram.cc', |
| 395 | 'metrics/sparse_histogram.h', |
| 396 | 'metrics/statistics_recorder.cc', |
| 397 | 'metrics/statistics_recorder.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 398 | 'metrics/user_metrics.cc', |
| 399 | 'metrics/user_metrics.h', |
| 400 | 'metrics/user_metrics_action.h', |
| 401 | 'move.h', |
| 402 | 'native_library.h', |
James Robinson | 0fae000 | 2015-05-05 16:31:51 -0700 | [diff] [blame] | 403 | 'native_library_ios.mm', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 404 | 'native_library_mac.mm', |
| 405 | 'native_library_posix.cc', |
| 406 | 'native_library_win.cc', |
| 407 | 'nix/mime_util_xdg.cc', |
| 408 | 'nix/mime_util_xdg.h', |
| 409 | 'nix/xdg_util.cc', |
| 410 | 'nix/xdg_util.h', |
Etienne Membrives | 386015a | 2015-02-19 17:27:12 +0100 | [diff] [blame] | 411 | 'numerics/safe_conversions.h', |
| 412 | 'numerics/safe_conversions_impl.h', |
| 413 | 'numerics/safe_math.h', |
| 414 | 'numerics/safe_math_impl.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 415 | 'observer_list.h', |
| 416 | 'observer_list_threadsafe.h', |
| 417 | 'os_compat_android.cc', |
| 418 | 'os_compat_android.h', |
| 419 | 'os_compat_nacl.cc', |
| 420 | 'os_compat_nacl.h', |
| 421 | 'path_service.cc', |
| 422 | 'path_service.h', |
| 423 | 'pending_task.cc', |
| 424 | 'pending_task.h', |
| 425 | 'pickle.cc', |
| 426 | 'pickle.h', |
| 427 | 'port.h', |
| 428 | 'posix/eintr_wrapper.h', |
| 429 | 'posix/global_descriptors.cc', |
| 430 | 'posix/global_descriptors.h', |
| 431 | 'posix/unix_domain_socket_linux.cc', |
| 432 | 'posix/unix_domain_socket_linux.h', |
| 433 | 'power_monitor/power_monitor.cc', |
| 434 | 'power_monitor/power_monitor.h', |
Etienne Membrives | 386015a | 2015-02-19 17:27:12 +0100 | [diff] [blame] | 435 | 'power_monitor/power_monitor_device_source.cc', |
| 436 | 'power_monitor/power_monitor_device_source.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 437 | 'power_monitor/power_monitor_device_source_android.cc', |
| 438 | 'power_monitor/power_monitor_device_source_android.h', |
James Robinson | baf71d3 | 2014-10-08 13:00:20 -0700 | [diff] [blame] | 439 | 'power_monitor/power_monitor_device_source_chromeos.cc', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 440 | 'power_monitor/power_monitor_device_source_ios.mm', |
| 441 | 'power_monitor/power_monitor_device_source_mac.mm', |
| 442 | 'power_monitor/power_monitor_device_source_posix.cc', |
| 443 | 'power_monitor/power_monitor_device_source_win.cc', |
| 444 | 'power_monitor/power_monitor_source.cc', |
| 445 | 'power_monitor/power_monitor_source.h', |
| 446 | 'power_monitor/power_observer.h', |
| 447 | 'process/internal_linux.cc', |
| 448 | 'process/internal_linux.h', |
| 449 | 'process/kill.cc', |
| 450 | 'process/kill.h', |
| 451 | 'process/kill_mac.cc', |
| 452 | 'process/kill_posix.cc', |
| 453 | 'process/kill_win.cc', |
| 454 | 'process/launch.cc', |
| 455 | 'process/launch.h', |
| 456 | 'process/launch_ios.cc', |
| 457 | 'process/launch_mac.cc', |
| 458 | 'process/launch_posix.cc', |
| 459 | 'process/launch_win.cc', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 460 | 'process/memory.cc', |
Etienne Membrives | 386015a | 2015-02-19 17:27:12 +0100 | [diff] [blame] | 461 | 'process/memory.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 462 | 'process/memory_linux.cc', |
| 463 | 'process/memory_mac.mm', |
| 464 | 'process/memory_win.cc', |
| 465 | 'process/process.h', |
| 466 | 'process/process_handle_freebsd.cc', |
| 467 | 'process/process_handle_linux.cc', |
| 468 | 'process/process_handle_mac.cc', |
| 469 | 'process/process_handle_openbsd.cc', |
| 470 | 'process/process_handle_posix.cc', |
| 471 | 'process/process_handle_win.cc', |
| 472 | 'process/process_info.h', |
| 473 | 'process/process_info_linux.cc', |
| 474 | 'process/process_info_mac.cc', |
| 475 | 'process/process_info_win.cc', |
| 476 | 'process/process_iterator.cc', |
| 477 | 'process/process_iterator.h', |
| 478 | 'process/process_iterator_freebsd.cc', |
| 479 | 'process/process_iterator_linux.cc', |
| 480 | 'process/process_iterator_mac.cc', |
| 481 | 'process/process_iterator_openbsd.cc', |
| 482 | 'process/process_iterator_win.cc', |
| 483 | 'process/process_linux.cc', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 484 | 'process/process_metrics.cc', |
Etienne Membrives | 386015a | 2015-02-19 17:27:12 +0100 | [diff] [blame] | 485 | 'process/process_metrics.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 486 | 'process/process_metrics_freebsd.cc', |
| 487 | 'process/process_metrics_ios.cc', |
| 488 | 'process/process_metrics_linux.cc', |
| 489 | 'process/process_metrics_mac.cc', |
| 490 | 'process/process_metrics_openbsd.cc', |
| 491 | 'process/process_metrics_posix.cc', |
| 492 | 'process/process_metrics_win.cc', |
| 493 | 'process/process_posix.cc', |
| 494 | 'process/process_win.cc', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 495 | 'profiler/alternate_timer.cc', |
| 496 | 'profiler/alternate_timer.h', |
James Robinson | 0fae000 | 2015-05-05 16:31:51 -0700 | [diff] [blame] | 497 | 'profiler/native_stack_sampler.cc', |
| 498 | 'profiler/native_stack_sampler.h', |
James Robinson | 53b7758 | 2014-10-28 17:00:48 -0700 | [diff] [blame] | 499 | 'profiler/scoped_profile.cc', |
| 500 | 'profiler/scoped_profile.h', |
| 501 | 'profiler/scoped_tracker.cc', |
| 502 | 'profiler/scoped_tracker.h', |
Alhaad Gokhale | 4f51307 | 2015-03-24 10:49:34 -0700 | [diff] [blame] | 503 | 'profiler/stack_sampling_profiler.cc', |
| 504 | 'profiler/stack_sampling_profiler.h', |
| 505 | 'profiler/stack_sampling_profiler_posix.cc', |
| 506 | 'profiler/stack_sampling_profiler_win.cc', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 507 | 'profiler/tracked_time.cc', |
| 508 | 'profiler/tracked_time.h', |
| 509 | 'rand_util.cc', |
| 510 | 'rand_util.h', |
| 511 | 'rand_util_nacl.cc', |
| 512 | 'rand_util_posix.cc', |
| 513 | 'rand_util_win.cc', |
| 514 | 'run_loop.cc', |
| 515 | 'run_loop.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 516 | 'safe_strerror_posix.cc', |
| 517 | 'safe_strerror_posix.h', |
| 518 | 'scoped_generic.h', |
| 519 | 'scoped_native_library.cc', |
| 520 | 'scoped_native_library.h', |
| 521 | 'scoped_observer.h', |
| 522 | 'sequence_checker.h', |
| 523 | 'sequence_checker_impl.cc', |
| 524 | 'sequence_checker_impl.h', |
| 525 | 'sequenced_task_runner.cc', |
| 526 | 'sequenced_task_runner.h', |
| 527 | 'sequenced_task_runner_helpers.h', |
| 528 | 'sha1.h', |
| 529 | 'sha1_portable.cc', |
| 530 | 'sha1_win.cc', |
| 531 | 'single_thread_task_runner.h', |
| 532 | 'stl_util.h', |
| 533 | 'strings/latin1_string_conversions.cc', |
| 534 | 'strings/latin1_string_conversions.h', |
| 535 | 'strings/nullable_string16.cc', |
| 536 | 'strings/nullable_string16.h', |
| 537 | 'strings/safe_sprintf.cc', |
| 538 | 'strings/safe_sprintf.h', |
| 539 | 'strings/string16.cc', |
| 540 | 'strings/string16.h', |
| 541 | 'strings/string_number_conversions.cc', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 542 | 'strings/string_number_conversions.h', |
| 543 | 'strings/string_piece.cc', |
| 544 | 'strings/string_piece.h', |
Etienne Membrives | 386015a | 2015-02-19 17:27:12 +0100 | [diff] [blame] | 545 | 'strings/string_split.cc', |
| 546 | 'strings/string_split.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 547 | 'strings/string_tokenizer.h', |
| 548 | 'strings/string_util.cc', |
| 549 | 'strings/string_util.h', |
| 550 | 'strings/string_util_constants.cc', |
| 551 | 'strings/string_util_posix.h', |
| 552 | 'strings/string_util_win.h', |
| 553 | 'strings/stringize_macros.h', |
| 554 | 'strings/stringprintf.cc', |
| 555 | 'strings/stringprintf.h', |
| 556 | 'strings/sys_string_conversions.h', |
| 557 | 'strings/sys_string_conversions_mac.mm', |
| 558 | 'strings/sys_string_conversions_posix.cc', |
| 559 | 'strings/sys_string_conversions_win.cc', |
| 560 | 'strings/utf_offset_string_conversions.cc', |
| 561 | 'strings/utf_offset_string_conversions.h', |
| 562 | 'strings/utf_string_conversion_utils.cc', |
| 563 | 'strings/utf_string_conversion_utils.h', |
| 564 | 'strings/utf_string_conversions.cc', |
| 565 | 'strings/utf_string_conversions.h', |
| 566 | 'supports_user_data.cc', |
| 567 | 'supports_user_data.h', |
| 568 | 'synchronization/cancellation_flag.cc', |
| 569 | 'synchronization/cancellation_flag.h', |
| 570 | 'synchronization/condition_variable.h', |
| 571 | 'synchronization/condition_variable_posix.cc', |
| 572 | 'synchronization/condition_variable_win.cc', |
| 573 | 'synchronization/lock.cc', |
| 574 | 'synchronization/lock.h', |
| 575 | 'synchronization/lock_impl.h', |
| 576 | 'synchronization/lock_impl_posix.cc', |
| 577 | 'synchronization/lock_impl_win.cc', |
| 578 | 'synchronization/spin_wait.h', |
| 579 | 'synchronization/waitable_event.h', |
| 580 | 'synchronization/waitable_event_posix.cc', |
| 581 | 'synchronization/waitable_event_watcher.h', |
| 582 | 'synchronization/waitable_event_watcher_posix.cc', |
| 583 | 'synchronization/waitable_event_watcher_win.cc', |
| 584 | 'synchronization/waitable_event_win.cc', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 585 | 'sys_byteorder.h', |
| 586 | 'sys_info.cc', |
| 587 | 'sys_info.h', |
| 588 | 'sys_info_android.cc', |
| 589 | 'sys_info_chromeos.cc', |
| 590 | 'sys_info_freebsd.cc', |
| 591 | 'sys_info_internal.h', |
| 592 | 'sys_info_ios.mm', |
| 593 | 'sys_info_linux.cc', |
| 594 | 'sys_info_mac.cc', |
| 595 | 'sys_info_openbsd.cc', |
| 596 | 'sys_info_posix.cc', |
| 597 | 'sys_info_win.cc', |
Etienne Membrives | 386015a | 2015-02-19 17:27:12 +0100 | [diff] [blame] | 598 | 'system_monitor/system_monitor.cc', |
| 599 | 'system_monitor/system_monitor.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 600 | 'task/cancelable_task_tracker.cc', |
| 601 | 'task/cancelable_task_tracker.h', |
| 602 | 'task_runner.cc', |
| 603 | 'task_runner.h', |
| 604 | 'task_runner_util.h', |
| 605 | 'template_util.h', |
Etienne Membrives | 386015a | 2015-02-19 17:27:12 +0100 | [diff] [blame] | 606 | 'third_party/dmg_fp/dmg_fp.h', |
| 607 | 'third_party/dmg_fp/dtoa_wrapper.cc', |
| 608 | 'third_party/dmg_fp/g_fmt.cc', |
| 609 | 'third_party/icu/icu_utf.cc', |
| 610 | 'third_party/icu/icu_utf.h', |
| 611 | 'third_party/nspr/prtime.cc', |
| 612 | 'third_party/nspr/prtime.h', |
| 613 | 'third_party/superfasthash/superfasthash.c', |
| 614 | 'third_party/xdg_mime/xdgmime.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 615 | 'thread_task_runner_handle.cc', |
| 616 | 'thread_task_runner_handle.h', |
| 617 | 'threading/non_thread_safe.h', |
| 618 | 'threading/non_thread_safe_impl.cc', |
| 619 | 'threading/non_thread_safe_impl.h', |
| 620 | 'threading/platform_thread.h', |
| 621 | 'threading/platform_thread_android.cc', |
Alhaad Gokhale | 4f51307 | 2015-03-24 10:49:34 -0700 | [diff] [blame] | 622 | 'threading/platform_thread_internal_posix.cc', |
| 623 | 'threading/platform_thread_internal_posix.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 624 | 'threading/platform_thread_linux.cc', |
| 625 | 'threading/platform_thread_mac.mm', |
| 626 | 'threading/platform_thread_posix.cc', |
| 627 | 'threading/platform_thread_win.cc', |
| 628 | 'threading/post_task_and_reply_impl.cc', |
| 629 | 'threading/post_task_and_reply_impl.h', |
| 630 | 'threading/sequenced_worker_pool.cc', |
| 631 | 'threading/sequenced_worker_pool.h', |
| 632 | 'threading/simple_thread.cc', |
| 633 | 'threading/simple_thread.h', |
| 634 | 'threading/thread.cc', |
| 635 | 'threading/thread.h', |
| 636 | 'threading/thread_checker.h', |
| 637 | 'threading/thread_checker_impl.cc', |
| 638 | 'threading/thread_checker_impl.h', |
| 639 | 'threading/thread_collision_warner.cc', |
| 640 | 'threading/thread_collision_warner.h', |
| 641 | 'threading/thread_id_name_manager.cc', |
| 642 | 'threading/thread_id_name_manager.h', |
| 643 | 'threading/thread_local.h', |
| 644 | 'threading/thread_local_android.cc', |
| 645 | 'threading/thread_local_posix.cc', |
| 646 | 'threading/thread_local_storage.cc', |
| 647 | 'threading/thread_local_storage.h', |
| 648 | 'threading/thread_local_storage_posix.cc', |
| 649 | 'threading/thread_local_storage_win.cc', |
| 650 | 'threading/thread_local_win.cc', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 651 | 'threading/thread_restrictions.cc', |
Etienne Membrives | 386015a | 2015-02-19 17:27:12 +0100 | [diff] [blame] | 652 | 'threading/thread_restrictions.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 653 | 'threading/watchdog.cc', |
| 654 | 'threading/watchdog.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 655 | 'threading/worker_pool.cc', |
Etienne Membrives | 386015a | 2015-02-19 17:27:12 +0100 | [diff] [blame] | 656 | 'threading/worker_pool.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 657 | 'threading/worker_pool_posix.cc', |
| 658 | 'threading/worker_pool_posix.h', |
| 659 | 'threading/worker_pool_win.cc', |
| 660 | 'time/clock.cc', |
| 661 | 'time/clock.h', |
| 662 | 'time/default_clock.cc', |
| 663 | 'time/default_clock.h', |
| 664 | 'time/default_tick_clock.cc', |
| 665 | 'time/default_tick_clock.h', |
| 666 | 'time/tick_clock.cc', |
| 667 | 'time/tick_clock.h', |
| 668 | 'time/time.cc', |
| 669 | 'time/time.h', |
| 670 | 'time/time_mac.cc', |
| 671 | 'time/time_posix.cc', |
| 672 | 'time/time_win.cc', |
| 673 | 'timer/elapsed_timer.cc', |
| 674 | 'timer/elapsed_timer.h', |
| 675 | 'timer/hi_res_timer_manager.h', |
| 676 | 'timer/hi_res_timer_manager_posix.cc', |
| 677 | 'timer/hi_res_timer_manager_win.cc', |
| 678 | 'timer/mock_timer.cc', |
| 679 | 'timer/mock_timer.h', |
| 680 | 'timer/timer.cc', |
| 681 | 'timer/timer.h', |
| 682 | 'tracked_objects.cc', |
| 683 | 'tracked_objects.h', |
| 684 | 'tracking_info.cc', |
| 685 | 'tracking_info.h', |
| 686 | 'tuple.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 687 | 'value_conversions.cc', |
| 688 | 'value_conversions.h', |
Etienne Membrives | 386015a | 2015-02-19 17:27:12 +0100 | [diff] [blame] | 689 | 'values.cc', |
| 690 | 'values.h', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 691 | 'version.cc', |
| 692 | 'version.h', |
| 693 | 'vlog.cc', |
| 694 | 'vlog.h', |
| 695 | 'win/enum_variant.cc', |
| 696 | 'win/enum_variant.h', |
| 697 | 'win/event_trace_consumer.h', |
| 698 | 'win/event_trace_controller.cc', |
| 699 | 'win/event_trace_controller.h', |
| 700 | 'win/event_trace_provider.cc', |
| 701 | 'win/event_trace_provider.h', |
| 702 | 'win/i18n.cc', |
| 703 | 'win/i18n.h', |
| 704 | 'win/iat_patch_function.cc', |
| 705 | 'win/iat_patch_function.h', |
| 706 | 'win/iunknown_impl.cc', |
| 707 | 'win/iunknown_impl.h', |
| 708 | 'win/message_window.cc', |
| 709 | 'win/message_window.h', |
| 710 | 'win/metro.cc', |
| 711 | 'win/metro.h', |
| 712 | 'win/object_watcher.cc', |
| 713 | 'win/object_watcher.h', |
| 714 | 'win/registry.cc', |
| 715 | 'win/registry.h', |
| 716 | 'win/resource_util.cc', |
| 717 | 'win/resource_util.h', |
| 718 | 'win/scoped_bstr.cc', |
| 719 | 'win/scoped_bstr.h', |
| 720 | 'win/scoped_co_mem.h', |
| 721 | 'win/scoped_com_initializer.h', |
| 722 | 'win/scoped_comptr.h', |
| 723 | 'win/scoped_gdi_object.h', |
| 724 | 'win/scoped_handle.cc', |
| 725 | 'win/scoped_handle.h', |
| 726 | 'win/scoped_hdc.h', |
| 727 | 'win/scoped_hglobal.h', |
| 728 | 'win/scoped_process_information.cc', |
| 729 | 'win/scoped_process_information.h', |
| 730 | 'win/scoped_propvariant.h', |
| 731 | 'win/scoped_select_object.h', |
| 732 | 'win/scoped_variant.cc', |
| 733 | 'win/scoped_variant.h', |
| 734 | 'win/shortcut.cc', |
| 735 | 'win/shortcut.h', |
| 736 | 'win/startup_information.cc', |
| 737 | 'win/startup_information.h', |
| 738 | 'win/win_util.cc', |
| 739 | 'win/win_util.h', |
| 740 | 'win/windows_version.cc', |
| 741 | 'win/windows_version.h', |
| 742 | 'win/wrapped_window_proc.cc', |
| 743 | 'win/wrapped_window_proc.h', |
Alhaad Gokhale | 4f51307 | 2015-03-24 10:49:34 -0700 | [diff] [blame] | 744 | '<@(trace_event_sources)', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 745 | ], |
| 746 | 'defines': [ |
| 747 | 'BASE_IMPLEMENTATION', |
| 748 | ], |
| 749 | 'include_dirs': [ |
| 750 | '..', |
| 751 | ], |
| 752 | 'msvs_disabled_warnings': [ |
| 753 | 4018, |
| 754 | ], |
| 755 | 'target_conditions': [ |
| 756 | ['(<(desktop_linux) == 0 and <(chromeos) == 0) or >(nacl_untrusted_build)==1', { |
| 757 | 'sources/': [ |
| 758 | ['exclude', '^nix/'], |
| 759 | ], |
| 760 | 'sources!': [ |
| 761 | 'atomicops_internals_x86_gcc.cc', |
| 762 | ], |
| 763 | }], |
| 764 | ['<(use_glib)==0 or >(nacl_untrusted_build)==1', { |
| 765 | 'sources!': [ |
| 766 | 'message_loop/message_pump_glib.cc', |
| 767 | ], |
| 768 | }], |
| 769 | ['(OS != "linux" and <(os_bsd) != 1 and OS != "android") or >(nacl_untrusted_build)==1', { |
| 770 | 'sources!': [ |
| 771 | # Not automatically excluded by the *linux.cc rules. |
| 772 | 'linux_util.cc', |
| 773 | ], |
| 774 | }, |
| 775 | ], |
| 776 | ['>(nacl_untrusted_build)==1', { |
| 777 | 'sources!': [ |
| 778 | 'allocator/type_profiler_control.cc', |
| 779 | 'allocator/type_profiler_control.h', |
| 780 | 'base_paths.cc', |
| 781 | 'cpu.cc', |
Elliot Glaysher | eae4929 | 2015-01-28 10:47:32 -0800 | [diff] [blame] | 782 | 'debug/stack_trace.cc', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 783 | 'debug/stack_trace_posix.cc', |
| 784 | 'files/file_enumerator_posix.cc', |
| 785 | 'files/file_path_watcher_fsevents.cc', |
| 786 | 'files/file_path_watcher_fsevents.h', |
| 787 | 'files/file_path_watcher_kqueue.cc', |
| 788 | 'files/file_path_watcher_kqueue.h', |
| 789 | 'files/file_proxy.cc', |
| 790 | 'files/file_util.cc', |
| 791 | 'files/file_util_posix.cc', |
| 792 | 'files/file_util_proxy.cc', |
Elliot Glaysher | eae4929 | 2015-01-28 10:47:32 -0800 | [diff] [blame] | 793 | 'files/important_file_writer.cc', |
Etienne Membrives | 386015a | 2015-02-19 17:27:12 +0100 | [diff] [blame] | 794 | 'files/scoped_temp_dir.cc', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 795 | 'memory/shared_memory_posix.cc', |
| 796 | 'native_library_posix.cc', |
| 797 | 'path_service.cc', |
| 798 | 'posix/unix_domain_socket_linux.cc', |
Elliot Glaysher | eae4929 | 2015-01-28 10:47:32 -0800 | [diff] [blame] | 799 | 'process/kill.cc', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 800 | 'process/kill_posix.cc', |
Elliot Glaysher | eae4929 | 2015-01-28 10:47:32 -0800 | [diff] [blame] | 801 | 'process/launch.cc', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 802 | 'process/launch_posix.cc', |
Elliot Glaysher | eae4929 | 2015-01-28 10:47:32 -0800 | [diff] [blame] | 803 | 'process/process_metrics.cc', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 804 | 'process/process_metrics_posix.cc', |
| 805 | 'process/process_posix.cc', |
| 806 | 'rand_util_posix.cc', |
| 807 | 'scoped_native_library.cc', |
Elliot Glaysher | eae4929 | 2015-01-28 10:47:32 -0800 | [diff] [blame] | 808 | 'sys_info.cc', |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 809 | 'sys_info_posix.cc', |
| 810 | 'third_party/dynamic_annotations/dynamic_annotations.c', |
| 811 | ], |
| 812 | 'sources/': [ |
| 813 | ['include', '^threading/platform_thread_linux\\.cc$'], |
| 814 | ], |
| 815 | }], |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 816 | ['OS == "android" and >(nacl_untrusted_build)==0', { |
| 817 | 'sources!': [ |
| 818 | 'base_paths_posix.cc', |
| 819 | 'files/file_path_watcher_fsevents.cc', |
| 820 | 'files/file_path_watcher_fsevents.h', |
| 821 | 'files/file_path_watcher_kqueue.cc', |
| 822 | 'files/file_path_watcher_kqueue.h', |
| 823 | 'files/file_path_watcher_stub.cc', |
| 824 | 'power_monitor/power_monitor_device_source_posix.cc', |
| 825 | ], |
| 826 | 'sources/': [ |
| 827 | ['include', '^debug/proc_maps_linux\\.cc$'], |
| 828 | ['include', '^files/file_path_watcher_linux\\.cc$'], |
| 829 | ['include', '^process/memory_linux\\.cc$'], |
| 830 | ['include', '^process/internal_linux\\.cc$'], |
| 831 | ['include', '^process/process_handle_linux\\.cc$'], |
| 832 | ['include', '^process/process_iterator\\.cc$'], |
| 833 | ['include', '^process/process_iterator_linux\\.cc$'], |
| 834 | ['include', '^process/process_metrics_linux\\.cc$'], |
| 835 | ['include', '^posix/unix_domain_socket_linux\\.cc$'], |
| 836 | ['include', '^strings/sys_string_conversions_posix\\.cc$'], |
| 837 | ['include', '^sys_info_linux\\.cc$'], |
| 838 | ['include', '^worker_pool_linux\\.cc$'], |
| 839 | ], |
| 840 | }], |
| 841 | ['OS == "android" and _toolset == "host" and host_os == "linux"', { |
| 842 | 'defines': [ |
| 843 | 'OS_ANDROID_HOST=Linux', |
| 844 | ], |
| 845 | 'sources/': [ |
| 846 | # Pull in specific files for host builds. |
| 847 | ['include', '^atomicops_internals_x86_gcc\\.cc$'], |
| 848 | ['include', '^threading/platform_thread_linux\\.cc$'], |
| 849 | ], |
| 850 | }], |
James Robinson | baf71d3 | 2014-10-08 13:00:20 -0700 | [diff] [blame] | 851 | ['<(chromeos) == 1', { |
| 852 | 'sources!': [ |
| 853 | 'power_monitor/power_monitor_device_source_posix.cc', |
| 854 | ], |
| 855 | }], |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 856 | ['OS == "ios" and _toolset != "host"', { |
| 857 | 'sources/': [ |
| 858 | # Pull in specific Mac files for iOS (which have been filtered out |
| 859 | # by file name rules). |
| 860 | ['include', '^atomicops_internals_mac\\.'], |
| 861 | ['include', '^base_paths_mac\\.'], |
| 862 | ['include', '^files/file_util_mac\\.'], |
| 863 | ['include', '^file_version_info_mac\\.'], |
| 864 | ['include', '^mac/bundle_locations\\.'], |
| 865 | ['include', '^mac/foundation_util\\.'], |
| 866 | ['include', '^mac/mac_logging\\.'], |
| 867 | ['include', '^mac/mach_logging\\.'], |
| 868 | ['include', '^mac/objc_property_releaser\\.'], |
| 869 | ['include', '^mac/scoped_mach_port\\.'], |
| 870 | ['include', '^mac/scoped_mach_vm\\.'], |
| 871 | ['include', '^mac/scoped_nsautorelease_pool\\.'], |
| 872 | ['include', '^mac/scoped_nsobject\\.'], |
James Robinson | f19b102 | 2015-05-05 18:12:15 -0700 | [diff] [blame^] | 873 | ['include', '^mac/scoped_objc_class_swizzler\\.'], |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 874 | ['include', '^message_loop/message_pump_mac\\.'], |
| 875 | ['include', '^strings/sys_string_conversions_mac\\.'], |
| 876 | ['include', '^threading/platform_thread_mac\\.'], |
| 877 | ['include', '^time/time_mac\\.'], |
| 878 | ['include', '^worker_pool_mac\\.'], |
| 879 | # Exclude all process/ except the minimal implementation |
| 880 | # needed on iOS (mostly for unit tests). |
| 881 | ['exclude', '^process/.*'], |
| 882 | ['include', '^process/.*_ios\.(cc|mm)$'], |
| 883 | ['include', '^process/memory_stubs\.cc$'], |
| 884 | ['include', '^process/process_handle_posix\.cc$'], |
James Robinson | 0fae000 | 2015-05-05 16:31:51 -0700 | [diff] [blame] | 885 | ['include', '^process/process_metrics\\.cc$'], |
Alhaad Gokhale | 4f51307 | 2015-03-24 10:49:34 -0700 | [diff] [blame] | 886 | ['exclude', '^threading/platform_thread_internal_posix\\.(h|cc)'], |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 887 | ['exclude', 'files/file_path_watcher_fsevents.cc'], |
| 888 | ['exclude', 'files/file_path_watcher_fsevents.h'], |
| 889 | ['include', 'files/file_path_watcher_mac.cc'], |
| 890 | ], |
| 891 | 'sources': [ |
| 892 | 'process/memory_stubs.cc', |
| 893 | ], |
| 894 | 'sources!': [ |
| 895 | 'message_loop/message_pump_libevent.cc' |
| 896 | ], |
| 897 | }], |
| 898 | ['OS == "ios" and _toolset == "host"', { |
| 899 | 'sources/': [ |
| 900 | # Copied filename_rules to switch from iOS to Mac inclusions. |
| 901 | ['include', '_(cocoa|mac)(_unittest)?\\.(h|cc|mm?)$'], |
| 902 | ['include', '(^|/)(cocoa|mac)/'], |
| 903 | ['exclude', '_ios(_unittest)?\\.(h|cc|mm?)$'], |
| 904 | ['exclude', '(^|/)ios/'], |
| 905 | ['exclude', 'files/file_path_watcher_fsevents.cc'], |
| 906 | ['exclude', 'files/file_path_watcher_fsevents.h'], |
| 907 | ['include', 'files/file_path_watcher_mac.cc'], |
| 908 | ] |
| 909 | }], |
| 910 | # For now, just test the *BSD platforms enough to exclude them. |
| 911 | # Subsequent changes will include them further. |
| 912 | ['OS != "freebsd" or >(nacl_untrusted_build)==1', { |
| 913 | 'sources/': [ ['exclude', '_freebsd\\.cc$'] ], |
| 914 | }, |
| 915 | ], |
| 916 | ['OS != "openbsd" or >(nacl_untrusted_build)==1', { |
| 917 | 'sources/': [ ['exclude', '_openbsd\\.cc$'] ], |
| 918 | }, |
| 919 | ], |
| 920 | ['OS == "win" and >(nacl_untrusted_build)==0', { |
| 921 | 'include_dirs': [ |
| 922 | '<(DEPTH)/third_party/wtl/include', |
| 923 | ], |
| 924 | 'sources!': [ |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 925 | 'files/file_path_watcher_fsevents.cc', |
| 926 | 'files/file_path_watcher_fsevents.h', |
| 927 | 'files/file_path_watcher_kqueue.cc', |
| 928 | 'files/file_path_watcher_kqueue.h', |
| 929 | 'files/file_path_watcher_stub.cc', |
| 930 | 'message_loop/message_pump_libevent.cc', |
| 931 | 'posix/file_descriptor_shuffle.cc', |
| 932 | # Not using sha1_win.cc because it may have caused a |
| 933 | # regression to page cycler moz. |
| 934 | 'sha1_win.cc', |
| 935 | 'strings/string16.cc', |
| 936 | ], |
| 937 | },], |
James Robinson | 5e66a79 | 2015-01-21 17:02:08 -0800 | [diff] [blame] | 938 | ['<(use_ozone) == 1', { |
| 939 | 'sources!': [ |
| 940 | 'message_loop/message_pump_glib.cc', |
| 941 | ] |
| 942 | }], |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 943 | ['OS == "linux" and >(nacl_untrusted_build)==0', { |
| 944 | 'sources!': [ |
| 945 | 'files/file_path_watcher_fsevents.cc', |
| 946 | 'files/file_path_watcher_fsevents.h', |
| 947 | 'files/file_path_watcher_kqueue.cc', |
| 948 | 'files/file_path_watcher_kqueue.h', |
| 949 | 'files/file_path_watcher_stub.cc', |
| 950 | ], |
| 951 | }], |
| 952 | ['(OS == "mac" or OS == "ios") and >(nacl_untrusted_build)==0', { |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 953 | 'sources/': [ |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 954 | ['exclude', '^base_paths_posix\\.cc$'], |
Alhaad Gokhale | 4f51307 | 2015-03-24 10:49:34 -0700 | [diff] [blame] | 955 | ['exclude', '^files/file_path_watcher_stub\\.cc$'], |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 956 | ['exclude', '^native_library_posix\\.cc$'], |
| 957 | ['exclude', '^strings/sys_string_conversions_posix\\.cc$'], |
Alhaad Gokhale | 4f51307 | 2015-03-24 10:49:34 -0700 | [diff] [blame] | 958 | ['exclude', '^threading/platform_thread_internal_posix\\.cc$'], |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 959 | ], |
| 960 | }], |
| 961 | ['<(os_bsd)==1 and >(nacl_untrusted_build)==0', { |
| 962 | 'sources': [ |
| 963 | 'process/memory_stubs.cc', |
| 964 | ], |
| 965 | 'sources/': [ |
| 966 | ['exclude', '^files/file_path_watcher_linux\\.cc$'], |
| 967 | ['exclude', '^files/file_path_watcher_stub\\.cc$'], |
| 968 | ['exclude', '^files/file_util_linux\\.cc$'], |
| 969 | ['exclude', '^process/process_linux\\.cc$'], |
| 970 | ['exclude', '^sys_info_linux\\.cc$'], |
| 971 | ], |
| 972 | }], |
| 973 | # Remove all unnecessary files for build_nexe.py to avoid exceeding |
| 974 | # command-line-string limitation when building NaCl on Windows. |
| 975 | ['OS == "win" and >(nacl_untrusted_build)==1', { |
| 976 | 'sources/': [ ['exclude', '\\.h$'] ], |
| 977 | }], |
Etienne Membrives | b1556b3 | 2014-12-16 13:56:09 +0100 | [diff] [blame] | 978 | # Enable more direct string conversions on platforms with native utf8 |
| 979 | # strings |
| 980 | ['OS=="mac" or OS=="ios" or <(chromeos)==1 or <(chromecast)==1', { |
| 981 | 'defines': ['SYSTEM_NATIVE_UTF8'], |
| 982 | }], |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 983 | ], |
| 984 | }], |
| 985 | ['base_i18n_target==1', { |
| 986 | 'defines': [ |
| 987 | 'BASE_I18N_IMPLEMENTATION', |
| 988 | ], |
| 989 | 'sources': [ |
| 990 | 'i18n/base_i18n_export.h', |
| 991 | 'i18n/bidi_line_iterator.cc', |
| 992 | 'i18n/bidi_line_iterator.h', |
| 993 | 'i18n/break_iterator.cc', |
| 994 | 'i18n/break_iterator.h', |
| 995 | 'i18n/case_conversion.cc', |
| 996 | 'i18n/case_conversion.h', |
| 997 | 'i18n/char_iterator.cc', |
| 998 | 'i18n/char_iterator.h', |
| 999 | 'i18n/file_util_icu.cc', |
| 1000 | 'i18n/file_util_icu.h', |
| 1001 | 'i18n/i18n_constants.cc', |
| 1002 | 'i18n/i18n_constants.h', |
| 1003 | 'i18n/icu_encoding_detection.cc', |
| 1004 | 'i18n/icu_encoding_detection.h', |
| 1005 | 'i18n/icu_string_conversions.cc', |
| 1006 | 'i18n/icu_string_conversions.h', |
| 1007 | 'i18n/icu_util.cc', |
| 1008 | 'i18n/icu_util.h', |
| 1009 | 'i18n/number_formatting.cc', |
| 1010 | 'i18n/number_formatting.h', |
| 1011 | 'i18n/rtl.cc', |
| 1012 | 'i18n/rtl.h', |
| 1013 | 'i18n/streaming_utf8_validator.cc', |
| 1014 | 'i18n/streaming_utf8_validator.h', |
| 1015 | 'i18n/string_compare.cc', |
| 1016 | 'i18n/string_compare.h', |
| 1017 | 'i18n/string_search.cc', |
| 1018 | 'i18n/string_search.h', |
| 1019 | 'i18n/time_formatting.cc', |
| 1020 | 'i18n/time_formatting.h', |
| 1021 | 'i18n/timezone.cc', |
| 1022 | 'i18n/timezone.h', |
| 1023 | 'i18n/utf8_validator_tables.cc', |
| 1024 | 'i18n/utf8_validator_tables.h', |
| 1025 | ], |
| 1026 | }] |
| 1027 | ], |
| 1028 | }, |
| 1029 | } |