OLD | NEW |
1 # Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'cpu_features', | 8 'target_name': 'cpu_features', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'direct_dependent_settings': { | 10 'direct_dependent_settings': { |
11 'include_dirs': [ | 11 'include_dirs': [ |
12 '<(android_ndk_root)/sources/android/cpufeatures', | 12 '<(android_ndk_root)/sources/android/cpufeatures', |
13 ], | 13 ], |
14 }, | 14 }, |
15 'sources': [ | 15 'sources': [ |
16 '<(android_ndk_root)/sources/android/cpufeatures/cpu-features.c', | 16 '<(android_ndk_root)/sources/android/cpufeatures/cpu-features.c', |
17 ], | 17 ], |
| 18 'variables': { |
| 19 'clang_warning_flags': [ |
| 20 # cpu-features.c has few unused functions on x86 b/26403333 |
| 21 '-Wno-unused-function', |
| 22 ], |
| 23 }, |
18 }, | 24 }, |
19 ], | 25 ], |
20 } | 26 } |
OLD | NEW |