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

Side by Side Diff: tools/gyp/v8.gyp

Issue 23819005: Work-around missing librt for cross-compiling Chrome for Android in AOSP. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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 | « src/platform/time.cc ('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 2012 the V8 project authors. All rights reserved. 1 # Copyright 2012 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 'sources': [ 717 'sources': [
718 '../../src/platform-macos.cc' 718 '../../src/platform-macos.cc'
719 ] 719 ]
720 }, { 720 }, {
721 'sources': [ 721 'sources': [
722 '../../src/platform-linux.cc' 722 '../../src/platform-linux.cc'
723 ] 723 ]
724 }], 724 }],
725 ], 725 ],
726 }, { 726 }, {
727 'link_settings': { 727 # TODO(bmeurer): What we really want here, is this:
728 'target_conditions': [ 728 #
729 ['_toolset=="host"', { 729 # 'link_settings': {
730 'libraries': [ 730 # 'target_conditions': [
731 '-lrt' 731 # ['_toolset=="host"', {
732 ] 732 # 'libraries': [
733 }] 733 # '-lrt'
734 ] 734 # ]
735 }, 735 # }]
736 # ]
737 # },
738 #
739 # but we can't do this right now, as the AOSP does not support
740 # linking against the host librt, so we need to work around this
741 # for now, using the following hack (see platform/time.cc):
742 'target_conditions': [
743 ['_toolset=="host"', {
744 'defines': [
745 'V8_LIBRT_NOT_AVAILABLE',
746 ],
747 }],
748 ],
736 'sources': [ 749 'sources': [
737 '../../src/platform-linux.cc' 750 '../../src/platform-linux.cc'
738 ] 751 ]
739 }], 752 }],
740 ], 753 ],
741 }, 754 },
742 ], 755 ],
743 ['OS=="freebsd"', { 756 ['OS=="freebsd"', {
744 'link_settings': { 757 'link_settings': {
745 'libraries': [ 758 'libraries': [
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
1050 }], 1063 }],
1051 ['v8_compress_startup_data=="bz2"', { 1064 ['v8_compress_startup_data=="bz2"', {
1052 'libraries': [ 1065 'libraries': [
1053 '-lbz2', 1066 '-lbz2',
1054 ] 1067 ]
1055 }], 1068 }],
1056 ], 1069 ],
1057 }, 1070 },
1058 ], 1071 ],
1059 } 1072 }
OLDNEW
« no previous file with comments | « src/platform/time.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698