Index: cc/cc.gni |
diff --git a/cc/cc.gni b/cc/cc.gni |
new file mode 100644 |
index 0000000000000000000000000000000000000000..63c5134e063b1859c353d03b35c8b6cc9c75cd66 |
--- /dev/null |
+++ b/cc/cc.gni |
@@ -0,0 +1,10 @@ |
+# Copyright 2016 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+import("//build/config/compiler/compiler.gni") |
+ |
+if (!is_debug && (is_win || is_android)) { |
+ configs -= [ "//build/config/compiler:default_optimization" ] |
+ configs += [ "//build/config/compiler:optimize_max" ] |
+} |