blob: 9bedcd0defd2ed332fd90ab846a690379fb7120e [file] [log] [blame]
#
# Copyright (C) 2017 MediaTek, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# This is the root build file for GN. GN will start processing by loading this
# file, and recursively load all dependencies until all dependencies are either
# resolved or known not to exist (which will cause the build to fail). So if
# you add a new build file, there must be some path of dependencies from this
# file to your new one or GN won't know about it.
# This pulls in main/BUILD.gn and all of its dependencies.
group("bluetooth_boots") {
deps = [
"//:boots",
"//:boots_srv",
]
}
executable("boots") {
output_name = "boots"
sources = [
"boots.c",
"boots_pkt.c",
"boots_skt.c",
"boots_eth.c",
"boots_uart.c",
"boots_script.c",
"boots_stress.c",
"boots_country.c",
"boots_osi.c",
]
libs = [
"-lpthread"
]
}
executable("boots_srv") {
output_name = "boots_srv"
sources = [
"boots_srv.c",
"boots_btif.c",
"boots_hci.c",
"boots_pkt.c",
"boots_skt.c",
"boots_eth.c",
"boots_mt6xx.c",
"boots_uart.c",
"boots_script.c",
"boots_stress.c",
"boots_osi.c",
]
include_dirs = [
]
deps = [
]
cflags_c = [
]
libs = [
"-lpthread"
]
}