Chromium Code Reviews| 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" ] |
| + } |
| +} |