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

Side by Side Diff: SConstruct

Issue 160641: Fix SConstruct file to build with new logging code for Android. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 4 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 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 '-finline-limit=64', 72 '-finline-limit=64',
73 '-MD'] 73 '-MD']
74 74
75 ANDROID_INCLUDES = [ANDROID_TOP + '/bionic/libc/arch-arm/include', 75 ANDROID_INCLUDES = [ANDROID_TOP + '/bionic/libc/arch-arm/include',
76 ANDROID_TOP + '/bionic/libc/include', 76 ANDROID_TOP + '/bionic/libc/include',
77 ANDROID_TOP + '/bionic/libstdc++/include', 77 ANDROID_TOP + '/bionic/libstdc++/include',
78 ANDROID_TOP + '/bionic/libc/kernel/common', 78 ANDROID_TOP + '/bionic/libc/kernel/common',
79 ANDROID_TOP + '/bionic/libc/kernel/arch-arm', 79 ANDROID_TOP + '/bionic/libc/kernel/arch-arm',
80 ANDROID_TOP + '/bionic/libm/include', 80 ANDROID_TOP + '/bionic/libm/include',
81 ANDROID_TOP + '/bionic/libm/include/arch/arm', 81 ANDROID_TOP + '/bionic/libm/include/arch/arm',
82 ANDROID_TOP + '/bionic/libthread_db/include'] 82 ANDROID_TOP + '/bionic/libthread_db/include',
83 ANDROID_TOP + '/frameworks/base/include',
84 ANDROID_TOP + '/system/core/include']
83 85
84 ANDROID_LINKFLAGS = ['-nostdlib', 86 ANDROID_LINKFLAGS = ['-nostdlib',
85 '-Bdynamic', 87 '-Bdynamic',
86 '-Wl,-T,' + ANDROID_TOP + '/build/core/armelf.x', 88 '-Wl,-T,' + ANDROID_TOP + '/build/core/armelf.x',
87 '-Wl,-dynamic-linker,/system/bin/linker', 89 '-Wl,-dynamic-linker,/system/bin/linker',
88 '-Wl,--gc-sections', 90 '-Wl,--gc-sections',
89 '-Wl,-z,nocopyreloc', 91 '-Wl,-z,nocopyreloc',
90 '-Wl,-rpath-link=' + ANDROID_TOP + '/out/target/product/gen eric/obj/lib', 92 '-Wl,-rpath-link=' + ANDROID_TOP + '/out/target/product/gen eric/obj/lib',
91 ANDROID_TOP + '/out/target/product/generic/obj/lib/crtbegin _dynamic.o', 93 ANDROID_TOP + '/out/target/product/generic/obj/lib/crtbegin _dynamic.o',
92 ANDROID_TOP + '/prebuilt/linux-x86/toolchain/arm-eabi-4.2.1 /lib/gcc/arm-eabi/4.2.1/interwork/libgcc.a', 94 ANDROID_TOP + '/prebuilt/linux-x86/toolchain/arm-eabi-4.2.1 /lib/gcc/arm-eabi/4.2.1/interwork/libgcc.a',
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 'os:win32': { 325 'os:win32': {
324 'LIBS': ['winmm', 'ws2_32'] 326 'LIBS': ['winmm', 'ws2_32']
325 }, 327 },
326 'os:android': { 328 'os:android': {
327 'CPPDEFINES': ['ANDROID', '__ARM_ARCH_5__', '__ARM_ARCH_5T__', 329 'CPPDEFINES': ['ANDROID', '__ARM_ARCH_5__', '__ARM_ARCH_5T__',
328 '__ARM_ARCH_5E__', '__ARM_ARCH_5TE__'], 330 '__ARM_ARCH_5E__', '__ARM_ARCH_5TE__'],
329 'CCFLAGS': ANDROID_FLAGS, 331 'CCFLAGS': ANDROID_FLAGS,
330 'CPPPATH': ANDROID_INCLUDES, 332 'CPPPATH': ANDROID_INCLUDES,
331 'LIBPATH': [ANDROID_TOP + '/out/target/product/generic/obj/lib'], 333 'LIBPATH': [ANDROID_TOP + '/out/target/product/generic/obj/lib'],
332 'LINKFLAGS': ANDROID_LINKFLAGS, 334 'LINKFLAGS': ANDROID_LINKFLAGS,
333 'LIBS': ['c', 'stdc++', 'm'], 335 'LIBS': ['log', 'c', 'stdc++', 'm'],
334 'mode:release': { 336 'mode:release': {
335 'CPPDEFINES': ['SK_RELEASE', 'NDEBUG'] 337 'CPPDEFINES': ['SK_RELEASE', 'NDEBUG']
336 } 338 }
337 }, 339 },
338 }, 340 },
339 'msvc': { 341 'msvc': {
340 'all': { 342 'all': {
341 'CPPDEFINES': ['_HAS_EXCEPTIONS=0'], 343 'CPPDEFINES': ['_HAS_EXCEPTIONS=0'],
342 'LIBS': ['winmm', 'ws2_32'] 344 'LIBS': ['winmm', 'ws2_32']
343 }, 345 },
(...skipping 30 matching lines...) Expand all
374 'os:win32': { 376 'os:win32': {
375 'LIBS': ['winmm', 'ws2_32'] 377 'LIBS': ['winmm', 'ws2_32']
376 }, 378 },
377 'os:android': { 379 'os:android': {
378 'CPPDEFINES': ['ANDROID', '__ARM_ARCH_5__', '__ARM_ARCH_5T__', 380 'CPPDEFINES': ['ANDROID', '__ARM_ARCH_5__', '__ARM_ARCH_5T__',
379 '__ARM_ARCH_5E__', '__ARM_ARCH_5TE__'], 381 '__ARM_ARCH_5E__', '__ARM_ARCH_5TE__'],
380 'CCFLAGS': ANDROID_FLAGS, 382 'CCFLAGS': ANDROID_FLAGS,
381 'CPPPATH': ANDROID_INCLUDES, 383 'CPPPATH': ANDROID_INCLUDES,
382 'LIBPATH': [ANDROID_TOP + '/out/target/product/generic/obj/lib'], 384 'LIBPATH': [ANDROID_TOP + '/out/target/product/generic/obj/lib'],
383 'LINKFLAGS': ANDROID_LINKFLAGS, 385 'LINKFLAGS': ANDROID_LINKFLAGS,
384 'LIBS': ['c', 'stdc++', 'm'], 386 'LIBS': ['log', 'c', 'stdc++', 'm'],
385 'mode:release': { 387 'mode:release': {
386 'CPPDEFINES': ['SK_RELEASE', 'NDEBUG'] 388 'CPPDEFINES': ['SK_RELEASE', 'NDEBUG']
387 } 389 }
388 }, 390 },
389 'arch:ia32': { 391 'arch:ia32': {
390 'CCFLAGS': ['-m32'], 392 'CCFLAGS': ['-m32'],
391 'LINKFLAGS': ['-m32'] 393 'LINKFLAGS': ['-m32']
392 }, 394 },
393 'arch:x64': { 395 'arch:x64': {
394 'CCFLAGS': ['-m64'], 396 'CCFLAGS': ['-m64'],
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 }, 464 },
463 'os:macos': { 465 'os:macos': {
464 'LIBS': ['pthread'], 466 'LIBS': ['pthread'],
465 }, 467 },
466 'os:freebsd': { 468 'os:freebsd': {
467 'LIBS': ['pthread'], 469 'LIBS': ['pthread'],
468 }, 470 },
469 'os:android': { 471 'os:android': {
470 'LIBPATH': [ANDROID_TOP + '/out/target/product/generic/obj/lib'], 472 'LIBPATH': [ANDROID_TOP + '/out/target/product/generic/obj/lib'],
471 'LINKFLAGS': ANDROID_LINKFLAGS, 473 'LINKFLAGS': ANDROID_LINKFLAGS,
472 'LIBS': ['c', 'stdc++', 'm'], 474 'LIBS': ['log', 'c', 'stdc++', 'm'],
473 }, 475 },
474 'os:win32': { 476 'os:win32': {
475 'LIBS': ['winmm', 'ws2_32'], 477 'LIBS': ['winmm', 'ws2_32'],
476 }, 478 },
477 }, 479 },
478 'msvc': { 480 'msvc': {
479 'all': { 481 'all': {
480 'LIBS': ['winmm', 'ws2_32'] 482 'LIBS': ['winmm', 'ws2_32']
481 } 483 }
482 } 484 }
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
907 # version of scons. Also, there's a bug in some revisions that 909 # version of scons. Also, there's a bug in some revisions that
908 # doesn't allow this flag to be set, so we swallow any exceptions. 910 # doesn't allow this flag to be set, so we swallow any exceptions.
909 # Lovely. 911 # Lovely.
910 try: 912 try:
911 SetOption('warn', 'no-deprecated') 913 SetOption('warn', 'no-deprecated')
912 except: 914 except:
913 pass 915 pass
914 916
915 917
916 Build() 918 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