1 # Copyright 2014 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 config("cpu_features_include") { 6 include_dirs = [ "ndk/sources/android/cpufeatures" ] 7 } 8 9 # This is the GN version of 10 # //build/android/cpufeatures.gypi:cpufeatures 11 source_set("cpu_features") { 12 sources = [ "ndk/sources/android/cpufeatures/cpu-features.c" ] 13 direct_dependent_configs = [ ":cpu_features_include" ] 14 15 configs -= [ "//build/config/compiler:chromium_code" ] 16 configs += [ "//build/config/compiler:no_chromium_code" ] 17 } 18