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. 4 5 #include "tools/gn/test_with_scope.h" 6 TestWithScope()7TestWithScope::TestWithScope() 8 : build_settings_(), 9 settings_(&build_settings_, std::string()), 10 toolchain_(&settings_, Label(SourceDir("//toolchain/"), "default")), 11 scope_(&settings_) { 12 build_settings_.SetBuildDir(SourceDir("//out/Debug/")); 13 14 settings_.set_toolchain_label(toolchain_.label()); 15 settings_.set_default_toolchain_label(toolchain_.label()); 16 } 17 ~TestWithScope()18TestWithScope::~TestWithScope() { 19 } 20