Commit 0311d4cc authored by tfarina@chromium.org's avatar tfarina@chromium.org

Add GN build file for surface.

This is needed by content.

BUG=None
TEST=gn gen out/Debug; followed by ninja -C out/Debug surface
R=brettw@chromium.org,piman@chromium.org
NOTRY=true

Review URL: https://codereview.chromium.org/282353002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271163 0039d316-1c4b-4281-b951-d872f2087c98
parent b5189d8d
...@@ -62,6 +62,7 @@ group("root") { ...@@ -62,6 +62,7 @@ group("root") {
"//ui/events", "//ui/events",
"//ui/gfx", "//ui/gfx",
"//ui/resources", "//ui/resources",
"//ui/surface",
"//url", "//url",
] ]
...@@ -84,6 +85,8 @@ group("root") { ...@@ -84,6 +85,8 @@ group("root") {
"//ui/base:ui_base", "//ui/base:ui_base",
"//ui/events", "//ui/events",
"//ui/gfx", "//ui/gfx",
"//ui/surface", # TODO(brettw): Skia does not build on Android yet.
# Re-enable this when skia is fixed.
] ]
} }
} }
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/ui.gni")
component("surface") {
sources = [
"accelerated_surface_mac.cc",
"accelerated_surface_mac.h",
"surface_export.h",
"transport_dib.cc",
"transport_dib.h",
"transport_dib_posix.cc",
"transport_dib_win.cc",
]
defines = [ "SURFACE_IMPLEMENTATION" ]
deps = [
"//base",
"//base/third_party/dynamic_annotations",
"//skia",
"//ui/base:ui_base",
"//ui/gfx/geometry",
"//ui/gl",
]
if (use_x11) {
include_dirs = [ "//third_party/khronos" ]
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment