Revision: 21678
Author:   [email protected]
Date:     Wed Jun  4 15:21:26 2014 UTC
Log:      Fix building android gn

BUG=none
[email protected]
LOG=n

Review URL: https://codereview.chromium.org/313923002
http://code.google.com/p/v8/source/detail?r=21678

Modified:
 /branches/bleeding_edge/BUILD.gn

=======================================
--- /branches/bleeding_edge/BUILD.gn    Wed Jun  4 08:35:42 2014 UTC
+++ /branches/bleeding_edge/BUILD.gn    Wed Jun  4 15:21:26 2014 UTC
@@ -976,8 +976,14 @@
     ":v8_nosnapshot",
   ]

+  libs = []
+
   if (v8_compress_startup_data == "bz2") {
-    libs = [ "bz2" ]
+    libs += [ "bz2" ]
+  }
+
+  if (is_android && current_toolchain != host_toolchain) {
+    libs += [ "log" ]
   }
 }

@@ -1003,10 +1009,6 @@
       ":v8_nosnapshot",
     ]
   }
-
-  if (is_android && current_toolchain != host_toolchain) {
-    libs = [ "log" ]
-  }

   configs -= [ "//build/config/compiler:chromium_code" ]
   configs += [ "//build/config/compiler:no_chromium_code" ]

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to