forked from Pissandshittium/pissandshittium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
tfarina@chromium.org
committed
May 17, 2014
1 parent
b5189d8
commit 0311d4c
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# 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" ] | ||
} | ||
} |