Index: cc/surfaces/BUILD.gn |
diff --git a/cc/surfaces/BUILD.gn b/cc/surfaces/BUILD.gn |
index 3dbd0319bf18c0abb8e2bce3616d0c41bdad55b2..ba235a724aaa0780b2e83d499c0adb1d0930ca6b 100644 |
--- a/cc/surfaces/BUILD.gn |
+++ b/cc/surfaces/BUILD.gn |
@@ -2,6 +2,8 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+import("//cc/cc.gni") |
+ |
source_set("surface_id") { |
sources = [ |
"frame_sink_id.h", |
@@ -62,9 +64,4 @@ component("surfaces") { |
"//ui/gfx", |
"//ui/gfx/geometry", |
] |
- |
- if (is_android && !is_debug) { |
- configs -= [ "//build/config/compiler:default_optimization" ] |
- configs += [ "//build/config/compiler:optimize_max" ] |
- } |
} |