Index: cc/surfaces/BUILD.gn |
diff --git a/cc/surfaces/BUILD.gn b/cc/surfaces/BUILD.gn |
index 3dbd0319bf18c0abb8e2bce3616d0c41bdad55b2..c372e972c6d43ce496c3a288d9e0564829242734 100644 |
--- a/cc/surfaces/BUILD.gn |
+++ b/cc/surfaces/BUILD.gn |
@@ -2,7 +2,9 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-source_set("surface_id") { |
+import("//cc/cc.gni") |
+ |
+cc_source_set("surface_id") { |
sources = [ |
"frame_sink_id.h", |
"local_frame_id.h", |
@@ -17,7 +19,7 @@ source_set("surface_id") { |
] |
} |
-component("surfaces") { |
+cc_component("surfaces") { |
output_name = "cc_surfaces" |
sources = [ |
"direct_compositor_frame_sink.cc", |
@@ -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" ] |
- } |
} |