OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 { | 9 { |
10 'includes': [ '../build/common.gypi', ], | 10 'includes': [ '../build/common.gypi', ], |
11 'conditions': [ | 11 'conditions': [ |
12 ['OS=="android"', { | 12 ['OS=="android"', { |
13 'targets': [ | 13 'targets': [ |
14 { | 14 { |
15 'target_name': 'cpu_features_android', | 15 'target_name': 'cpu_features_android', |
16 'type': 'static_library', | 16 'type': 'static_library', |
17 'sources': [ | 17 'sources': [ |
18 'source/cpu_features_android.c', | 18 'source/cpu_features_android.c', |
19 ], | 19 ], |
20 'dependencies': [ | 20 'dependencies': [ |
21 # Not supported, please refer to the GN build. | 21 '../../build/android/ndk.gyp:cpu_features', |
22 #'../../build/android/ndk.gyp:cpu_features', | |
23 ], | 22 ], |
24 }, | 23 }, |
25 ], | 24 ], |
26 }], | 25 }], |
27 ['OS=="linux"', { | 26 ['OS=="linux"', { |
28 'targets': [ | 27 'targets': [ |
29 { | 28 { |
30 'target_name': 'cpu_features_linux', | 29 'target_name': 'cpu_features_linux', |
31 'type': 'static_library', | 30 'type': 'static_library', |
32 'sources': [ | 31 'sources': [ |
33 'source/cpu_features_linux.c', | 32 'source/cpu_features_linux.c', |
34 ], | 33 ], |
35 'dependencies': [ | 34 'dependencies': [ |
36 '<(webrtc_root)/common.gyp:webrtc_common', | 35 '<(webrtc_root)/common.gyp:webrtc_common', |
37 ], | 36 ], |
38 }, | 37 }, |
39 ], | 38 ], |
40 }], | 39 }], |
41 ], # conditions | 40 ], # conditions |
42 } | 41 } |
OLD | NEW |