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

Side by Side Diff: SConstruct

Issue 42560: Strcmp thinko and SConstruct improvement for d8 on Android. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 9 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 | src/d8.cc » ('j') | 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 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 }, 379 },
380 'os:linux': { 380 'os:linux': {
381 'LIBS': ['pthread', 'rt'], 381 'LIBS': ['pthread', 'rt'],
382 }, 382 },
383 'os:macos': { 383 'os:macos': {
384 'LIBS': ['pthread'], 384 'LIBS': ['pthread'],
385 }, 385 },
386 'os:freebsd': { 386 'os:freebsd': {
387 'LIBS': ['pthread'], 387 'LIBS': ['pthread'],
388 }, 388 },
389 'os:android': {
390 'LIBPATH': [ANDROID_TOP + '/out/target/product/generic/obj/lib'],
Søren Thygesen Gjesse 2009/03/24 14:14:42 How about defining ANDROID_LINKFLAGS like ANDROID_
391 'LINKFLAGS': ['-nostdlib',
392 '-Bdynamic',
393 '-Wl,-T,' + ANDROID_TOP + '/build/core/armelf.x',
394 '-Wl,-dynamic-linker,/system/bin/linker',
395 '-Wl,--gc-sections',
396 '-Wl,-z,nocopyreloc',
397 '-Wl,-rpath-link=' + ANDROID_TOP + '/out/target/product/g eneric/obj/lib',
398 ANDROID_TOP + '/out/target/product/generic/obj/lib/crtbeg in_dynamic.o',
399 ANDROID_TOP + '/prebuilt/linux-x86/toolchain/arm-eabi-4.2 .1/lib/gcc/arm-eabi/4.2.1/interwork/libgcc.a',
400 ANDROID_TOP + '/out/target/product/generic/obj/lib/crtend _android.o'],
401 'LIBS': ['c', 'stdc++', 'm'],
402 },
389 'os:win32': { 403 'os:win32': {
390 'LIBS': ['winmm', 'ws2_32'], 404 'LIBS': ['winmm', 'ws2_32'],
391 }, 405 },
392 }, 406 },
393 'msvc': { 407 'msvc': {
394 'all': { 408 'all': {
395 'LIBS': ['winmm', 'ws2_32'] 409 'LIBS': ['winmm', 'ws2_32']
396 } 410 }
397 } 411 }
398 } 412 }
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
747 # version of scons. Also, there's a bug in some revisions that 761 # version of scons. Also, there's a bug in some revisions that
748 # doesn't allow this flag to be set, so we swallow any exceptions. 762 # doesn't allow this flag to be set, so we swallow any exceptions.
749 # Lovely. 763 # Lovely.
750 try: 764 try:
751 SetOption('warn', 'no-deprecated') 765 SetOption('warn', 'no-deprecated')
752 except: 766 except:
753 pass 767 pass
754 768
755 769
756 Build() 770 Build()
OLDNEW
« no previous file with comments | « no previous file | src/d8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698