Commit f7fa8b08 authored by Yuki Awano's avatar Yuki Awano Committed by Commit Bot

Do not compile zip archiver if nacl is disabled

TBR=benwells@chromium.org
BUG=359837
TEST=Build with target_os="chromeos" and enable_nacl=false.

Change-Id: I17e9bd2a62e4f4e79957e5ae7cc16a9c4248fb21
Reviewed-on: https://chromium-review.googlesource.com/566771
Commit-Queue: Yuki Awano <yawano@chromium.org>
Reviewed-by: default avatarThiemo Nagel <tnagel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#485594}
parent e3697033
...@@ -986,7 +986,6 @@ static_library("extensions") { ...@@ -986,7 +986,6 @@ static_library("extensions") {
configs += [ "//build/config/linux/dbus" ] configs += [ "//build/config/linux/dbus" ]
} }
deps += [ deps += [
"//chrome/browser/resources/chromeos/zip_archiver",
"//components/chrome_apps", "//components/chrome_apps",
"//components/constrained_window", "//components/constrained_window",
"//components/drive", "//components/drive",
...@@ -1001,6 +1000,9 @@ static_library("extensions") { ...@@ -1001,6 +1000,9 @@ static_library("extensions") {
"//ui/file_manager", "//ui/file_manager",
"//ui/views/", "//ui/views/",
] ]
if (enable_nacl) {
deps += [ "//chrome/browser/resources/chromeos/zip_archiver" ]
}
} else { } else {
sources += [ sources += [
"api/easy_unlock_private/easy_unlock_private_crypto_delegate_stub.cc", "api/easy_unlock_private/easy_unlock_private_crypto_delegate_stub.cc",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment