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

Unified Diff: webrtc/system_wrappers/BUILD.gn

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/BUILD.gn
diff --git a/webrtc/system_wrappers/BUILD.gn b/webrtc/system_wrappers/BUILD.gn
index e7892605317a8fab23b995c4b41ddbbdae4e55bb..0090ebdce7bfdd697ca5c7931eab1539efd3312a 100644
--- a/webrtc/system_wrappers/BUILD.gn
+++ b/webrtc/system_wrappers/BUILD.gn
@@ -108,6 +108,8 @@ static_library("system_wrappers") {
if (is_linux) {
defines += [ "WEBRTC_THREAD_RR" ]
+ deps += [ ":cpu_features_linux" ]
kjellander_webrtc 2016/04/04 06:09:45 Please introduce the similar if (build_with_chromi
Simon Hosie 2016/04/05 01:15:48 Done.
+
libs += [ "rt" ]
}
@@ -178,3 +180,14 @@ if (is_android) {
]
}
}
+
+if (is_linux) {
+ source_set("cpu_features_linux") {
+ sources = [
+ "source/cpu_features_linux.c",
+ ]
+
+ configs += [ "..:common_config" ]
+ public_configs = [ "..:common_inherited_config" ]
+ }
+}
« no previous file with comments | « no previous file | webrtc/system_wrappers/cpu_features_linux.gyp » ('j') | webrtc/system_wrappers/cpu_features_linux.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698