xref: /aosp_15_r20/external/openthread/third_party/build_gn/BUILDCONFIG.gn (revision cfb92d1480a9e65faed56933e9c12405f45898b4)
1*cfb92d14SAndroid Build Coastguard Worker# Copyright 2014 The Chromium Authors. All rights reserved.
2*cfb92d14SAndroid Build Coastguard Worker# Use of this source code is governed by a BSD-style license that can be
3*cfb92d14SAndroid Build Coastguard Worker# found in the LICENSE file.
4*cfb92d14SAndroid Build Coastguard Worker
5*cfb92d14SAndroid Build Coastguard Workerif (target_os == "") {
6*cfb92d14SAndroid Build Coastguard Worker  target_os = host_os
7*cfb92d14SAndroid Build Coastguard Worker}
8*cfb92d14SAndroid Build Coastguard Workerif (target_cpu == "") {
9*cfb92d14SAndroid Build Coastguard Worker  target_cpu = host_cpu
10*cfb92d14SAndroid Build Coastguard Worker}
11*cfb92d14SAndroid Build Coastguard Workerif (current_cpu == "") {
12*cfb92d14SAndroid Build Coastguard Worker  current_cpu = target_cpu
13*cfb92d14SAndroid Build Coastguard Worker}
14*cfb92d14SAndroid Build Coastguard Workerif (current_os == "") {
15*cfb92d14SAndroid Build Coastguard Worker  current_os = target_os
16*cfb92d14SAndroid Build Coastguard Worker}
17*cfb92d14SAndroid Build Coastguard Worker
18*cfb92d14SAndroid Build Coastguard Workerset_default_toolchain("//third_party/build_gn/toolchain:gcc")
19