aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-07-27 10:52:33 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-07-27 10:52:33 -0700
commitce2c5055cee5d5d3c9fc84c1b3eeed4b4d84a827 (patch)
treeb6d84fb6e8d3b3911cc6b996f858e0c51fcd188d /gyp
parent9a5d1ab54d52a912bb3ac9f74ee01bba079639e5 (diff)
Lay groundwork for SkOpts.
This doesn't really do anything yet. It's just the CPU detection code, skeleton new .cpp files, and a few little .gyp tweaks. BUG=skia:4117 Review URL: https://codereview.chromium.org/1255193002
Diffstat (limited to 'gyp')
-rw-r--r--gyp/core.gypi1
-rw-r--r--gyp/opts.gyp1
-rw-r--r--gyp/opts.gypi5
3 files changed, 7 insertions, 0 deletions
diff --git a/gyp/core.gypi b/gyp/core.gypi
index 389fca6d61..8618324d87 100644
--- a/gyp/core.gypi
+++ b/gyp/core.gypi
@@ -134,6 +134,7 @@
'<(skia_src_path)/core/SkMiniRecorder.cpp',
'<(skia_src_path)/core/SkMultiPictureDraw.cpp',
'<(skia_src_path)/core/SkNinePatchIter.cpp',
+ '<(skia_src_path)/core/SkOpts.cpp',
'<(skia_src_path)/core/SkPackBits.cpp',
'<(skia_src_path)/core/SkPaint.cpp',
'<(skia_src_path)/core/SkPaintPriv.cpp',
diff --git a/gyp/opts.gyp b/gyp/opts.gyp
index b4fb609881..1c767af99b 100644
--- a/gyp/opts.gyp
+++ b/gyp/opts.gyp
@@ -105,6 +105,7 @@
'type': 'static_library',
'standalone_static_library': 1,
'dependencies': [ 'core.gyp:*' ],
+ 'include_dirs': [ '../src/core' ],
'sources': [ '<@(sse41_sources)' ],
'conditions': [
[ 'skia_os == "win"', {
diff --git a/gyp/opts.gypi b/gyp/opts.gypi
index 6d7a796ad9..44e57d524c 100644
--- a/gyp/opts.gypi
+++ b/gyp/opts.gypi
@@ -34,6 +34,7 @@
'<(skia_src_path)/opts/SkTextureCompression_opts_neon.cpp',
'<(skia_src_path)/opts/SkUtils_opts_arm_neon.cpp',
'<(skia_src_path)/opts/SkXfermode_opts_arm_neon.cpp',
+ '<(skia_src_path)/opts/SkOpts_neon.cpp',
],
'arm64_sources': [
'<(skia_src_path)/opts/SkBitmapProcState_arm_neon.cpp',
@@ -51,6 +52,7 @@
'<(skia_src_path)/opts/SkUtils_opts_none.cpp',
'<(skia_src_path)/opts/SkXfermode_opts_arm.cpp',
'<(skia_src_path)/opts/SkXfermode_opts_arm_neon.cpp',
+ '<(skia_src_path)/opts/SkOpts_neon.cpp',
],
'mips_dsp_sources': [
@@ -74,12 +76,15 @@
'<(skia_src_path)/opts/SkUtils_opts_SSE2.cpp',
'<(skia_src_path)/opts/SkXfermode_opts_none.cpp',
'<(skia_src_path)/opts/opts_check_x86.cpp',
+ '<(skia_src_path)/opts/SkOpts_sse2.cpp',
],
'ssse3_sources': [
'<(skia_src_path)/opts/SkBitmapProcState_opts_SSSE3.cpp',
+ '<(skia_src_path)/opts/SkOpts_ssse3.cpp',
],
'sse41_sources': [
'<(skia_src_path)/opts/SkBlurImage_opts_SSE4.cpp',
'<(skia_src_path)/opts/SkBlitRow_opts_SSE4.cpp',
+ '<(skia_src_path)/opts/SkOpts_sse41.cpp',
],
}