OLD | NEW |
1 # Copyright 2008 the V8 project authors. All rights reserved. | 1 # Copyright 2008 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 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 }, | 279 }, |
280 'os:macos': { | 280 'os:macos': { |
281 'LIBS': ['pthread'], | 281 'LIBS': ['pthread'], |
282 }, | 282 }, |
283 'os:freebsd': { | 283 'os:freebsd': { |
284 'LIBS': ['execinfo', 'pthread'] | 284 'LIBS': ['execinfo', 'pthread'] |
285 }, | 285 }, |
286 'os:win32': { | 286 'os:win32': { |
287 'LIBS': ['winmm', 'ws2_32'] | 287 'LIBS': ['winmm', 'ws2_32'] |
288 }, | 288 }, |
| 289 'os:android': { |
| 290 'CPPDEFINES': ['ANDROID', '__ARM_ARCH_5__', '__ARM_ARCH_5T__', |
| 291 '__ARM_ARCH_5E__', '__ARM_ARCH_5TE__'], |
| 292 'CCFLAGS': ANDROID_FLAGS, |
| 293 'CPPPATH': ANDROID_INCLUDES, |
| 294 'LIBPATH': [ANDROID_TOP + '/out/target/product/generic/obj/lib'], |
| 295 'LINKFLAGS': ANDROID_LINKFLAGS, |
| 296 'LIBS': ['c', 'stdc++', 'm'], |
| 297 'mode:release': { |
| 298 'CPPDEFINES': ['SK_RELEASE', 'NDEBUG'] |
| 299 } |
| 300 }, |
289 'wordsize:64': { | 301 'wordsize:64': { |
290 'CCFLAGS': ['-m32'], | 302 'CCFLAGS': ['-m32'], |
291 'LINKFLAGS': ['-m32'] | 303 'LINKFLAGS': ['-m32'] |
292 }, | 304 }, |
293 }, | 305 }, |
294 'msvc': { | 306 'msvc': { |
295 'all': { | 307 'all': { |
296 'CPPDEFINES': ['_HAS_EXCEPTIONS=0'], | 308 'CPPDEFINES': ['_HAS_EXCEPTIONS=0'], |
297 'LIBS': ['winmm', 'ws2_32'] | 309 'LIBS': ['winmm', 'ws2_32'] |
298 }, | 310 }, |
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
782 # version of scons. Also, there's a bug in some revisions that | 794 # version of scons. Also, there's a bug in some revisions that |
783 # doesn't allow this flag to be set, so we swallow any exceptions. | 795 # doesn't allow this flag to be set, so we swallow any exceptions. |
784 # Lovely. | 796 # Lovely. |
785 try: | 797 try: |
786 SetOption('warn', 'no-deprecated') | 798 SetOption('warn', 'no-deprecated') |
787 except: | 799 except: |
788 pass | 800 pass |
789 | 801 |
790 | 802 |
791 Build() | 803 Build() |
OLD | NEW |