OLD | NEW |
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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 'cflags': [ '-fomit-frame-pointer' ], | 62 'cflags': [ '-fomit-frame-pointer' ], |
63 'variables': { 'arm_neon_optional%': '<(arm_neon_optional>' }, | 63 'variables': { 'arm_neon_optional%': '<(arm_neon_optional>' }, |
64 'sources': [ '<@(armv7_sources)' ], | 64 'sources': [ '<@(armv7_sources)' ], |
65 'conditions': [ | 65 'conditions': [ |
66 [ 'arm_neon == 1 or arm_neon_optional == 1', { | 66 [ 'arm_neon == 1 or arm_neon_optional == 1', { |
67 'dependencies': [ 'opts_neon' ] | 67 'dependencies': [ 'opts_neon' ] |
68 }], | 68 }], |
69 [ 'skia_os == "ios"', { | 69 [ 'skia_os == "ios"', { |
70 'sources!': [ | 70 'sources!': [ |
71 # these fail to compile under xcode for ios | 71 # these fail to compile under xcode for ios |
72 '../src/opts/memset.arm.S', | |
73 '../src/opts/SkBitmapProcState_opts_arm.cpp', | 72 '../src/opts/SkBitmapProcState_opts_arm.cpp', |
74 '../src/opts/SkBlitRow_opts_arm.cpp', | 73 '../src/opts/SkBlitRow_opts_arm.cpp', |
75 ], | 74 ], |
76 }], | 75 }], |
77 ], | 76 ], |
78 }], | 77 }], |
79 | 78 |
80 [ 'skia_arch_type == "arm64"', { | 79 [ 'skia_arch_type == "arm64"', { |
81 'sources': [ '<@(arm64_sources)' ], | 80 'sources': [ '<@(arm64_sources)' ], |
82 }], | 81 }], |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 ], | 154 ], |
156 }], | 155 }], |
157 ], | 156 ], |
158 'ldflags': [ | 157 'ldflags': [ |
159 '-march=armv7-a', | 158 '-march=armv7-a', |
160 '-Wl,--fix-cortex-a8', | 159 '-Wl,--fix-cortex-a8', |
161 ], | 160 ], |
162 }, | 161 }, |
163 ], | 162 ], |
164 } | 163 } |
OLD | NEW |