fdegans@chromium.org | 8919cfe | 2015-01-23 16:35:17 +0000 | [diff] [blame] | 1 | # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
| 2 | # |
| 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 |
| 5 | # tree. An additional intellectual property rights grant can be found |
| 6 | # in the file PATENTS. All contributing project authors may |
| 7 | # be found in the AUTHORS file in the root of the source tree. |
| 8 | |
| 9 | { |
simon.hosie | 953b1c1 | 2016-04-06 14:02:26 -0700 | [diff] [blame^] | 10 | 'includes': [ '../build/common.gypi', ], |
fdegans@chromium.org | 8919cfe | 2015-01-23 16:35:17 +0000 | [diff] [blame] | 11 | 'conditions': [ |
| 12 | ['OS=="android"', { |
| 13 | 'targets': [ |
| 14 | { |
| 15 | 'target_name': 'cpu_features_android', |
| 16 | 'type': 'static_library', |
| 17 | 'sources': [ |
| 18 | 'source/cpu_features_android.c', |
| 19 | ], |
Richard Coles | d417c93 | 2015-04-09 17:36:12 +0200 | [diff] [blame] | 20 | 'dependencies': [ |
| 21 | '../../build/android/ndk.gyp:cpu_features', |
fdegans@chromium.org | 8919cfe | 2015-01-23 16:35:17 +0000 | [diff] [blame] | 22 | ], |
| 23 | }, |
| 24 | ], |
| 25 | }], |
simon.hosie | 953b1c1 | 2016-04-06 14:02:26 -0700 | [diff] [blame^] | 26 | ['OS=="linux"', { |
| 27 | 'targets': [ |
| 28 | { |
| 29 | 'target_name': 'cpu_features_linux', |
| 30 | 'type': 'static_library', |
| 31 | 'sources': [ |
| 32 | 'source/cpu_features_linux.c', |
| 33 | ], |
| 34 | 'dependencies': [ |
| 35 | '<(webrtc_root)/common.gyp:webrtc_common', |
| 36 | ], |
| 37 | }, |
| 38 | ], |
| 39 | }], |
fdegans@chromium.org | 8919cfe | 2015-01-23 16:35:17 +0000 | [diff] [blame] | 40 | ], # conditions |
| 41 | } |