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

Unified Diff: skia/skia_library_opts.gyp

Issue 1028333002: Chromium -> Mojo roll. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 | « skia/skia.gyp ('k') | sky/engine/platform/fonts/opentype/OpenTypeSanitizer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/skia_library_opts.gyp
diff --git a/skia/skia_library_opts.gyp b/skia/skia_library_opts.gyp
index cde0e0b9ea8925a9bbf7b54d2331363c3ab3551e..58f036f0161a287890cf2ca0706040b1b7bae215 100644
--- a/skia/skia_library_opts.gyp
+++ b/skia/skia_library_opts.gyp
@@ -64,11 +64,16 @@
}],
[ 'target_arch == "arm"', {
'conditions': [
+ [ 'arm_version >= 7', {
+ 'sources': [ '<@(armv7_sources)' ],
+ }, { # arm_version < 7
+ 'sources': [ '<@(none_sources)' ],
+ }],
[ 'arm_version >= 7 and (arm_neon == 1 or arm_neon_optional == 1)', {
'dependencies': [
'skia_opts_neon',
]
- }],
+ }],
],
# The assembly uses the frame pointer register (r7 in Thumb/r11 in
# ARM), the compiler doesn't like that. Explicitly remove the
@@ -83,13 +88,17 @@
'-fomit-frame-pointer',
],
}],
- [ 'target_arch == "arm" and arm_version < 7', {
- 'sources': [ '<@(none_sources)' ],
- }],
- [ 'target_arch == "arm" and arm_version >= 7', {
- 'sources': [ '<@(armv7_sources)' ],
+ [ 'target_arch == "mipsel"',{
+ 'cflags': [ '-fomit-frame-pointer' ],
+ 'conditions': [
+ [ 'mips_dsp_rev >= 1', {
+ 'sources': [ '<@(mips_dsp_sources)' ],
+ }, { # mips_dsp_rev == 0
+ 'sources': [ '<@(none_sources)' ],
+ }],
+ ],
}],
- [ 'target_arch == "mipsel" or target_arch == "mips64el"',{
+ [ 'target_arch == "mips64el"',{
'cflags': [ '-fomit-frame-pointer' ],
'sources': [ '<@(none_sources)' ],
}],
« no previous file with comments | « skia/skia.gyp ('k') | sky/engine/platform/fonts/opentype/OpenTypeSanitizer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698