Add the rtc_build_openmax_dl variable to the GN build.

For symmetry with the gyp build.

R=kjellander@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/49109005

Cr-Commit-Position: refs/heads/master@{#9083}
This commit is contained in:
Andrew MacDonald 2015-04-24 08:46:51 -07:00
parent 12e0329007
commit 23dc68e515
2 changed files with 4 additions and 1 deletions

View File

@ -44,6 +44,7 @@ declare_args() {
rtc_build_vp9 = true
rtc_build_ssl = true
rtc_build_opus = true
rtc_build_openmax_dl = true
# Disable by default.
rtc_have_dbus_glib = false

View File

@ -116,7 +116,9 @@ source_set("common_audio") {
"real_fourier_openmax.h",
]
defines += [ "RTC_USE_OPENMAX_DL" ]
deps += [ "//third_party/openmax_dl/dl" ]
if (rtc_build_openmax_dl) {
deps += [ "//third_party/openmax_dl/dl" ]
}
}
if (current_cpu == "arm") {