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

Side by Side Diff: base/base.gypi

Issue 8586054: Allows base to be built for host on android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebasing Created 9 years, 1 month 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 | « no previous file | 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 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 }, 444 },
445 ], 445 ],
446 [ 'OS == "android"', { 446 [ 'OS == "android"', {
447 'sources!': [ 447 'sources!': [
448 'files/file_path_watcher_kqueue.cc', 448 'files/file_path_watcher_kqueue.cc',
449 'system_monitor/system_monitor_posix.cc', 449 'system_monitor/system_monitor_posix.cc',
450 ], 450 ],
451 'sources/': [ 451 'sources/': [
452 ['include', '^process_util_linux\\.cc$'], 452 ['include', '^process_util_linux\\.cc$'],
453 ['include', '^sys_info_linux\\.cc$'], 453 ['include', '^sys_info_linux\\.cc$'],
454 ['include', '^sys_string_conversions_posix\\.cc$'],
454 ['include', '^worker_pool_linux\\.cc$'], 455 ['include', '^worker_pool_linux\\.cc$'],
455 # TODO(michaelbai): The below files are excluded because of the 456 # TODO(michaelbai): The below files are excluded because of the
456 # missing JNI, add them back when JNI is ready. 457 # missing JNI, add them back when JNI is ready.
457 ['exclude', '^android/'], 458 ['exclude', '^android/'],
458 ['exclude', '^base_paths_android\\.cc$'], 459 ['exclude', '^base_paths_android\\.cc$'],
459 ['exclude', '^debug/stack_trace_android\\.cc$'], 460 ['exclude', '^debug/stack_trace_android\\.cc$'],
460 ['exclude', '^message_pump_android\\.cc$'], 461 ['exclude', '^message_pump_android\\.cc$'],
461 ], 462 ],
462 }], 463 }],
463 [ 'OS != "mac"', { 464 [ 'OS != "mac"', {
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 'export_dependent_settings': [ 592 'export_dependent_settings': [
592 '../build/linux/system.gyp:glib', 593 '../build/linux/system.gyp:glib',
593 '../build/linux/system.gyp:x11', 594 '../build/linux/system.gyp:x11',
594 ], 595 ],
595 }, { # use_glib!=1 596 }, { # use_glib!=1
596 'sources/': [ 597 'sources/': [
597 ['exclude', '/xdg_user_dirs/'], 598 ['exclude', '/xdg_user_dirs/'],
598 ['exclude', '_nss\.cc$'], 599 ['exclude', '_nss\.cc$'],
599 ], 600 ],
600 }], 601 }],
601 [ 'OS == "android"', { 602 [ 'OS == "android" and _toolset == "host"', {
603 # Base for host support is the minimum required to run the
604 # ssl false start blacklist tool. It requires further changes
605 # to generically support host builds (and tests).
606 # Note: when building for host, gyp has OS == "android",
607 # hence the *_android.cc files are included but the actual code
608 # doesn't have OS_ANDROID / ANDROID defined.
609 'conditions': [
610 ['host_os == "linux"', {
611 'sources/': [
612 ['include', '^atomicops_internals_x86_gcc\\.cc$'],
613 ],
614 'dependencies': [
615 '../build/linux/system.gyp:glib',
616 ],
617 'export_dependent_settings': [
618 '../build/linux/system.gyp:glib',
619 ],
620 }],
621 ['host_os == "mac"', {
622 'sources/': [
623 ['exclude', '^native_library_linux\\.cc$'],
624 ['exclude', '^process_util_linux\\.cc$'],
625 ['exclude', '^sys_info_linux\\.cc$'],
626 ['exclude', '^sys_string_conversions_linux\\.cc$'],
627 ['exclude', '^worker_pool_linux\\.cc$'],
628 ],
629 }],
630 ],
631 }],
632 [ 'OS == "android" and _toolset == "target"', {
602 'dependencies': [ 633 'dependencies': [
603 'symbolize', 634 'symbolize',
604 '../third_party/ashmem/ashmem.gyp:ashmem#target', 635 '../third_party/ashmem/ashmem.gyp:ashmem',
605 ], 636 ],
637 'link_settings': {
638 'libraries': [
639 '-llog',
640 ],
641 },
606 'defines': [ 642 'defines': [
607 'USE_SYMBOLIZE', 643 'USE_SYMBOLIZE',
608 ], 644 ],
609 'conditions': [ 645 'sources!': [
610 [ '_toolset=="host" and host_os=="linux"', { 646 'debug/stack_trace.cc',
611 'dependencies': [ 647 'debug/stack_trace_posix.cc',
612 '../build/linux/system.gyp:glib',
613 ],
614 'sources/': [
615 ['include', '^atomicops_internals_x86_gcc\\.cc$'],
616 ],
617 }],
618 [ '_toolset=="target"', {
619 'sources!': [
620 'debug/stack_trace.cc',
621 'debug/stack_trace_posix.cc',
622 ],
623 'link_settings': {
624 'libraries': [
625 '-llog',
626 ],
627 },
628 }],
629 ], 648 ],
630 }], 649 }],
631 [ 'os_bsd==1', { 650 [ 'os_bsd==1', {
632 'include_dirs': [ 651 'include_dirs': [
633 '/usr/local/include', 652 '/usr/local/include',
634 ], 653 ],
635 'link_settings': { 654 'link_settings': {
636 'libraries': [ 655 'libraries': [
637 '-L/usr/local/lib -lexecinfo', 656 '-L/usr/local/lib -lexecinfo',
638 ], 657 ],
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
843 'third_party/xdg_mime/xdgmimemagic.c', 862 'third_party/xdg_mime/xdgmimemagic.c',
844 'third_party/xdg_mime/xdgmimemagic.h', 863 'third_party/xdg_mime/xdgmimemagic.h',
845 'third_party/xdg_mime/xdgmimeparent.c', 864 'third_party/xdg_mime/xdgmimeparent.c',
846 'third_party/xdg_mime/xdgmimeparent.h', 865 'third_party/xdg_mime/xdgmimeparent.h',
847 ], 866 ],
848 }, 867 },
849 ], 868 ],
850 }], 869 }],
851 ], 870 ],
852 } 871 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698