1# 2# Copyright 2023 Google, Inc. 3# 4# Licensed under the Apache License, Version 2.0 (the "License"); 5# you may not use this file except in compliance with the License. 6# You may obtain a copy of the License at: 7# 8# http://www.apache.org/licenses/LICENSE-2.0 9# 10# Unless required by applicable law or agreed to in writing, software 11# distributed under the License is distributed on an "AS IS" BASIS, 12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13# See the License for the specific language governing permissions and 14# limitations under the License. 15 16import("//bt/system/gd/packet/parser/packetgen.gni") 17 18source_set("BluetoothHciPacketSources") { 19 sources = [ 20 "hci/address.cc", 21 "hci/class_of_device.cc", 22 ] 23 24 include_dirs = [ 25 "hci/include", 26 "//bt/system/gd", 27 ] 28} 29 30packetgen_headers("BluetoothGeneratedPackets_h") { 31 sources = [ 32 "hci/hci_packets.pdl", 33 "l2cap/l2cap_packets.pdl", 34 "ras/ras_packets.pdl", 35 "security/smp_packets.pdl", 36 ] 37 38 include = "system/pdl" 39 source_root = "../.." 40} 41