blob: 63ad9c5ad7e4483447f8a5e80618b061d7683808 [file] [log] [blame]
# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/buildflag_header.gni")
import("//printing/buildflags/buildflags.gni")
# This file is in a separate directory so all targets in the build can refer to
# the buildflag header to get the necessary preprocessor defines without
# bringing in any printing targets.
buildflag_header("buildflags") {
header = "buildflags.h"
flags = [
"ENABLE_PRINTING=$enable_basic_printing",
"ENABLE_PRINT_PREVIEW=$enable_print_preview",
"ENABLE_TAGGED_PDF=$enable_tagged_pdf",
"ENABLE_OOP_PRINTING=$enable_oop_printing",
"ENABLE_PRINT_CONTENT_ANALYSIS=$enable_print_content_analysis",
]
}