# Copyright (c) 2014 The Native Client Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # 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. # # All targets in this file file are built by default. # # Here we declare the meta targets which pull in the various architecture # combinations of the real targets. # if (os == "linux") { group("trusted_arm") { deps = [ "//native_client/src:trusted_targets(//native_client/build/toolchain/$os:trusted_arm)", ] } } group("trusted_32") { deps = [ "//native_client/src:trusted_targets(//native_client/build/toolchain/$os:trusted_x86)", ] } group("trusted_64") { deps = [ "//native_client/src:trusted_targets(//native_client/build/toolchain/$os:trusted_x64)", ] } # # This is the root untrusted target which will build all trusted components # group("untrusted") { deps = [] if (use_newlib) { if (use_nacl_x86) { deps += [ "//native_client/src/:untrusted_targets(//native_client/build/toolchain/nacl:newlib_x86)" ] } if (use_nacl_x64) { deps += [ "//native_client/src/:untrusted_targets(//native_client/build/toolchain/nacl:newlib_x64)", ] } if (use_nacl_arm) { deps += [ "//native_client/src/:untrusted_targets(//native_client/build/toolchain/nacl:newlib_arm)", ] } } }