DCHECK if shader compilation fails that it's due to context loss.
[chromium-blink-merge.git] / tools / gn / config.cc
blobdce951f65b33384fec9403cb65176ef6354662d8
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "tools/gn/config.h"
7 #include "tools/gn/err.h"
8 #include "tools/gn/input_file_manager.h"
9 #include "tools/gn/scheduler.h"
11 Config::Config(const Settings* settings, const Label& label)
12 : Item(settings, label) {
15 Config::~Config() {
18 Config* Config::AsConfig() {
19 return this;
22 const Config* Config::AsConfig() const {
23 return this;