Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(255)

Unified Diff: gyp/opts.gyp

Issue 2259233002: Step 1 of opts_crc32 rollout. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gyp/opts.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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',
« no previous file with comments | « no previous file | gyp/opts.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698