Index: tools/gyp/v8.gyp |
diff --git a/tools/gyp/v8.gyp b/tools/gyp/v8.gyp |
index b8769510c85b49336f2eed69cdcb03dab961f1a7..e832892b1c94485b0be11c68a0ae8910fe9590d2 100644 |
--- a/tools/gyp/v8.gyp |
+++ b/tools/gyp/v8.gyp |
@@ -40,10 +40,16 @@ |
'toolsets': ['target'], |
}], |
['v8_use_snapshot=="true"', { |
- 'dependencies': ['v8_snapshot'], |
+ # The dependency on v8_base should come from a transitive |
+ # dependency however the Android toolchain requires libv8_base.a |
+ # to appear before libv8_snapshot.a so it's listed explicitly. |
+ 'dependencies': ['v8_base', 'v8_snapshot'], |
}, |
{ |
- 'dependencies': ['v8_nosnapshot'], |
+ # The dependency on v8_base should come from a transitive |
+ # dependency however the Android toolchain requires libv8_base.a |
+ # to appear before libv8_snapshot.a so it's listed explicitly. |
+ 'dependencies': ['v8_base', 'v8_nosnapshot'], |
}], |
['component=="shared_library"', { |
'type': '<(component)', |