OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'target_defaults': { | 6 'target_defaults': { |
7 'variables': { | 7 'variables': { |
8 'base_target': 0, | 8 'base_target': 0, |
9 }, | 9 }, |
10 'target_conditions': [ | 10 'target_conditions': [ |
(...skipping 25 matching lines...) Expand all Loading... |
36 'at_exit.h', | 36 'at_exit.h', |
37 'atomic_ref_count.h', | 37 'atomic_ref_count.h', |
38 'atomic_sequence_num.h', | 38 'atomic_sequence_num.h', |
39 'atomicops.h', | 39 'atomicops.h', |
40 'atomicops_internals_x86_gcc.cc', | 40 'atomicops_internals_x86_gcc.cc', |
41 'atomicops_internals_x86_gcc.h', | 41 'atomicops_internals_x86_gcc.h', |
42 'atomicops_internals_x86_msvc.h', | 42 'atomicops_internals_x86_msvc.h', |
43 'base_export.h', | 43 'base_export.h', |
44 'base_paths.cc', | 44 'base_paths.cc', |
45 'base_paths.h', | 45 'base_paths.h', |
| 46 'base_paths_android.cc', |
46 'base_paths_mac.h', | 47 'base_paths_mac.h', |
47 'base_paths_mac.mm', | 48 'base_paths_mac.mm', |
48 'base_paths_linux.cc', | 49 'base_paths_linux.cc', |
49 'base_paths_win.cc', | 50 'base_paths_win.cc', |
50 'base_paths_win.h', | 51 'base_paths_win.h', |
51 'base_switches.h', | 52 'base_switches.h', |
52 'basictypes.h', | 53 'basictypes.h', |
53 'bind.h', | 54 'bind.h', |
54 'bind_helpers.h', | 55 'bind_helpers.h', |
55 'bind_internal.h', | 56 'bind_internal.h', |
(...skipping 15 matching lines...) Expand all Loading... |
71 'debug/debugger.cc', | 72 'debug/debugger.cc', |
72 'debug/debugger.h', | 73 'debug/debugger.h', |
73 'debug/debugger_posix.cc', | 74 'debug/debugger_posix.cc', |
74 'debug/debugger_win.cc', | 75 'debug/debugger_win.cc', |
75 'debug/leak_annotations.h', | 76 'debug/leak_annotations.h', |
76 'debug/leak_tracker.h', | 77 'debug/leak_tracker.h', |
77 'debug/profiler.cc', | 78 'debug/profiler.cc', |
78 'debug/profiler.h', | 79 'debug/profiler.h', |
79 'debug/stack_trace.cc', | 80 'debug/stack_trace.cc', |
80 'debug/stack_trace.h', | 81 'debug/stack_trace.h', |
| 82 'debug/stack_trace_android.cc', |
81 'debug/stack_trace_posix.cc', | 83 'debug/stack_trace_posix.cc', |
82 'debug/stack_trace_win.cc', | 84 'debug/stack_trace_win.cc', |
83 'debug/trace_event_win.cc', | 85 'debug/trace_event_win.cc', |
84 'debug/trace_event.cc', | 86 'debug/trace_event.cc', |
85 'debug/trace_event.h', | 87 'debug/trace_event.h', |
86 'dir_reader_fallback.h', | 88 'dir_reader_fallback.h', |
87 'dir_reader_linux.h', | 89 'dir_reader_linux.h', |
88 'dir_reader_posix.h', | 90 'dir_reader_posix.h', |
89 'eintr_wrapper.h', | 91 'eintr_wrapper.h', |
90 'environment.cc', | 92 'environment.cc', |
91 'environment.h', | 93 'environment.h', |
92 'file_descriptor_posix.h', | 94 'file_descriptor_posix.h', |
93 'file_path.cc', | 95 'file_path.cc', |
94 'file_path.h', | 96 'file_path.h', |
95 'file_util.cc', | 97 'file_util.cc', |
96 'file_util.h', | 98 'file_util.h', |
| 99 'file_util_android.cc', |
97 'file_util_deprecated.h', | 100 'file_util_deprecated.h', |
98 'file_util_linux.cc', | 101 'file_util_linux.cc', |
99 'file_util_mac.mm', | 102 'file_util_mac.mm', |
100 'file_util_posix.cc', | 103 'file_util_posix.cc', |
101 'file_util_win.cc', | 104 'file_util_win.cc', |
102 'file_util_proxy.cc', | 105 'file_util_proxy.cc', |
103 'file_util_proxy.h', | 106 'file_util_proxy.h', |
104 'file_version_info.h', | 107 'file_version_info.h', |
105 'file_version_info_mac.h', | 108 'file_version_info_mac.h', |
106 'file_version_info_mac.mm', | 109 'file_version_info_mac.mm', |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 'metrics/stats_table.cc', | 190 'metrics/stats_table.cc', |
188 'metrics/stats_table.h', | 191 'metrics/stats_table.h', |
189 'mime_util.h', | 192 'mime_util.h', |
190 'mime_util_xdg.cc', | 193 'mime_util_xdg.cc', |
191 'native_library.h', | 194 'native_library.h', |
192 'native_library_linux.cc', | 195 'native_library_linux.cc', |
193 'native_library_mac.mm', | 196 'native_library_mac.mm', |
194 'native_library_win.cc', | 197 'native_library_win.cc', |
195 'observer_list.h', | 198 'observer_list.h', |
196 'observer_list_threadsafe.h', | 199 'observer_list_threadsafe.h', |
| 200 'os_compat_android.cc', |
| 201 'os_compat_android.h', |
197 'path_service.cc', | 202 'path_service.cc', |
198 'path_service.h', | 203 'path_service.h', |
199 'pickle.cc', | 204 'pickle.cc', |
200 'pickle.h', | 205 'pickle.h', |
201 'platform_file.cc', | 206 'platform_file.cc', |
202 'platform_file.h', | 207 'platform_file.h', |
203 'platform_file_posix.cc', | 208 'platform_file_posix.cc', |
204 'platform_file_win.cc', | 209 'platform_file_win.cc', |
205 'port.h', | 210 'port.h', |
206 'process.h', | 211 'process.h', |
(...skipping 14 matching lines...) Expand all Loading... |
221 'safe_strerror_posix.cc', | 226 'safe_strerror_posix.cc', |
222 'safe_strerror_posix.h', | 227 'safe_strerror_posix.h', |
223 'scoped_native_library.cc', | 228 'scoped_native_library.cc', |
224 'scoped_native_library.h', | 229 'scoped_native_library.h', |
225 'scoped_temp_dir.cc', | 230 'scoped_temp_dir.cc', |
226 'scoped_temp_dir.h', | 231 'scoped_temp_dir.h', |
227 'sha1.h', | 232 'sha1.h', |
228 'sha1_portable.cc', | 233 'sha1_portable.cc', |
229 'sha1_win.cc', | 234 'sha1_win.cc', |
230 'shared_memory.h', | 235 'shared_memory.h', |
| 236 'shared_memory_android.cc', |
231 'shared_memory_posix.cc', | 237 'shared_memory_posix.cc', |
232 'shared_memory_win.cc', | 238 'shared_memory_win.cc', |
233 'spin_wait.h', | 239 'spin_wait.h', |
234 'stack_container.h', | 240 'stack_container.h', |
235 'stl_util.h', | 241 'stl_util.h', |
236 'string_number_conversions.cc', | 242 'string_number_conversions.cc', |
237 'string_number_conversions.h', | 243 'string_number_conversions.h', |
238 'string_piece.cc', | 244 'string_piece.cc', |
239 'string_piece.h', | 245 'string_piece.h', |
240 'string_split.cc', | 246 'string_split.cc', |
(...skipping 17 matching lines...) Expand all Loading... |
258 'synchronization/lock_impl_posix.cc', | 264 'synchronization/lock_impl_posix.cc', |
259 'synchronization/lock_impl_win.cc', | 265 'synchronization/lock_impl_win.cc', |
260 'synchronization/waitable_event.h', | 266 'synchronization/waitable_event.h', |
261 'synchronization/waitable_event_posix.cc', | 267 'synchronization/waitable_event_posix.cc', |
262 'synchronization/waitable_event_watcher.h', | 268 'synchronization/waitable_event_watcher.h', |
263 'synchronization/waitable_event_watcher_posix.cc', | 269 'synchronization/waitable_event_watcher_posix.cc', |
264 'synchronization/waitable_event_watcher_win.cc', | 270 'synchronization/waitable_event_watcher_win.cc', |
265 'synchronization/waitable_event_win.cc', | 271 'synchronization/waitable_event_win.cc', |
266 'system_monitor/system_monitor.cc', | 272 'system_monitor/system_monitor.cc', |
267 'system_monitor/system_monitor.h', | 273 'system_monitor/system_monitor.h', |
| 274 'system_monitor/system_monitor_android.cc', |
268 'system_monitor/system_monitor_mac.mm', | 275 'system_monitor/system_monitor_mac.mm', |
269 'system_monitor/system_monitor_posix.cc', | 276 'system_monitor/system_monitor_posix.cc', |
270 'system_monitor/system_monitor_win.cc', | 277 'system_monitor/system_monitor_win.cc', |
271 'sys_info.h', | 278 'sys_info.h', |
272 'sys_info_chromeos.cc', | 279 'sys_info_chromeos.cc', |
273 'sys_info_freebsd.cc', | 280 'sys_info_freebsd.cc', |
274 'sys_info_linux.cc', | 281 'sys_info_linux.cc', |
275 'sys_info_mac.cc', | 282 'sys_info_mac.cc', |
276 'sys_info_openbsd.cc', | 283 'sys_info_openbsd.cc', |
277 'sys_info_posix.cc', | 284 'sys_info_posix.cc', |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 'sources!' : [ 'message_pump_gtk.cc', ], | 417 'sources!' : [ 'message_pump_gtk.cc', ], |
411 'sources/' : [ [ 'include', 'message_pump_x.cc', ] ], | 418 'sources/' : [ [ 'include', 'message_pump_x.cc', ] ], |
412 }], | 419 }], |
413 [ 'OS != "linux"', { | 420 [ 'OS != "linux"', { |
414 'sources!': [ | 421 'sources!': [ |
415 # Not automatically excluded by the *linux.cc rules. | 422 # Not automatically excluded by the *linux.cc rules. |
416 'linux_util.cc', | 423 'linux_util.cc', |
417 ], | 424 ], |
418 }, | 425 }, |
419 ], | 426 ], |
| 427 [ 'OS == "android"', { |
| 428 'sources/': [ |
| 429 ['exclude', '^debug/stack_trace.cc'], |
| 430 ['exclude', '^debug/stack_trace_posix.cc'], |
| 431 ['exclude', '^system_monitor/system_monitor_posix.cc'], |
| 432 ['include', '^native_library_linux.cc'], |
| 433 ['include', '^process_util_linux.cc'], |
| 434 ['include', '^sys_info_linux.cc'], |
| 435 ['include', '^sys_string_conversions_linux.cc'], |
| 436 ['include', '^worker_pool_linux.cc'], |
| 437 # TODO(michaelbai): The below files are excluded because of the |
| 438 # missing JNI, add them back when JNI is ready. |
| 439 ['exclude', '^android/'], |
| 440 ['exclude', '^message_pump_android.cc'], |
| 441 ['exclude', '^base_paths_android.cc'], |
| 442 ['exclude', '^debug/stack_trace_android.cc'], |
| 443 ], |
| 444 }], |
420 [ 'OS != "mac"', { | 445 [ 'OS != "mac"', { |
421 'sources!': [ | 446 'sources!': [ |
422 'mac/scoped_aedesc.h' | 447 'mac/scoped_aedesc.h' |
423 ], | 448 ], |
424 }], | 449 }], |
425 # For now, just test the *BSD platforms enough to exclude them. | 450 # For now, just test the *BSD platforms enough to exclude them. |
426 # Subsequent changes will include them further. | 451 # Subsequent changes will include them further. |
427 [ 'OS != "freebsd"', { | 452 [ 'OS != "freebsd"', { |
428 'sources/': [ ['exclude', '_freebsd\\.cc$'] ], | 453 'sources/': [ ['exclude', '_freebsd\\.cc$'] ], |
429 }, | 454 }, |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
529 'export_dependent_settings': [ | 554 'export_dependent_settings': [ |
530 '../build/linux/system.gyp:glib', | 555 '../build/linux/system.gyp:glib', |
531 '../build/linux/system.gyp:x11', | 556 '../build/linux/system.gyp:x11', |
532 ], | 557 ], |
533 }, { # use_glib!=1 | 558 }, { # use_glib!=1 |
534 'sources/': [ | 559 'sources/': [ |
535 ['exclude', '/xdg_user_dirs/'], | 560 ['exclude', '/xdg_user_dirs/'], |
536 ['exclude', '_nss\.cc$'], | 561 ['exclude', '_nss\.cc$'], |
537 ], | 562 ], |
538 }], | 563 }], |
| 564 [ 'OS == "android"', { |
| 565 'dependencies': [ |
| 566 'symbolize', |
| 567 '../third_party/ashmem/ashmem.gyp:ashmem#target', |
| 568 ], |
| 569 'defines': [ |
| 570 'USE_SYMBOLIZE', |
| 571 ], |
| 572 'link_settings': { |
| 573 'libraries': [ |
| 574 '-llog', |
| 575 ], |
| 576 }, |
| 577 'conditions': [ |
| 578 [ '_toolset=="host" and host_os=="linux"', { |
| 579 'dependencies': [ |
| 580 '../build/linux/system.gyp:glib', |
| 581 ], |
| 582 }], |
| 583 ], |
| 584 }], |
539 [ 'OS == "freebsd" or OS == "openbsd"', { | 585 [ 'OS == "freebsd" or OS == "openbsd"', { |
540 'link_settings': { | 586 'link_settings': { |
541 'libraries': [ | 587 'libraries': [ |
542 '-L/usr/local/lib -lexecinfo', | 588 '-L/usr/local/lib -lexecinfo', |
543 ], | 589 ], |
544 }, | 590 }, |
545 }, | 591 }, |
546 ], | 592 ], |
547 [ 'OS == "linux"', { | 593 [ 'OS == "linux"', { |
548 'link_settings': { | 594 'link_settings': { |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
593 'base64.h', | 639 'base64.h', |
594 'event_recorder.h', | 640 'event_recorder.h', |
595 'event_recorder_stubs.cc', | 641 'event_recorder_stubs.cc', |
596 'event_recorder_win.cc', | 642 'event_recorder_win.cc', |
597 'file_descriptor_shuffle.cc', | 643 'file_descriptor_shuffle.cc', |
598 'file_descriptor_shuffle.h', | 644 'file_descriptor_shuffle.h', |
599 'linux_util.cc', | 645 'linux_util.cc', |
600 'linux_util.h', | 646 'linux_util.h', |
601 'md5.cc', | 647 'md5.cc', |
602 'md5.h', | 648 'md5.h', |
| 649 'message_pump_android.cc', |
| 650 'message_pump_android.h', |
603 'message_pump_glib.cc', | 651 'message_pump_glib.cc', |
604 'message_pump_glib.h', | 652 'message_pump_glib.h', |
605 'message_pump_gtk.cc', | 653 'message_pump_gtk.cc', |
606 'message_pump_gtk.h', | 654 'message_pump_gtk.h', |
607 'message_pump_x.cc', | 655 'message_pump_x.cc', |
608 'message_pump_x.h', | 656 'message_pump_x.h', |
609 'message_pump_libevent.cc', | 657 'message_pump_libevent.cc', |
610 'message_pump_libevent.h', | 658 'message_pump_libevent.h', |
611 'message_pump_mac.h', | 659 'message_pump_mac.h', |
612 'message_pump_mac.mm', | 660 'message_pump_mac.mm', |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
742 'third_party/xdg_mime/xdgmimemagic.c', | 790 'third_party/xdg_mime/xdgmimemagic.c', |
743 'third_party/xdg_mime/xdgmimemagic.h', | 791 'third_party/xdg_mime/xdgmimemagic.h', |
744 'third_party/xdg_mime/xdgmimeparent.c', | 792 'third_party/xdg_mime/xdgmimeparent.c', |
745 'third_party/xdg_mime/xdgmimeparent.h', | 793 'third_party/xdg_mime/xdgmimeparent.h', |
746 ], | 794 ], |
747 }, | 795 }, |
748 ], | 796 ], |
749 }], | 797 }], |
750 ], | 798 ], |
751 } | 799 } |
OLD | NEW |