summaryrefslogtreecommitdiffstats
path: root/build/android/cpufeatures.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'build/android/cpufeatures.gypi')
-rw-r--r--build/android/cpufeatures.gypi20
1 files changed, 20 insertions, 0 deletions
diff --git a/build/android/cpufeatures.gypi b/build/android/cpufeatures.gypi
new file mode 100644
index 0000000..17b262c
--- /dev/null
+++ b/build/android/cpufeatures.gypi
@@ -0,0 +1,20 @@
+# Copyright (c) 2012 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.
+
+# Depend on the Android NDK's cpu feature detection. The WebView build is part
+# of the system and the library already exists; for the normal build there is a
+# gyp file in the checked-in NDK to build it.
+{
+ 'conditions': [
+ ['android_build_type != 0', {
+ 'libraries': [
+ 'cpufeatures.a'
+ ],
+ }, {
+ 'dependencies': [
+ '<(android_ndk_root)/android_tools_ndk.gyp:cpu_features',
+ ],
+ }],
+ ],
+}