blob: e9398613e45b66864ec92743589f95ab533e154d [file] [log] [blame]
# Copyright 2018 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("//build/config/chrome_build.gni")
import("//build/config/chromecast_build.gni")
source_set("buildflag_header_h") {
sources = [ "buildflag.h" ]
}
buildflag_header("branding_buildflags") {
header = "branding_buildflags.h"
if (is_chrome_branded) {
flags = [
"CHROMIUM_BRANDING=0",
"GOOGLE_CHROME_BRANDING=1",
]
} else {
flags = [
"CHROMIUM_BRANDING=1",
"GOOGLE_CHROME_BRANDING=0",
]
}
}
buildflag_header("chromecast_buildflags") {
header = "chromecast_buildflags.h"
flags = [ "IS_CHROMECAST=$is_chromecast" ]
}