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

Unified Diff: cc/base/BUILD.gn

Issue 2506093003: CC Animation: Make cc/animation an independent GN component. (Closed)
Patch Set: Import compiler.gni 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
Index: cc/base/BUILD.gn
diff --git a/cc/base/BUILD.gn b/cc/base/BUILD.gn
index 9a4f1df38e2075457d374f18ed711692e9f06ace..5d3207e38ad80369dd2ea0fb9ee88013887efe77 100644
--- a/cc/base/BUILD.gn
+++ b/cc/base/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("base") {
visibility = [ "//cc" ]
@@ -56,9 +58,4 @@ source_set("base") {
]
defines = [ "CC_IMPLEMENTATION=1" ]
-
- if (!is_debug && (is_win || is_android)) {
- configs -= [ "//build/config/compiler:default_optimization" ]
- configs += [ "//build/config/compiler:optimize_max" ]
- }
}

Powered by Google App Engine
This is Rietveld 408576698