blob: 310e3b2448ef3141f5e2e810daaab800875cc813 [file] [log] [blame]
fdegans@chromium.org8919cfe2015-01-23 16:35:17 +00001# 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.hosie953b1c12016-04-06 14:02:26 -070010 'includes': [ '../build/common.gypi', ],
fdegans@chromium.org8919cfe2015-01-23 16:35:17 +000011 '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 Colesd417c932015-04-09 17:36:12 +020020 'dependencies': [
21 '../../build/android/ndk.gyp:cpu_features',
fdegans@chromium.org8919cfe2015-01-23 16:35:17 +000022 ],
23 },
24 ],
25 }],
simon.hosie953b1c12016-04-06 14:02:26 -070026 ['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.org8919cfe2015-01-23 16:35:17 +000040 ], # conditions
41}