aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/codec_android.gyp
diff options
context:
space:
mode:
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',
+ ],
+ },
+ },
+ ],
+}