Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / base / third_party / nspr / BUILD.gn
index eb758d5..ddbcbc1 100644 (file)
@@ -3,7 +3,7 @@
 # found in the LICENSE file.
 
 source_set("nspr") {
-  visibility = "//base/*"
+  visibility = [ "//base/*" ]
   sources = [
     "prtime.cc",
     "prtime.h",
@@ -12,4 +12,9 @@ source_set("nspr") {
   # In GYP this project is part of base, so it uses the base implementation
   # define. TODO(brettw) rename this define.
   defines = [ "BASE_IMPLEMENTATION" ]
+
+  if (is_android && !is_debug) {
+    configs -= [ "//build/config/compiler:optimize" ]
+    configs += [ "//build/config/compiler:optimize_max" ]
+  }
 }