Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Unified Diff: webrtc/system_wrappers/cpu_features_webrtc.gyp

Issue 1820133002: Implement CPU feature detection for ARM Linux. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fixes for chromium and x86 builds Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/system_wrappers/cpu_features_webrtc.gyp
diff --git a/webrtc/system_wrappers/cpu_features_webrtc.gyp b/webrtc/system_wrappers/cpu_features_webrtc.gyp
index 064b3cf049c116e5efd918a53a8f41882f7dbbe0..310e3b2448ef3141f5e2e810daaab800875cc813 100644
--- a/webrtc/system_wrappers/cpu_features_webrtc.gyp
+++ b/webrtc/system_wrappers/cpu_features_webrtc.gyp
@@ -7,6 +7,7 @@
# be found in the AUTHORS file in the root of the source tree.
{
+ 'includes': [ '../build/common.gypi', ],
'conditions': [
['OS=="android"', {
'targets': [
@@ -22,5 +23,19 @@
},
],
}],
+ ['OS=="linux"', {
+ 'targets': [
+ {
+ 'target_name': 'cpu_features_linux',
kjellander_webrtc 2016/04/04 06:09:45 Does it make sense to add similar target in webrtc
Simon Hosie 2016/04/05 01:15:48 I would have hoped so, but I can't seem to produce
kjellander_webrtc 2016/04/05 09:27:51 I remember that in the past CPU detection was enab
+ 'type': 'static_library',
+ 'sources': [
+ 'source/cpu_features_linux.c',
+ ],
+ 'dependencies': [
+ '<(webrtc_root)/common.gyp:webrtc_common',
+ ],
+ },
+ ],
+ }],
], # conditions
}

Powered by Google App Engine
This is Rietveld 408576698