blob: 64aa0624fe4fec12af98e5bba6d83486d0595e10 [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': [
kjellanderafef4132016-09-18 23:58:57 -070021 # Not supported, please refer to the GN build.
22 #'../../build/android/ndk.gyp:cpu_features',
fdegans@chromium.org8919cfe2015-01-23 16:35:17 +000023 ],
24 },
25 ],
26 }],
simon.hosie953b1c12016-04-06 14:02:26 -070027 ['OS=="linux"', {
28 'targets': [
29 {
30 'target_name': 'cpu_features_linux',
31 'type': 'static_library',
32 'sources': [
33 'source/cpu_features_linux.c',
34 ],
35 'dependencies': [
36 '<(webrtc_root)/common.gyp:webrtc_common',
37 ],
38 },
39 ],
40 }],
fdegans@chromium.org8919cfe2015-01-23 16:35:17 +000041 ], # conditions
42}