Ben Murdoch | 097c5b2 | 2016-05-18 11:27:45 +0100 | [diff] [blame] | 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 |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | { |
| 6 | 'targets': [ |
| 7 | { |
| 8 | 'target_name': 'cpu_features', |
| 9 | 'type': 'static_library', |
| 10 | 'direct_dependent_settings': { |
| 11 | 'include_dirs': [ |
| 12 | '<(android_ndk_root)/sources/android/cpufeatures', |
| 13 | ], |
| 14 | }, |
| 15 | 'sources': [ |
| 16 | '<(android_ndk_root)/sources/android/cpufeatures/cpu-features.c', |
| 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 | }, |
| 24 | }, |
| 25 | ], |
| 26 | } |