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): Remove the below once the JNI is ready. | |
438 ['exclude', '^android/'], | |
439 ['exclude', '^message_pump_android.cc'], | |
440 ['exclude', '^base_paths_android.cc'], | |
441 ['exclude', '^debug/stack_trace_android.cc'], | |
brettw
2011/09/28 19:49:28
Why do you add this file only to exclude it?
michaelbai
2011/09/28 21:22:11
Not sure I fully understood your question, All the
| |
442 ], | |
443 'sources': [ | |
444 'files/file_path_watcher_stub.cc', | |
brettw
2011/09/28 19:49:28
Why isn't this in the main list of all files above
michaelbai
2011/09/28 21:22:11
I check it again, it seemed that this file has bee
brettw
2011/09/28 21:38:49
The style is to have all files in the main list, a
michaelbai
2011/09/28 23:04:34
Done.
| |
445 ], | |
446 }], | |
420 [ 'OS != "mac"', { | 447 [ 'OS != "mac"', { |
421 'sources!': [ | 448 'sources!': [ |
422 'mac/scoped_aedesc.h' | 449 'mac/scoped_aedesc.h' |
423 ], | 450 ], |
424 }], | 451 }], |
425 # For now, just test the *BSD platforms enough to exclude them. | 452 # For now, just test the *BSD platforms enough to exclude them. |
426 # Subsequent changes will include them further. | 453 # Subsequent changes will include them further. |
427 [ 'OS != "freebsd"', { | 454 [ 'OS != "freebsd"', { |
428 'sources/': [ ['exclude', '_freebsd\\.cc$'] ], | 455 'sources/': [ ['exclude', '_freebsd\\.cc$'] ], |
429 }, | 456 }, |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
529 'export_dependent_settings': [ | 556 'export_dependent_settings': [ |
530 '../build/linux/system.gyp:glib', | 557 '../build/linux/system.gyp:glib', |
531 '../build/linux/system.gyp:x11', | 558 '../build/linux/system.gyp:x11', |
532 ], | 559 ], |
533 }, { # use_glib!=1 | 560 }, { # use_glib!=1 |
534 'sources/': [ | 561 'sources/': [ |
535 ['exclude', '/xdg_user_dirs/'], | 562 ['exclude', '/xdg_user_dirs/'], |
536 ['exclude', '_nss\.cc$'], | 563 ['exclude', '_nss\.cc$'], |
537 ], | 564 ], |
538 }], | 565 }], |
566 [ 'OS == "android"', { | |
567 'dependencies': [ | |
568 'symbolize', | |
569 '../third_party/ashmem/ashmem.gyp:ashmem#target', | |
570 ], | |
571 'defines': [ | |
572 'USE_SYMBOLIZE', | |
573 ], | |
574 'link_settings': { | |
575 'libraries': [ | |
576 '-llog', | |
577 ], | |
578 }, | |
579 'conditions': [ | |
580 [ '_toolset=="host" and host_os=="linux"', { | |
581 'dependencies': [ | |
582 '../build/linux/system.gyp:glib', | |
583 ], | |
584 }], | |
585 ], | |
586 }], | |
539 [ 'OS == "freebsd" or OS == "openbsd"', { | 587 [ 'OS == "freebsd" or OS == "openbsd"', { |
540 'link_settings': { | 588 'link_settings': { |
541 'libraries': [ | 589 'libraries': [ |
542 '-L/usr/local/lib -lexecinfo', | 590 '-L/usr/local/lib -lexecinfo', |
543 ], | 591 ], |
544 }, | 592 }, |
545 }, | 593 }, |
546 ], | 594 ], |
547 [ 'OS == "linux"', { | 595 [ 'OS == "linux"', { |
548 'link_settings': { | 596 'link_settings': { |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
593 'base64.h', | 641 'base64.h', |
594 'event_recorder.h', | 642 'event_recorder.h', |
595 'event_recorder_stubs.cc', | 643 'event_recorder_stubs.cc', |
596 'event_recorder_win.cc', | 644 'event_recorder_win.cc', |
597 'file_descriptor_shuffle.cc', | 645 'file_descriptor_shuffle.cc', |
598 'file_descriptor_shuffle.h', | 646 'file_descriptor_shuffle.h', |
599 'linux_util.cc', | 647 'linux_util.cc', |
600 'linux_util.h', | 648 'linux_util.h', |
601 'md5.cc', | 649 'md5.cc', |
602 'md5.h', | 650 'md5.h', |
651 'message_pump_android.cc', | |
652 'message_pump_android.h', | |
603 'message_pump_glib.cc', | 653 'message_pump_glib.cc', |
604 'message_pump_glib.h', | 654 'message_pump_glib.h', |
605 'message_pump_gtk.cc', | 655 'message_pump_gtk.cc', |
606 'message_pump_gtk.h', | 656 'message_pump_gtk.h', |
607 'message_pump_x.cc', | 657 'message_pump_x.cc', |
608 'message_pump_x.h', | 658 'message_pump_x.h', |
609 'message_pump_libevent.cc', | 659 'message_pump_libevent.cc', |
610 'message_pump_libevent.h', | 660 'message_pump_libevent.h', |
611 'message_pump_mac.h', | 661 'message_pump_mac.h', |
612 'message_pump_mac.mm', | 662 'message_pump_mac.mm', |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
742 'third_party/xdg_mime/xdgmimemagic.c', | 792 'third_party/xdg_mime/xdgmimemagic.c', |
743 'third_party/xdg_mime/xdgmimemagic.h', | 793 'third_party/xdg_mime/xdgmimemagic.h', |
744 'third_party/xdg_mime/xdgmimeparent.c', | 794 'third_party/xdg_mime/xdgmimeparent.c', |
745 'third_party/xdg_mime/xdgmimeparent.h', | 795 'third_party/xdg_mime/xdgmimeparent.h', |
746 ], | 796 ], |
747 }, | 797 }, |
748 ], | 798 ], |
749 }], | 799 }], |
750 ], | 800 ], |
751 } | 801 } |
OLD | NEW |