1# Copyright 2023 The Chromium Authors 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5import("//build/buildflag_header.gni") 6import("buildflags.gni") 7 8# Generate a buildflag header for compile-time checking of mach absolute time 9# support in TimeTicks 10# TODO(crbug.com/1414153): this should be removed once there is a unified 11# approach to TimeTicks::Now on iOS. 12buildflag_header("buildflags") { 13 header = "buildflags.h" 14 flags = [ "ENABLE_MACH_ABSOLUTE_TIME_TICKS=$enable_mach_absolute_time_ticks" ] 15} 16