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

Side by Side Diff: SConstruct

Issue 6905091: Remove all android references from SCons file (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 8 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 | « 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 2010 the V8 project authors. All rights reserved. 1 # Copyright 2010 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 'visibility:hidden': { 94 'visibility:hidden': {
95 # Use visibility=default to disable this. 95 # Use visibility=default to disable this.
96 'CXXFLAGS': ['-fvisibility=hidden'] 96 'CXXFLAGS': ['-fvisibility=hidden']
97 }, 97 },
98 'strictaliasing:off': { 98 'strictaliasing:off': {
99 'CCFLAGS': ['-fno-strict-aliasing'] 99 'CCFLAGS': ['-fno-strict-aliasing']
100 }, 100 },
101 'mode:debug': { 101 'mode:debug': {
102 'CCFLAGS': ['-g', '-O0'], 102 'CCFLAGS': ['-g', '-O0'],
103 'CPPDEFINES': ['ENABLE_DISASSEMBLER', 'DEBUG'], 103 'CPPDEFINES': ['ENABLE_DISASSEMBLER', 'DEBUG'],
104 'os:android': {
105 'CCFLAGS': ['-mthumb']
106 }
107 }, 104 },
108 'mode:release': { 105 'mode:release': {
109 'CCFLAGS': ['-O3', '-fomit-frame-pointer', '-fdata-sections', 106 'CCFLAGS': ['-O3', '-fomit-frame-pointer', '-fdata-sections',
110 '-ffunction-sections'], 107 '-ffunction-sections'],
111 'os:android': {
112 'CCFLAGS': ['-mthumb', '-Os'],
113 'CPPDEFINES': ['SK_RELEASE', 'NDEBUG']
114 }
115 }, 108 },
116 'os:linux': { 109 'os:linux': {
117 'CCFLAGS': ['-ansi'] + GCC_EXTRA_CCFLAGS, 110 'CCFLAGS': ['-ansi'] + GCC_EXTRA_CCFLAGS,
118 'library:shared': { 111 'library:shared': {
119 'CPPDEFINES': ['V8_SHARED'], 112 'CPPDEFINES': ['V8_SHARED'],
120 'LIBS': ['pthread'] 113 'LIBS': ['pthread']
121 } 114 }
122 }, 115 },
123 'os:macos': { 116 'os:macos': {
124 'CCFLAGS': ['-ansi', '-mmacosx-version-min=10.4'], 117 'CCFLAGS': ['-ansi', '-mmacosx-version-min=10.4'],
(...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after
772 return 'default' 765 return 'default'
773 766
774 767
775 PLATFORM_OPTIONS = { 768 PLATFORM_OPTIONS = {
776 'arch': { 769 'arch': {
777 'values': ['arm', 'ia32', 'x64', 'mips'], 770 'values': ['arm', 'ia32', 'x64', 'mips'],
778 'guess': GuessArch, 771 'guess': GuessArch,
779 'help': 'the architecture to build for' 772 'help': 'the architecture to build for'
780 }, 773 },
781 'os': { 774 'os': {
782 'values': ['freebsd', 'linux', 'macos', 'win32', 'android', 'openbsd', 'sola ris', 'cygwin'], 775 'values': ['freebsd', 'linux', 'macos', 'win32', 'openbsd', 'solaris', 'cygw in'],
783 'guess': GuessOS, 776 'guess': GuessOS,
784 'help': 'the os to build for' 777 'help': 'the os to build for'
785 }, 778 },
786 'toolchain': { 779 'toolchain': {
787 'values': ['gcc', 'msvc'], 780 'values': ['gcc', 'msvc'],
788 'guess': GuessToolchain, 781 'guess': GuessToolchain,
789 'help': 'the toolchain to use' 782 'help': 'the toolchain to use'
790 } 783 }
791 } 784 }
792 785
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after
1360 # version of scons. Also, there's a bug in some revisions that 1353 # version of scons. Also, there's a bug in some revisions that
1361 # doesn't allow this flag to be set, so we swallow any exceptions. 1354 # doesn't allow this flag to be set, so we swallow any exceptions.
1362 # Lovely. 1355 # Lovely.
1363 try: 1356 try:
1364 SetOption('warn', 'no-deprecated') 1357 SetOption('warn', 'no-deprecated')
1365 except: 1358 except:
1366 pass 1359 pass
1367 1360
1368 1361
1369 Build() 1362 Build()
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