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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | gyp/opts.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 Google Inc. 1 # Copyright 2015 Google Inc.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 # Gyp file for building opts target. 5 # Gyp file for building opts target.
6 { 6 {
7 # Source lists live in opts.gypi. This makes it easier to maintain our Chrome GYP/GN setup. 7 # Source lists live in opts.gypi. This makes it easier to maintain our Chrome GYP/GN setup.
8 # (To be honest, I'm not sure why we need to include common.gypi. I thought i t was automatic.) 8 # (To be honest, I'm not sure why we need to include common.gypi. I thought i t was automatic.)
9 'variables': { 9 'variables': {
10 'includes': [ 'common.gypi', 'opts.gypi' ], 10 'includes': [ 'common.gypi', 'opts.gypi' ],
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 'sources': [ '<@(armv7_sources)' ], 64 'sources': [ '<@(armv7_sources)' ],
65 'conditions': [ 65 'conditions': [
66 [ 'arm_neon == 1', { 66 [ 'arm_neon == 1', {
67 'dependencies': [ 'opts_neon' ] 67 'dependencies': [ 'opts_neon' ]
68 }], 68 }],
69 ], 69 ],
70 }], 70 }],
71 71
72 [ 'skia_arch_type == "arm64"', { 72 [ 'skia_arch_type == "arm64"', {
73 'sources': [ '<@(arm64_sources)' ], 73 'sources': [ '<@(arm64_sources)' ],
74 'dependencies': [ 'opts_crc32' ]
74 }], 75 }],
75 76
76 [ 'skia_android_framework', { 77 [ 'skia_android_framework', {
77 'cflags!': [ 78 'cflags!': [
78 '-msse2', 79 '-msse2',
79 '-mfpu=neon', 80 '-mfpu=neon',
80 '-fomit-frame-pointer', 81 '-fomit-frame-pointer',
81 ] 82 ]
82 }], 83 }],
83 ], 84 ],
84 }, 85 },
85 { 86 {
87 'target_name': 'opts_crc32',
88 'product_name': 'skia_opts_crc32',
89 'type': 'static_library',
90 'standalone_static_library': 1,
91 'dependencies': [ 'core.gyp:*' ],
92 'include_dirs': [
93 '../include/private',
94 '../src/core',
95 '../src/utils',
96 ],
97 'sources': [ '<@(crc32_sources)' ],
98 'conditions': [
99 [ 'not skia_android_framework', { 'cflags': [ '-march=armv8-a+crc' ] }],
100 ],
101 },
102 {
86 'target_name': 'opts_ssse3', 103 'target_name': 'opts_ssse3',
87 'product_name': 'skia_opts_ssse3', 104 'product_name': 'skia_opts_ssse3',
88 'type': 'static_library', 105 'type': 'static_library',
89 'standalone_static_library': 1, 106 'standalone_static_library': 1,
90 'dependencies': [ 'core.gyp:*' ], 107 'dependencies': [ 'core.gyp:*' ],
91 'include_dirs': [ 108 'include_dirs': [
92 '../include/private', 109 '../include/private',
93 '../src/core', 110 '../src/core',
94 '../src/utils', 111 '../src/utils',
95 ], 112 ],
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 ], 218 ],
202 }], 219 }],
203 ], 220 ],
204 'ldflags': [ 221 'ldflags': [
205 '-march=armv7-a', 222 '-march=armv7-a',
206 '-Wl,--fix-cortex-a8', 223 '-Wl,--fix-cortex-a8',
207 ], 224 ],
208 }, 225 },
209 ], 226 ],
210 } 227 }
OLDNEW
« 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