Arman Uguray | ab77f13 | 2015-05-26 14:50:36 -0700 | [diff] [blame] | 1 | # |
Abhishek Pandit-Subedi | 947d468 | 2021-11-12 15:52:11 -0800 | [diff] [blame] | 2 | # Copyright 2020 Google, Inc. |
Arman Uguray | ab77f13 | 2015-05-26 14:50:36 -0700 | [diff] [blame] | 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 | # |
| 16 | |
| 17 | # This is the root build file for GN. GN will start processing by loading this |
| 18 | # file, and recursively load all dependencies until all dependencies are either |
| 19 | # resolved or known not to exist (which will cause the build to fail). So if |
| 20 | # you add a new build file, there must be some path of dependencies from this |
| 21 | # file to your new one or GN won't know about it. |
| 22 | |
Abhishek Pandit-Subedi | c86d26f | 2021-01-08 19:53:23 -0800 | [diff] [blame] | 23 | group("all") { |
Abhishek Pandit-Subedi | 947d468 | 2021-11-12 15:52:11 -0800 | [diff] [blame] | 24 | deps = [ "//bt/system:all" ] |
Abhishek Pandit-Subedi | c86d26f | 2021-01-08 19:53:23 -0800 | [diff] [blame] | 25 | } |
| 26 | |
Abhishek Pandit-Subedi | 4d09c9e | 2021-11-19 11:26:18 -0800 | [diff] [blame] | 27 | # Tools should be built for the host target. |
| 28 | if (host_cpu == target_cpu && host_os == target_os) { |
| 29 | group("tools") { |
| 30 | deps = [ "//bt/system:tools" ] |
| 31 | } |
Sonny Sasaka | 116ae62 | 2021-02-03 19:14:56 +0000 | [diff] [blame] | 32 | } |