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/item.h"
7 #include "base/logging.h"
8 #include "tools/gn/settings.h"
10 Item::Item(const Settings
* settings
, const Label
& label
)
11 : settings_(settings
),
19 Config
* Item::AsConfig() { return NULL
; }
20 const Config
* Item::AsConfig() const { return NULL
; }
21 Target
* Item::AsTarget() { return NULL
; }
22 const Target
* Item::AsTarget() const { return NULL
; }
23 Toolchain
* Item::AsToolchain() { return NULL
; }
24 const Toolchain
* Item::AsToolchain() const { return NULL
; }
26 std::string
Item::GetItemTypeName() const {
34 return "this thing that I have no idea what it is";
37 bool Item::OnResolved(Err
* err
) {