Index: gyp/opts.gyp |
diff --git a/gyp/opts.gyp b/gyp/opts.gyp |
index ad8da337698fe8e578f4da29db2cb183d99a9e13..21edd859b0d53b1647f97db912ae9907b4a15f1f 100644 |
--- a/gyp/opts.gyp |
+++ b/gyp/opts.gyp |
@@ -71,6 +71,7 @@ |
[ 'skia_arch_type == "arm64"', { |
'sources': [ '<@(arm64_sources)' ], |
+ 'dependencies': [ 'opts_crc32' ] |
}], |
[ 'skia_android_framework', { |
@@ -83,6 +84,22 @@ |
], |
}, |
{ |
+ 'target_name': 'opts_crc32', |
+ 'product_name': 'skia_opts_crc32', |
+ 'type': 'static_library', |
+ 'standalone_static_library': 1, |
+ 'dependencies': [ 'core.gyp:*' ], |
+ 'include_dirs': [ |
+ '../include/private', |
+ '../src/core', |
+ '../src/utils', |
+ ], |
+ 'sources': [ '<@(crc32_sources)' ], |
+ 'conditions': [ |
+ [ 'not skia_android_framework', { 'cflags': [ '-march=armv8-a+crc' ] }], |
+ ], |
+ }, |
+ { |
'target_name': 'opts_ssse3', |
'product_name': 'skia_opts_ssse3', |
'type': 'static_library', |