Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1405)

Side by Side Diff: tools/gn/test_with_scope.cc

Issue 56433003: GN threading refactor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/gn/target_manager_unittest.cc ('k') | tools/gn/toolchain_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "tools/gn/test_with_scope.h" 5 #include "tools/gn/test_with_scope.h"
6 6
7 TestWithScope::TestWithScope() 7 TestWithScope::TestWithScope()
8 : build_settings_(), 8 : build_settings_(),
9 settings_(&build_settings_, std::string()), 9 settings_(&build_settings_, std::string()),
10 toolchain_(&settings_, Label(SourceDir("//toolchain/"), "default")), 10 toolchain_(&settings_, Label(SourceDir("//toolchain/"), "default")),
11 scope_(&settings_) { 11 scope_(&settings_) {
12 build_settings_.SetBuildDir(SourceDir("//out/Debug/")); 12 build_settings_.SetBuildDir(SourceDir("//out/Debug/"));
13 13
14 settings_.set_toolchain_label(toolchain_.label()); 14 settings_.set_toolchain_label(toolchain_.label());
15 settings_.set_is_default(true); 15 settings_.set_default_toolchain_label(toolchain_.label());
16 } 16 }
17 17
18 TestWithScope::~TestWithScope() { 18 TestWithScope::~TestWithScope() {
19 } 19 }
OLDNEW
« no previous file with comments | « tools/gn/target_manager_unittest.cc ('k') | tools/gn/toolchain_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698