OLD | NEW |
| (Empty) |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'variables': { | |
7 'libwebm_sources': [ | |
8 'source/mkvmuxer.cpp', | |
9 'source/mkvmuxerutil.cpp', | |
10 'source/mkvwriter.cpp', | |
11 ], | |
12 } | |
13 } | |
14 | |
15 if (is_android) { | |
16 arm_use_neon = false | |
17 # Our version of arm_neon_optional from common.gypi. This is not used in the | |
18 # current build so is commented out for now. | |
19 #arm_optionally_use_neon = false | |
20 } else { | |
21 arm_use_neon = true | |
22 #arm_optionally_use_neon = true | |
23 } | |
24 | |
25 if (arm_version == 6) { | |
26 arm_arch = "armv6" | |
27 arm_tune = "" | |
28 arm_float_abi = "softfp" | |
29 arm_fpu = "vfp" | |
30 # Thumb is a reduced instruction set available on some ARM processors that | |
31 # has increased code density. | |
32 arm_use_thumb = false | |
33 | |
34 } else if (arm_version == 7) { | |
35 arm_arch = "armv7-a" | |
36 arm_tune = "cortex-a8" | |
37 arm_float_abi = "softfp" | |
38 arm_use_thumb = true | |
39 | |
40 if (arm_use_neon) { | |
41 arm_fpu = "neon" | |
42 } else { | |
43 arm_fpu = "vfpv3-d16" | |
44 } | |
45 } | |
OLD | NEW |