Arquivos
magenta/kernel/app/shell/BUILD.gn
T
The Fuchsia Authors 53b9e1c8de [magenta] Initial commit
2016-06-15 00:31:24 -07:00

32 linhas
602 B
Plaintext

# Copyright 2016 The Fuchsia Authors
#
# Use of this source code is governed by a MIT-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT
import("//gnbuild/config.gni")
config("enable_shell") {
if (enable_shell) {
defines = [ "WITH_APP_SHELL=1" ]
} else {
defines = [ "WITH_APP_SHELL=0" ]
}
}
config("_shell_config") {
visibility = [ ":*" ]
configs = [ ":enable_shell" ]
}
module("shell") {
public_configs = [ ":_shell_config" ]
sources = [
"shell.c",
]
deps = [
"//kernel/lib/console",
"//kernel/lib/libc",
]
}