Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(733)

Unified Diff: cc/surfaces/BUILD.gn

Issue 2506093003: CC Animation: Make cc/animation an independent GN component. (Closed)
Patch Set: Rebase. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/cc.gni ('k') | cc/trees/property_animation_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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" ]
- }
}
« no previous file with comments | « cc/cc.gni ('k') | cc/trees/property_animation_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698