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

Side by Side Diff: base/base.gypi

Issue 8065017: Upstream: Android's base.gyp and base.gypi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Change a Tab to space. Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/base.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 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
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
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',
107 'file_version_info_win.cc', 110 'file_version_info_win.cc',
108 'file_version_info_win.h', 111 'file_version_info_win.h',
109 'files/file_path_watcher.cc', 112 'files/file_path_watcher.cc',
110 'files/file_path_watcher.h', 113 'files/file_path_watcher.h',
111 'files/file_path_watcher_linux.cc', 114 'files/file_path_watcher_linux.cc',
112 'files/file_path_watcher_mac.cc', 115 'files/file_path_watcher_mac.cc',
116 'files/file_path_watcher_stub.cc',
113 'files/file_path_watcher_win.cc', 117 'files/file_path_watcher_win.cc',
114 'float_util.h', 118 'float_util.h',
115 'format_macros.h', 119 'format_macros.h',
116 'global_descriptors_posix.cc', 120 'global_descriptors_posix.cc',
117 'global_descriptors_posix.h', 121 'global_descriptors_posix.h',
118 'gtest_prod_util.h', 122 'gtest_prod_util.h',
119 'hash_tables.h', 123 'hash_tables.h',
120 'id_map.h', 124 'id_map.h',
121 'json/json_reader.cc', 125 'json/json_reader.cc',
122 'json/json_reader.h', 126 'json/json_reader.h',
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 'metrics/stats_table.cc', 191 'metrics/stats_table.cc',
188 'metrics/stats_table.h', 192 'metrics/stats_table.h',
189 'mime_util.h', 193 'mime_util.h',
190 'mime_util_xdg.cc', 194 'mime_util_xdg.cc',
191 'native_library.h', 195 'native_library.h',
192 'native_library_linux.cc', 196 'native_library_linux.cc',
193 'native_library_mac.mm', 197 'native_library_mac.mm',
194 'native_library_win.cc', 198 'native_library_win.cc',
195 'observer_list.h', 199 'observer_list.h',
196 'observer_list_threadsafe.h', 200 'observer_list_threadsafe.h',
201 'os_compat_android.cc',
202 'os_compat_android.h',
197 'path_service.cc', 203 'path_service.cc',
198 'path_service.h', 204 'path_service.h',
199 'pickle.cc', 205 'pickle.cc',
200 'pickle.h', 206 'pickle.h',
201 'platform_file.cc', 207 'platform_file.cc',
202 'platform_file.h', 208 'platform_file.h',
203 'platform_file_posix.cc', 209 'platform_file_posix.cc',
204 'platform_file_win.cc', 210 'platform_file_win.cc',
205 'port.h', 211 'port.h',
206 'process.h', 212 'process.h',
(...skipping 14 matching lines...) Expand all
221 'safe_strerror_posix.cc', 227 'safe_strerror_posix.cc',
222 'safe_strerror_posix.h', 228 'safe_strerror_posix.h',
223 'scoped_native_library.cc', 229 'scoped_native_library.cc',
224 'scoped_native_library.h', 230 'scoped_native_library.h',
225 'scoped_temp_dir.cc', 231 'scoped_temp_dir.cc',
226 'scoped_temp_dir.h', 232 'scoped_temp_dir.h',
227 'sha1.h', 233 'sha1.h',
228 'sha1_portable.cc', 234 'sha1_portable.cc',
229 'sha1_win.cc', 235 'sha1_win.cc',
230 'shared_memory.h', 236 'shared_memory.h',
237 'shared_memory_android.cc',
231 'shared_memory_posix.cc', 238 'shared_memory_posix.cc',
232 'shared_memory_win.cc', 239 'shared_memory_win.cc',
233 'spin_wait.h', 240 'spin_wait.h',
234 'stack_container.h', 241 'stack_container.h',
235 'stl_util.h', 242 'stl_util.h',
236 'string_number_conversions.cc', 243 'string_number_conversions.cc',
237 'string_number_conversions.h', 244 'string_number_conversions.h',
238 'string_piece.cc', 245 'string_piece.cc',
239 'string_piece.h', 246 'string_piece.h',
240 'string_split.cc', 247 'string_split.cc',
(...skipping 17 matching lines...) Expand all
258 'synchronization/lock_impl_posix.cc', 265 'synchronization/lock_impl_posix.cc',
259 'synchronization/lock_impl_win.cc', 266 'synchronization/lock_impl_win.cc',
260 'synchronization/waitable_event.h', 267 'synchronization/waitable_event.h',
261 'synchronization/waitable_event_posix.cc', 268 'synchronization/waitable_event_posix.cc',
262 'synchronization/waitable_event_watcher.h', 269 'synchronization/waitable_event_watcher.h',
263 'synchronization/waitable_event_watcher_posix.cc', 270 'synchronization/waitable_event_watcher_posix.cc',
264 'synchronization/waitable_event_watcher_win.cc', 271 'synchronization/waitable_event_watcher_win.cc',
265 'synchronization/waitable_event_win.cc', 272 'synchronization/waitable_event_win.cc',
266 'system_monitor/system_monitor.cc', 273 'system_monitor/system_monitor.cc',
267 'system_monitor/system_monitor.h', 274 'system_monitor/system_monitor.h',
275 'system_monitor/system_monitor_android.cc',
268 'system_monitor/system_monitor_mac.mm', 276 'system_monitor/system_monitor_mac.mm',
269 'system_monitor/system_monitor_posix.cc', 277 'system_monitor/system_monitor_posix.cc',
270 'system_monitor/system_monitor_win.cc', 278 'system_monitor/system_monitor_win.cc',
271 'sys_info.h', 279 'sys_info.h',
272 'sys_info_chromeos.cc', 280 'sys_info_chromeos.cc',
273 'sys_info_freebsd.cc', 281 'sys_info_freebsd.cc',
274 'sys_info_linux.cc', 282 'sys_info_linux.cc',
275 'sys_info_mac.cc', 283 'sys_info_mac.cc',
276 'sys_info_openbsd.cc', 284 'sys_info_openbsd.cc',
277 'sys_info_posix.cc', 285 'sys_info_posix.cc',
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 'sources!' : [ 'message_pump_gtk.cc', ], 418 'sources!' : [ 'message_pump_gtk.cc', ],
411 'sources/' : [ [ 'include', 'message_pump_x.cc', ] ], 419 'sources/' : [ [ 'include', 'message_pump_x.cc', ] ],
412 }], 420 }],
413 [ 'OS != "linux"', { 421 [ 'OS != "linux"', {
414 'sources!': [ 422 'sources!': [
415 # Not automatically excluded by the *linux.cc rules. 423 # Not automatically excluded by the *linux.cc rules.
416 'linux_util.cc', 424 'linux_util.cc',
417 ], 425 ],
418 }, 426 },
419 ], 427 ],
428 [ 'OS == "android"', {
429 'sources/': [
430 ['exclude', '^debug/stack_trace.cc'],
431 ['exclude', '^debug/stack_trace_posix.cc'],
432 ['exclude', '^system_monitor/system_monitor_posix.cc'],
433 ['include', '^native_library_linux.cc'],
434 ['include', '^process_util_linux.cc'],
435 ['include', '^sys_info_linux.cc'],
436 ['include', '^sys_string_conversions_linux.cc'],
437 ['include', '^worker_pool_linux.cc'],
438 # TODO(michaelbai): The below files are excluded because of the
439 # missing JNI, add them back when JNI is ready.
440 ['exclude', '^android/'],
441 ['exclude', '^message_pump_android.cc'],
442 ['exclude', '^base_paths_android.cc'],
443 ['exclude', '^debug/stack_trace_android.cc'],
444 ],
445 }],
420 [ 'OS != "mac"', { 446 [ 'OS != "mac"', {
421 'sources!': [ 447 'sources!': [
422 'mac/scoped_aedesc.h' 448 'mac/scoped_aedesc.h'
423 ], 449 ],
424 }], 450 }],
425 # For now, just test the *BSD platforms enough to exclude them. 451 # For now, just test the *BSD platforms enough to exclude them.
426 # Subsequent changes will include them further. 452 # Subsequent changes will include them further.
427 [ 'OS != "freebsd"', { 453 [ 'OS != "freebsd"', {
428 'sources/': [ ['exclude', '_freebsd\\.cc$'] ], 454 'sources/': [ ['exclude', '_freebsd\\.cc$'] ],
429 }, 455 },
(...skipping 10 matching lines...) Expand all
440 'sources/': [ ['exclude', '^android/'] ], 466 'sources/': [ ['exclude', '^android/'] ],
441 }, 467 },
442 ], 468 ],
443 [ 'OS == "win"', { 469 [ 'OS == "win"', {
444 'include_dirs': [ 470 'include_dirs': [
445 '<(DEPTH)/third_party/wtl/include', 471 '<(DEPTH)/third_party/wtl/include',
446 ], 472 ],
447 'sources!': [ 473 'sources!': [
448 'event_recorder_stubs.cc', 474 'event_recorder_stubs.cc',
449 'file_descriptor_shuffle.cc', 475 'file_descriptor_shuffle.cc',
476 'files/file_path_watcher_stub.cc',
450 'message_pump_libevent.cc', 477 'message_pump_libevent.cc',
451 # Not using sha1_win.cc because it may have caused a 478 # Not using sha1_win.cc because it may have caused a
452 # regression to page cycler moz. 479 # regression to page cycler moz.
453 'sha1_win.cc', 480 'sha1_win.cc',
454 'string16.cc', 481 'string16.cc',
455 ], 482 ],
456 },], 483 },],
457 ['os_posix==1 and OS!="linux" and OS!="mac"', { 484 [ 'OS == "linux"', {
458 'sources!': [ 485 'sources!': [
459 'files/file_path_watcher_linux.cc',
460 ],
461 'sources': [
462 'files/file_path_watcher_stub.cc', 486 'files/file_path_watcher_stub.cc',
463 ], 487 ],
464 }], 488 }],
489 [ 'OS == "mac"', {
490 'sources!': [
491 'files/file_path_watcher_stub.cc',
492 ],
493 }],
465 ], 494 ],
466 }], 495 }],
467 ], 496 ],
468 }, 497 },
469 'targets': [ 498 'targets': [
470 { 499 {
471 'target_name': 'base', 500 'target_name': 'base',
472 'type': '<(component)', 501 'type': '<(component)',
473 'toolsets': ['host', 'target'], 502 'toolsets': ['host', 'target'],
474 'variables': { 503 'variables': {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 'export_dependent_settings': [ 558 'export_dependent_settings': [
530 '../build/linux/system.gyp:glib', 559 '../build/linux/system.gyp:glib',
531 '../build/linux/system.gyp:x11', 560 '../build/linux/system.gyp:x11',
532 ], 561 ],
533 }, { # use_glib!=1 562 }, { # use_glib!=1
534 'sources/': [ 563 'sources/': [
535 ['exclude', '/xdg_user_dirs/'], 564 ['exclude', '/xdg_user_dirs/'],
536 ['exclude', '_nss\.cc$'], 565 ['exclude', '_nss\.cc$'],
537 ], 566 ],
538 }], 567 }],
568 [ 'OS == "android"', {
569 'dependencies': [
570 'symbolize',
571 '../third_party/ashmem/ashmem.gyp:ashmem#target',
572 ],
573 'defines': [
574 'USE_SYMBOLIZE',
575 ],
576 'link_settings': {
577 'libraries': [
578 '-llog',
579 ],
580 },
581 'conditions': [
582 [ '_toolset=="host" and host_os=="linux"', {
583 'dependencies': [
584 '../build/linux/system.gyp:glib',
585 ],
586 }],
587 ],
588 }],
539 [ 'OS == "freebsd" or OS == "openbsd"', { 589 [ 'OS == "freebsd" or OS == "openbsd"', {
540 'link_settings': { 590 'link_settings': {
541 'libraries': [ 591 'libraries': [
542 '-L/usr/local/lib -lexecinfo', 592 '-L/usr/local/lib -lexecinfo',
543 ], 593 ],
544 }, 594 },
545 }, 595 },
546 ], 596 ],
547 [ 'OS == "linux"', { 597 [ 'OS == "linux"', {
548 'link_settings': { 598 'link_settings': {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 'base64.h', 643 'base64.h',
594 'event_recorder.h', 644 'event_recorder.h',
595 'event_recorder_stubs.cc', 645 'event_recorder_stubs.cc',
596 'event_recorder_win.cc', 646 'event_recorder_win.cc',
597 'file_descriptor_shuffle.cc', 647 'file_descriptor_shuffle.cc',
598 'file_descriptor_shuffle.h', 648 'file_descriptor_shuffle.h',
599 'linux_util.cc', 649 'linux_util.cc',
600 'linux_util.h', 650 'linux_util.h',
601 'md5.cc', 651 'md5.cc',
602 'md5.h', 652 'md5.h',
653 'message_pump_android.cc',
654 'message_pump_android.h',
603 'message_pump_glib.cc', 655 'message_pump_glib.cc',
604 'message_pump_glib.h', 656 'message_pump_glib.h',
605 'message_pump_gtk.cc', 657 'message_pump_gtk.cc',
606 'message_pump_gtk.h', 658 'message_pump_gtk.h',
607 'message_pump_x.cc', 659 'message_pump_x.cc',
608 'message_pump_x.h', 660 'message_pump_x.h',
609 'message_pump_libevent.cc', 661 'message_pump_libevent.cc',
610 'message_pump_libevent.h', 662 'message_pump_libevent.h',
611 'message_pump_mac.h', 663 'message_pump_mac.h',
612 'message_pump_mac.mm', 664 'message_pump_mac.mm',
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
742 'third_party/xdg_mime/xdgmimemagic.c', 794 'third_party/xdg_mime/xdgmimemagic.c',
743 'third_party/xdg_mime/xdgmimemagic.h', 795 'third_party/xdg_mime/xdgmimemagic.h',
744 'third_party/xdg_mime/xdgmimeparent.c', 796 'third_party/xdg_mime/xdgmimeparent.c',
745 'third_party/xdg_mime/xdgmimeparent.h', 797 'third_party/xdg_mime/xdgmimeparent.h',
746 ], 798 ],
747 }, 799 },
748 ], 800 ],
749 }], 801 }],
750 ], 802 ],
751 } 803 }
OLDNEW
« no previous file with comments | « base/base.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698