2015-01-23 16:35:17 +00:00
|
|
|
# Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
#
|
|
|
|
|
# Use of this source code is governed by a BSD-style license
|
|
|
|
|
# that can be found in the LICENSE file in the root of the source
|
|
|
|
|
# tree. An additional intellectual property rights grant can be found
|
|
|
|
|
# in the file PATENTS. All contributing project authors may
|
|
|
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
|
|
|
|
|
{
|
2016-04-06 14:02:26 -07:00
|
|
|
'includes': [ '../build/common.gypi', ],
|
2015-01-23 16:35:17 +00:00
|
|
|
'conditions': [
|
|
|
|
|
['OS=="android"', {
|
|
|
|
|
'targets': [
|
|
|
|
|
{
|
|
|
|
|
'target_name': 'cpu_features_android',
|
|
|
|
|
'type': 'static_library',
|
|
|
|
|
'sources': [
|
|
|
|
|
'source/cpu_features_android.c',
|
|
|
|
|
],
|
2015-04-09 17:36:12 +02:00
|
|
|
'dependencies': [
|
2016-09-20 13:23:04 -07:00
|
|
|
# Not supported, please refer to the GN build.
|
|
|
|
|
#'../../build/android/ndk.gyp:cpu_features',
|
2015-01-23 16:35:17 +00:00
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
}],
|
2016-04-06 14:02:26 -07:00
|
|
|
['OS=="linux"', {
|
|
|
|
|
'targets': [
|
|
|
|
|
{
|
|
|
|
|
'target_name': 'cpu_features_linux',
|
|
|
|
|
'type': 'static_library',
|
|
|
|
|
'sources': [
|
|
|
|
|
'source/cpu_features_linux.c',
|
|
|
|
|
],
|
|
|
|
|
'dependencies': [
|
|
|
|
|
'<(webrtc_root)/common.gyp:webrtc_common',
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
}],
|
2015-01-23 16:35:17 +00:00
|
|
|
], # conditions
|
|
|
|
|
}
|