Revision: 12883
Author:   [email protected]
Date:     Wed Nov  7 04:22:48 2012
Log:      Support shared library build of Android for v8.

v8 depends on the system log library. If we built it as a separate so,
log needs to be included in the link step.

BUG=chromium:158821

Review URL: https://chromiumcodereview.appspot.com/11369081
Patch from Yaron Friedman <[email protected]>.
http://code.google.com/p/v8/source/detail?r=12883

Modified:
 /branches/bleeding_edge/tools/gyp/v8.gyp

=======================================
--- /branches/bleeding_edge/tools/gyp/v8.gyp    Thu Oct 25 07:53:26 2012
+++ /branches/bleeding_edge/tools/gyp/v8.gyp    Wed Nov  7 04:22:48 2012
@@ -69,6 +69,14 @@
                 ],
               },
               'conditions': [
+                ['OS=="android"', {
+                  'libraries': [
+                    '-llog',
+                  ],
+                  'include_dirs': [
+                    'src/common/android/include',
+                  ],
+                }],
                 ['OS=="mac"', {
                   'xcode_settings': {
                     'OTHER_LDFLAGS': ['-dynamiclib', '-all_load']

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

Reply via email to