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

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: GN correction, dead file removal, formatting, stricter string structure test for AT_PLATFORM. Created 4 years, 8 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
« no previous file with comments | « no previous file | webrtc/system_wrappers/cpu_features_webrtc.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/system_wrappers/BUILD.gn
diff --git a/webrtc/system_wrappers/BUILD.gn b/webrtc/system_wrappers/BUILD.gn
index e7892605317a8fab23b995c4b41ddbbdae4e55bb..c2b370c4cc2faadfa3627087a4dcefd07669d67f 100644
--- a/webrtc/system_wrappers/BUILD.gn
+++ b/webrtc/system_wrappers/BUILD.gn
@@ -108,6 +108,10 @@ static_library("system_wrappers") {
if (is_linux) {
defines += [ "WEBRTC_THREAD_RR" ]
+ if (!build_with_chromium) {
+ deps += [ ":cpu_features_linux" ]
+ }
+
libs += [ "rt" ]
}
@@ -178,3 +182,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_webrtc.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698