Index: cc/surfaces/BUILD.gn |
diff --git a/cc/surfaces/BUILD.gn b/cc/surfaces/BUILD.gn |
index a45e786e17cb7bc72ee023d7dbe2970f58d84593..ea44068b6f6aba963e224d07ecbf110d8b852931 100644 |
--- a/cc/surfaces/BUILD.gn |
+++ b/cc/surfaces/BUILD.gn |
@@ -2,6 +2,14 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+source_set("surface_id") { |
+ sources = [ |
+ "surface_id.h", |
+ ] |
+ |
+ deps = [ "//base" ] |
+} |
+ |
component("surfaces") { |
output_name = "cc_surfaces" |
sources = [ |
@@ -15,7 +23,6 @@ component("surfaces") { |
"surface_factory.cc", |
"surface_factory.h", |
"surface_factory_client.h", |
- "surface_id.h", |
"surface_id_allocator.cc", |
"surface_id_allocator.h", |
"surface_manager.cc", |
@@ -28,6 +35,7 @@ component("surfaces") { |
defines = [ "CC_SURFACES_IMPLEMENTATION=1" ] |
deps = [ |
+ ":surface_id", |
"//base", |
"//base/third_party/dynamic_annotations", |
"//cc", |