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

Unified Diff: cc/BUILD.gn

Issue 399683005: Enable more tests in GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more android printing mode Created 6 years, 5 months 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 | « ash/BUILD.gn ('k') | cc/cc.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/BUILD.gn
diff --git a/cc/BUILD.gn b/cc/BUILD.gn
index d8f7e8f550b9dd21de46845451ea04ecacb554c4..06b85589c22859e0f42ae4bcefef0c302c01fd10 100644
--- a/cc/BUILD.gn
+++ b/cc/BUILD.gn
@@ -458,7 +458,7 @@ component("cc") {
"//base",
"//base/third_party/dynamic_annotations",
"//gpu",
- #"//media", TODO(GYP)
+ "//media",
"//skia",
"//ui/events:events_base",
"//ui/gfx",
@@ -477,29 +477,6 @@ component("cc") {
}
}
-component("cc_surfaces") {
- sources = [
- "surfaces/surface.cc",
- "surfaces/surface.h",
- "surfaces/surface_aggregator.cc",
- "surfaces/surface_aggregator.h",
- "surfaces/surface_manager.cc",
- "surfaces/surface_manager.h",
- "surfaces/surfaces_export.h",
- ]
-
- defines = [ "CC_SURFACES_IMPLEMENTATION=1" ]
-
- deps = [
- ":cc",
- "//base",
- "//base/third_party/dynamic_annotations",
- "//skia",
- "//ui/gfx",
- "//ui/gfx/geometry",
- ]
-}
-
source_set("test_support") {
sources = [
"test/animation_test_common.cc",
@@ -642,9 +619,6 @@ source_set("test_support") {
]
}
-# TODO(GYP) make these tests link when all deps are resolved.
-if (false) {
-
test("cc_unittests") {
sources = [
"animation/animation_unittest.cc",
@@ -769,13 +743,12 @@ test("cc_unittests") {
deps = [
":cc",
- ":cc_surfaces",
":test_support",
"//base/test:test_support",
+ "//cc/surfaces",
"//gpu",
"//gpu:gpu_unittest_utils",
- # TODO(GYP)
- #"//media",
+ "//media",
"//testing/gmock",
"//testing/gtest",
"//ui/events:events_base",
@@ -785,7 +758,33 @@ test("cc_unittests") {
}
test("cc_perftests") {
- # TODO(GYP)
-}
+ sources = [
+ "layers/layer_perftest.cc",
+ "layers/picture_layer_impl_perftest.cc",
+ "resources/picture_layer_tiling_perftest.cc",
+ "resources/picture_pile_impl_perftest.cc",
+ "resources/raster_worker_pool_perftest.cc",
+ "resources/task_graph_runner_perftest.cc",
+ "resources/tile_manager_perftest.cc",
+ "test/cc_test_suite.cc",
+ "test/run_all_perftests.cc",
+ "trees/layer_tree_host_common_perftest.cc",
+ "trees/layer_tree_host_perftest.cc",
+ "trees/occlusion_tracker_perftest.cc",
+ ]
-} # if false
+ deps = [
+ ":cc",
+ ":test_support",
+ "//base",
+ "//gpu",
+ "//gpu:gpu_unittest_utils",
+ "//media",
+ "//skia",
+ "//testing/gmock",
+ "//testing/gtest",
+ "//testing/perf",
+ "//ui/gfx",
+ "//ui/gfx/geometry",
+ ]
+}
« no previous file with comments | « ash/BUILD.gn ('k') | cc/cc.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698