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 'conditions': [ | 10 'conditions': [ |
11 ['OS=="android"', { | 11 ['OS=="android"', { |
12 'targets': [ | 12 'targets': [ |
13 { | 13 { |
14 'target_name': 'cpu_features_android', | 14 'target_name': 'cpu_features_android', |
15 'type': 'static_library', | 15 'type': 'static_library', |
16 'sources': [ | 16 'sources': [ |
17 'source/cpu_features_android.c', | 17 'source/cpu_features_android.c', |
18 ], | 18 ], |
19 'dependencies': [ | 19 'dependencies': [ |
20 '../../build/android/ndk.gyp:cpu_features', | 20 '../../build/android/ndk.gyp:cpu_features', |
21 ], | 21 ], |
22 }, | 22 }, |
23 ], | 23 ], |
24 }], | 24 }], |
| 25 ['OS=="linux"', { |
| 26 'targets': [ |
| 27 { |
| 28 'target_name': 'cpu_features_linux', |
| 29 'type': 'static_library', |
| 30 'sources': [ |
| 31 'source/cpu_features_linux.c', |
| 32 ], |
| 33 'dependencies': [ |
| 34 '<(webrtc_root)/common.gyp:webrtc_common', |
| 35 ], |
| 36 }, |
| 37 ], |
| 38 }], |
25 ], # conditions | 39 ], # conditions |
26 } | 40 } |
OLD | NEW |