aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/codec_android.gyp
diff options
context:
space:
mode:
authorGravatar msarett <msarett@google.com>2015-11-13 06:11:09 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-11-13 06:11:09 -0800
commit506e19a4c8395178e8da81576b3c37616593e560 (patch)
tree0877d660a91ef6322059269e7020988459e91ded /gyp/codec_android.gyp
parent9c8605144a0f15e3e69a4e1dcd5d3e63f339380e (diff)
Move SkBitmapRegionDecoder to include/android and src/android
This will expose the BitmapRegionDecoder API as a public include and move the implementation to src. This makes this code more naturally exposed in Android and easier to test in DM and nanobench. BUG=skia: Review URL: https://codereview.chromium.org/1438873002
Diffstat (limited to 'gyp/codec_android.gyp')
-rw-r--r--gyp/codec_android.gyp41
1 files changed, 41 insertions, 0 deletions
diff --git a/gyp/codec_android.gyp b/gyp/codec_android.gyp
new file mode 100644
index 0000000000..ca9c7a36b5
--- /dev/null
+++ b/gyp/codec_android.gyp
@@ -0,0 +1,41 @@
+# Copyright 2015 Google Inc.
+#
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+# Copyright 2015 Google Inc.
+#
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# GYP file for android specific codecs.
+{
+ 'targets': [
+ {
+ 'target_name': 'codec_android',
+ 'product_name': 'skia_codec_android',
+ 'type': 'static_library',
+ 'standalone_static_library': 1,
+ 'dependencies': [
+ 'codec.gyp:codec',
+ ],
+ 'include_dirs': [
+ '../include/android',
+ '../include/config',
+ '../include/core',
+ '../include/private',
+ '../src/android',
+ '../src/codec',
+ ],
+ 'sources': [
+ '../src/android/SkBitmapRegionCanvas.cpp',
+ '../src/android/SkBitmapRegionCodec.cpp',
+ '../src/android/SkBitmapRegionDecoder.cpp',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '../include/android',
+ ],
+ },
+ },
+ ],
+}