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

Unified Diff: ui/gfx/BUILD.gn

Issue 2752693002: Factor gfx::Transform and skia_util into their own component. (Closed)
Patch Set: none Created 3 years, 9 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 | « no previous file | ui/gfx/skia_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/BUILD.gn
diff --git a/ui/gfx/BUILD.gn b/ui/gfx/BUILD.gn
index bbffa8457b00b4be04404e983ececeab47e26629..4ea3d50a1c7bed6dab9862672be3799d9c6f4855 100644
--- a/ui/gfx/BUILD.gn
+++ b/ui/gfx/BUILD.gn
@@ -21,6 +21,26 @@ source_set("gfx_export") {
]
}
+component("geometry_skia") {
+ sources = [
+ "skia_util.cc",
+ "skia_util.h",
+ "transform.cc",
+ "transform.h",
+ "transform_util.cc",
+ "transform_util.h",
+ ]
+ public_deps = [
+ ":gfx_export",
+ ]
+ deps = [
+ "//base",
+ "//skia",
+ "//ui/gfx/geometry",
+ ]
+ defines = [ "GFX_IMPLEMENTATION" ]
+}
+
component("gfx") {
sources = [
"android/gfx_jni_registrar.cc",
@@ -172,8 +192,6 @@ component("gfx") {
"skbitmap_operations.h",
"skia_color_space_util.cc",
"skia_color_space_util.h",
- "skia_util.cc",
- "skia_util.h",
"switches.cc",
"switches.h",
"sys_color_change_listener.cc",
@@ -185,10 +203,6 @@ component("gfx") {
"text_utils.h",
"text_utils_android.cc",
"text_utils_ios.mm",
- "transform.cc",
- "transform.h",
- "transform_util.cc",
- "transform_util.h",
"ui_gfx_exports.cc",
"utf16_indexing.cc",
"utf16_indexing.h",
@@ -252,6 +266,7 @@ component("gfx") {
public_deps = [
":color_space",
+ ":geometry_skia",
":memory_buffer_sources",
":native_widget_types",
":selection_bound_sources",
« no previous file with comments | « no previous file | ui/gfx/skia_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698