mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 16:26:10 +03:00
30 lines
941 B
Plaintext
30 lines
941 B
Plaintext
|
# Copyright 2017 The Chromium Authors. All rights reserved.
|
||
|
# Use of this source code is governed by a BSD-style license that can be
|
||
|
# found in the LICENSE file.
|
||
|
|
||
|
import("//build/config/sanitizers/sanitizers.gni")
|
||
|
import("//build/config/sysroot.gni")
|
||
|
import("//build/config/ui.gni")
|
||
|
import("//build/util/process_version.gni")
|
||
|
import("//extensions/buildflags/buildflags.gni")
|
||
|
|
||
|
assert(enable_extensions)
|
||
|
|
||
|
declare_args() {
|
||
|
enable_app_shell_installer =
|
||
|
is_desktop_linux && current_cpu == "x64" && !is_component_build &&
|
||
|
use_sysroot && !using_sanitizer
|
||
|
}
|
||
|
|
||
|
# Meta-target that forwards to the installer of the correct type (if any).
|
||
|
# Named "app_shell_installer" to not conflict with Chrome's "installer" target.
|
||
|
group("app_shell_installer") {
|
||
|
# See the "app_shell_lib" definition for why testonly is needed.
|
||
|
testonly = true
|
||
|
if (enable_app_shell_installer) {
|
||
|
deps = [
|
||
|
"//extensions/shell/installer/linux",
|
||
|
]
|
||
|
}
|
||
|
}
|