Home | History | Annotate | Download | only in build
      1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
      2 #
      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
      5 # tree. An additional intellectual property rights grant can be found
      6 # in the file PATENTS.  All contributing project authors may
      7 # be found in the AUTHORS file in the root of the source tree.
      8 
      9 # This file sets correct neon flags. Include it if you want to build
     10 # source with neon intrinsics.
     11 # To use this, create a gyp target with the following form:
     12 # {
     13 #   'target_name': 'my_lib',
     14 #   'type': 'static_library',
     15 #   'sources': [
     16 #     'foo.c',
     17 #     'bar.cc',
     18 #   ],
     19 #   'includes': ['path/to/this/gypi/file'],
     20 # }
     21 
     22 {
     23   'cflags!': [
     24     '-mfpu=vfpv3-d16',
     25   ],
     26   'cflags': [
     27     '-mfpu=neon',
     28     '-flax-vector-conversions',
     29   ],
     30 }
     31