summaryrefslogtreecommitdiffstats
path: root/build/android/ndk.gyp
blob: b491db242b45a2d4fc4565d64cf9b06594685b28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright (c) 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'targets': [
    {
      'target_name': 'cpu_features',
      'type': 'static_library',
      'direct_dependent_settings': {
        'include_dirs': [
          '<(android_ndk_root)/sources/android/cpufeatures',
        ],
      },
      'sources': [
        '<(android_ndk_root)/sources/android/cpufeatures/cpu-features.c',
      ],
      'variables': {
        'clang_warning_flags': [
          # cpu-features.c has few unused functions on x86 b/26403333
          '-Wno-unused-function',
        ],
      },
    },
  ],
}