Update gn files to support Mozilla build

Bug: webrtc:8670
No-Presubmit: true
Change-Id: I085dc63daa8274b5068540cbf56b6330f40643fa
Reviewed-on: https://webrtc-review.googlesource.com/38920
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21624}
This commit is contained in:
Dan Minor
2018-01-15 10:20:00 -05:00
committed by Commit Bot
parent b8874356f6
commit 9c68613080
17 changed files with 202 additions and 75 deletions

View File

@ -63,7 +63,15 @@ rtc_static_library("system_wrappers") {
if (is_android) {
defines += [ "WEBRTC_THREAD_RR" ]
deps += [ ":cpu_features_android" ]
if (build_with_mozilla) {
include_dirs = [
"/config/external/nspr",
"/nsprpub/lib/ds",
"/nsprpub/pr/include",
]
} else {
deps += [ ":cpu_features_android" ]
}
libs += [ "log" ]
}
@ -188,7 +196,7 @@ group("system_wrappers_default") {
]
}
if (is_android) {
if (is_android && !build_with_mozilla) {
rtc_static_library("cpu_features_android") {
sources = [
"source/cpu_features_android.c",