| OLD | NEW |
| 1 # Copyright 2011 The LibYuv Project Authors. All rights reserved. | 1 # Copyright 2011 The LibYuv Project Authors. All rights reserved. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
| 4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
| 5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
| 6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
| 7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
| 8 | 8 |
| 9 { | 9 { |
| 10 'includes': [ | 10 'includes': [ |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 ], | 54 ], |
| 55 }], | 55 }], |
| 56 ['build_neon != 0', { | 56 ['build_neon != 0', { |
| 57 'defines': [ | 57 'defines': [ |
| 58 'LIBYUV_NEON', | 58 'LIBYUV_NEON', |
| 59 ], | 59 ], |
| 60 'cflags!': [ | 60 'cflags!': [ |
| 61 '-mfpu=vfp', | 61 '-mfpu=vfp', |
| 62 '-mfpu=vfpv3', | 62 '-mfpu=vfpv3', |
| 63 '-mfpu=vfpv3-d16', | 63 '-mfpu=vfpv3-d16', |
| 64 # '-mthumb', # arm32 not thumb |
| 64 ], | 65 ], |
| 65 'conditions': [ | 66 'conditions': [ |
| 66 # Disable LTO in libyuv_neon target due to gcc 4.9 compiler bug. | 67 # Disable LTO in libyuv_neon target due to gcc 4.9 compiler bug. |
| 67 ['clang == 0 and use_lto == 1', { | 68 ['clang == 0 and use_lto == 1', { |
| 68 'cflags!': [ | 69 'cflags!': [ |
| 69 '-flto', | 70 '-flto', |
| 70 '-ffat-lto-objects', | 71 '-ffat-lto-objects', |
| 71 ], | 72 ], |
| 72 }], | 73 }], |
| 73 # arm64 does not need -mfpu=neon option as neon is not optional | 74 # arm64 does not need -mfpu=neon option as neon is not optional |
| 74 ['target_arch != "arm64"', { | 75 ['target_arch != "arm64"', { |
| 75 'cflags': [ | 76 'cflags': [ |
| 76 '-mfpu=neon', | 77 '-mfpu=neon', |
| 78 # '-marm', # arm32 not thumb |
| 77 ], | 79 ], |
| 78 }], | 80 }], |
| 79 ], | 81 ], |
| 80 }], | 82 }], |
| 81 ['OS != "ios" and libyuv_disable_jpeg != 1', { | 83 ['OS != "ios" and libyuv_disable_jpeg != 1', { |
| 82 'defines': [ | 84 'defines': [ |
| 83 'HAVE_JPEG' | 85 'HAVE_JPEG' |
| 84 ], | 86 ], |
| 85 'conditions': [ | 87 'conditions': [ |
| 86 # Caveat system jpeg support may not support motion jpeg | 88 # Caveat system jpeg support may not support motion jpeg |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 ], | 141 ], |
| 140 }, | 142 }, |
| 141 ], # targets. | 143 ], # targets. |
| 142 } | 144 } |
| 143 | 145 |
| 144 # Local Variables: | 146 # Local Variables: |
| 145 # tab-width:2 | 147 # tab-width:2 |
| 146 # indent-tabs-mode:nil | 148 # indent-tabs-mode:nil |
| 147 # End: | 149 # End: |
| 148 # vim: set expandtab tabstop=2 shiftwidth=2: | 150 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |