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

Unified Diff: ui/surface/BUILD.gn

Issue 282353002: Add GN build file for surface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
« BUILD.gn ('K') | « BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/surface/BUILD.gn
diff --git a/ui/surface/BUILD.gn b/ui/surface/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..bfcd73e3e80d99454764ec3c470ee5193465be69
--- /dev/null
+++ b/ui/surface/BUILD.gn
@@ -0,0 +1,34 @@
+# 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': [
brettw 2014/05/16 16:57:04 Just do: include_dirs = [ "//third_party/khronos
tfarina 2014/05/16 21:24:34 Done.
+ #'../../third_party/khronos',
+ #],
+ }
+}
« BUILD.gn ('K') | « BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698