OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 # Depend on the Android NDK's cpu feature detection. The WebView build is part | 5 # Depend on the Android NDK's cpu feature detection. The WebView build is part |
6 # of the system and the library already exists; for the normal build there is a | 6 # of the system and the library already exists; for the normal build there is a |
7 # gyp file in the checked-in NDK to build it. | 7 # gyp file in the checked-in NDK to build it. |
8 { | 8 { |
9 'conditions': [ | 9 'conditions': [ |
10 ['android_build_type != 0', { | 10 ['android_webview_build == 1', { |
11 'libraries': [ | 11 'libraries': [ |
12 'cpufeatures.a' | 12 'cpufeatures.a' |
13 ], | 13 ], |
14 }, { | 14 }, { |
15 'dependencies': [ | 15 'dependencies': [ |
16 '<(android_ndk_root)/android_tools_ndk.gyp:cpu_features', | 16 '<(android_ndk_root)/android_tools_ndk.gyp:cpu_features', |
17 ], | 17 ], |
18 }], | 18 }], |
19 ], | 19 ], |
20 } | 20 } |
OLD | NEW |