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

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: Patch 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 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 'debug/stack_trace.cc', 449 'debug/stack_trace.cc',
450 'debug/stack_trace_posix.cc', 450 'debug/stack_trace_posix.cc',
451 'system_monitor/system_monitor_posix.cc', 451 'system_monitor/system_monitor_posix.cc',
452 ], 452 ],
453 'sources/': [ 453 'sources/': [
454 ['include', '^process_util_linux\\.cc$'], 454 ['include', '^process_util_linux\\.cc$'],
455 ['include', '^sys_info_linux\\.cc$'], 455 ['include', '^sys_info_linux\\.cc$'],
456 ['include', '^sys_string_conversions_posix.cc'],
Mark Mentovai 2011/11/18 19:03:16 Follow the pattern of the lines around you. Fully
bulach 2011/11/21 12:48:13 Done.
456 ['include', '^worker_pool_linux\\.cc$'], 457 ['include', '^worker_pool_linux\\.cc$'],
457 # TODO(michaelbai): The below files are excluded because of the 458 # TODO(michaelbai): The below files are excluded because of the
458 # missing JNI, add them back when JNI is ready. 459 # missing JNI, add them back when JNI is ready.
459 ['exclude', '^android/'], 460 ['exclude', '^android/'],
460 ['exclude', '^message_pump_android\\.cc$'], 461 ['exclude', '^message_pump_android\\.cc$'],
461 ['exclude', '^base_paths_android\\.cc$'], 462 ['exclude', '^base_paths_android\\.cc$'],
462 ['exclude', '^debug/stack_trace_android\\.cc$'], 463 ['exclude', '^debug/stack_trace_android\\.cc$'],
463 ], 464 ],
464 }], 465 }],
465 [ 'OS != "mac"', { 466 [ 'OS != "mac"', {
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 'export_dependent_settings': [ 594 'export_dependent_settings': [
594 '../build/linux/system.gyp:glib', 595 '../build/linux/system.gyp:glib',
595 '../build/linux/system.gyp:x11', 596 '../build/linux/system.gyp:x11',
596 ], 597 ],
597 }, { # use_glib!=1 598 }, { # use_glib!=1
598 'sources/': [ 599 'sources/': [
599 ['exclude', '/xdg_user_dirs/'], 600 ['exclude', '/xdg_user_dirs/'],
600 ['exclude', '_nss\.cc$'], 601 ['exclude', '_nss\.cc$'],
601 ], 602 ],
602 }], 603 }],
603 [ 'OS == "android"', { 604 [ 'OS == "android" and _toolset == "host"', {
605 # Base for host support is the minimum required to run the
606 # ssl false start blacklist tool. We'll require further changes
Mark Mentovai 2011/11/18 19:03:16 Avoid using “we” and “our” incomments.
bulach 2011/11/21 12:48:13 Done.
607 # to generically support host builds (and tests).
608 # Note: when building for host, gyp has OS == "android",
609 # hence the *_android.cc files are included but the actual code
610 # doesn't have OS_ANDROID / ANDROID defined.
611 'conditions': [
612 ['host_os == "linux"', {
613 'sources/': [
614 ['include', 'atomicops_internals_x86_gcc\\.cc'],
Mark Mentovai 2011/11/18 19:03:16 ^$ anchors on each end.
bulach 2011/11/21 12:48:13 Done.
615 ],
616 'dependencies': [
617 '../build/linux/system.gyp:glib',
618 ],
619 'export_dependent_settings': [
620 '../build/linux/system.gyp:glib',
621 ],
622 }],
623 ['host_os == "mac"', {
624 'sources/': [
625 ['exclude', '^native_library_linux.cc'],
Mark Mentovai 2011/11/18 19:03:16 \\. and $ through line 629.
michaelbai 2011/11/18 23:58:16 Hi Mark, Should 'sources!' be used here instead o
bulach 2011/11/21 12:48:13 Done.
bulach 2011/11/21 12:48:13 afaict, the order that 'sources', 'sources!' and '
Mark Mentovai 2011/11/21 13:33:55 michaelbai wrote:
626 ['exclude', '^process_util_linux.cc'],
627 ['exclude', '^sys_info_linux.cc'],
628 ['exclude', '^sys_string_conversions_linux.cc'],
629 ['exclude', '^worker_pool_linux.cc'],
630 ],
631 }],
632 ],
633 }],
634 [ 'OS == "android" and _toolset == "target"', {
604 'dependencies': [ 635 'dependencies': [
605 'symbolize', 636 'symbolize',
606 '../third_party/ashmem/ashmem.gyp:ashmem#target', 637 '../third_party/ashmem/ashmem.gyp:ashmem',
607 ], 638 ],
608 'defines': [ 639 'defines': [
609 'USE_SYMBOLIZE', 640 'USE_SYMBOLIZE',
610 ], 641 ],
611 'link_settings': { 642 'link_settings': {
612 'libraries': [ 643 'libraries': [
613 '-llog', 644 '-llog',
614 ], 645 ],
615 }, 646 },
616 'conditions': [ 647 'sources!': [
617 [ '_toolset=="host" and host_os=="linux"', { 648 'debug/stack_trace.cc',
618 'dependencies': [ 649 'debug/stack_trace_posix.cc',
619 '../build/linux/system.gyp:glib',
620 ],
621 }],
622 ], 650 ],
623 }], 651 }],
624 [ 'os_bsd==1', { 652 [ 'os_bsd==1', {
625 'include_dirs': [ 653 'include_dirs': [
626 '/usr/local/include', 654 '/usr/local/include',
627 ], 655 ],
628 'link_settings': { 656 'link_settings': {
629 'libraries': [ 657 'libraries': [
630 '-L/usr/local/lib -lexecinfo', 658 '-L/usr/local/lib -lexecinfo',
631 ], 659 ],
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
836 'third_party/xdg_mime/xdgmimemagic.c', 864 'third_party/xdg_mime/xdgmimemagic.c',
837 'third_party/xdg_mime/xdgmimemagic.h', 865 'third_party/xdg_mime/xdgmimemagic.h',
838 'third_party/xdg_mime/xdgmimeparent.c', 866 'third_party/xdg_mime/xdgmimeparent.c',
839 'third_party/xdg_mime/xdgmimeparent.h', 867 'third_party/xdg_mime/xdgmimeparent.h',
840 ], 868 ],
841 }, 869 },
842 ], 870 ],
843 }], 871 }],
844 ], 872 ],
845 } 873 }
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