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:
@ -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",
|
||||
|
Reference in New Issue
Block a user