New Composite CSS border object
https://codereview.chromium.org/86263003/
git-svn-id: http://skia.googlecode.com/svn/trunk@12597 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gyp/common_variables.gypi b/gyp/common_variables.gypi
index 4b80af1..74e596c 100644
--- a/gyp/common_variables.gypi
+++ b/gyp/common_variables.gypi
@@ -87,6 +87,7 @@
'skia_resource_cache_mb_limit%': 0,
'skia_resource_cache_count_limit%': 0,
'skia_angle%': 0,
+ 'skia_chrome_utils%': 1,
'skia_directwrite%': 0,
'skia_gpu%': 1,
'skia_osx_sdkroot%': '',
@@ -147,6 +148,7 @@
'skia_angle%': '<(skia_angle)',
'skia_arch_width%': '<(skia_arch_width)',
'skia_arch_type%': '<(skia_arch_type)',
+ 'skia_chrome_utils%': '<(skia_chrome_utils)',
'skia_directwrite%': '<(skia_directwrite)',
'skia_gpu%': '<(skia_gpu)',
'skia_win_exceptions%': 0,
diff --git a/gyp/gpu.gyp b/gyp/gpu.gyp
index 55191ae..fc6c28b 100644
--- a/gyp/gpu.gyp
+++ b/gyp/gpu.gyp
@@ -133,6 +133,15 @@
'GR_ANDROID_PATH_RENDERING=1',
],
}],
+ [ 'skia_chrome_utils', {
+ 'sources': [
+ '../experimental/ChromeUtils/SkBorder.cpp',
+ '../experimental/ChromeUtils/SkBorder.h',
+ ],
+ 'defines': [
+ 'GR_CHROME_UTILS=1',
+ ],
+ }],
[ 'skia_distancefield_fonts', {
'sources': [
'<(skia_include_path)/gpu/GrDistanceFieldTextContext.h',