1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36
   37
   38
   39
   40
   41
   42
   43
   44

build / gn_logs.gni [blame]

# Copyright 2020 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//build/config/compiler/compiler.gni")
import("//build/toolchain/concurrent_links.gni")
import("//build/toolchain/rbe.gni")

build_gn_logs = [ "### rbe.gni ###" ] + rbe_logs
build_gn_logs += [ "" ]

# Log lines for gn_logs.txt that originate from within //build.
build_gn_logs += [ "### compiler.gni ###" ] + compiler_logs
build_gn_logs += [ "" ]

if (target_os == "ios") {
  import("//build/config/ios/ios_sdk.gni")
  import("//build/config/mac/mac_sdk.gni")
  build_gn_logs += [ "### ios_sdk.gni ###" ] + ios_sdk_logs
  build_gn_logs += [ "" ]
  build_gn_logs += [ "### mac_sdk.gni ###" ] + mac_sdk_logs
  build_gn_logs += [ "" ]
}

if (target_os == "mac") {
  import("//build/config/mac/mac_sdk.gni")
  build_gn_logs += [ "### mac_sdk.gni ###" ] + mac_sdk_logs
  build_gn_logs += [ "" ]
}

if (target_os == "win") {
  import("//build/config/win/visual_studio_version.gni")
  build_gn_logs +=
      [ "### visual_studio_version.gni ###" ] + visual_studio_version_logs
  build_gn_logs += [ "" ]
}

if (target_os == "fuchsia") {
  import("//build/config/fuchsia/gn_configs.gni")
  build_gn_logs += [ "### fuchsia/gn_configs.gni ###" ] + fuchsia_gn_logs
  build_gn_logs += [ "" ]
}

build_gn_logs += [ "#### get_concurrent_links.py ####" ] + concurrent_links_logs