Reviewers: iposva,

Description:
Fix SConstruct file to build with new logging code for Android.

Please review this at http://codereview.chromium.org/160641

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
   M     SConstruct


Index: SConstruct
===================================================================
--- SConstruct  (revision 2616)
+++ SConstruct  (working copy)
@@ -79,7 +79,9 @@
                      ANDROID_TOP + '/bionic/libc/kernel/arch-arm',
                      ANDROID_TOP + '/bionic/libm/include',
                      ANDROID_TOP + '/bionic/libm/include/arch/arm',
-                    ANDROID_TOP + '/bionic/libthread_db/include']
+                    ANDROID_TOP + '/bionic/libthread_db/include',
+                    ANDROID_TOP + '/frameworks/base/include',
+                    ANDROID_TOP + '/system/core/include']

  ANDROID_LINKFLAGS = ['-nostdlib',
                       '-Bdynamic',
@@ -330,7 +332,7 @@
        'CPPPATH':      ANDROID_INCLUDES,
        'LIBPATH':     [ANDROID_TOP + '/out/target/product/generic/obj/lib'],
        'LINKFLAGS':    ANDROID_LINKFLAGS,
-      'LIBS':         ['c', 'stdc++', 'm'],
+      'LIBS':         ['log', 'c', 'stdc++', 'm'],
        'mode:release': {
          'CPPDEFINES': ['SK_RELEASE', 'NDEBUG']
        }
@@ -381,7 +383,7 @@
        'CPPPATH':      ANDROID_INCLUDES,
        'LIBPATH':     [ANDROID_TOP + '/out/target/product/generic/obj/lib'],
        'LINKFLAGS':    ANDROID_LINKFLAGS,
-      'LIBS':         ['c', 'stdc++', 'm'],
+      'LIBS':         ['log', 'c', 'stdc++', 'm'],
        'mode:release': {
          'CPPDEFINES': ['SK_RELEASE', 'NDEBUG']
        }
@@ -469,7 +471,7 @@
      'os:android': {
        'LIBPATH':     [ANDROID_TOP + '/out/target/product/generic/obj/lib'],
        'LINKFLAGS':    ANDROID_LINKFLAGS,
-      'LIBS':         ['c', 'stdc++', 'm'],
+      'LIBS':         ['log', 'c', 'stdc++', 'm'],
      },
      'os:win32': {
        'LIBS': ['winmm', 'ws2_32'],



--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to