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

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

Issue 46313006: Revert 232657 "GN: toolchain threading cleanup" (Closed) Base URL: svn://svn.chromium.org/chrome/
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 | « trunk/src/tools/gn/test_with_scope.h ('k') | trunk/src/tools/gn/toolchain.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 toolchain_(Label(SourceDir("//toolchain/"), "tc")),
10 toolchain_(&settings_, Label(SourceDir("//toolchain/"), "default")), 10 settings_(&build_settings_, &toolchain_, std::string()),
11 scope_(&settings_) { 11 scope_(&settings_) {
12 build_settings_.SetBuildDir(SourceDir("//out/Debug/"));
13
14 settings_.set_toolchain_label(toolchain_.label());
15 settings_.set_is_default(true);
16 } 12 }
17 13
18 TestWithScope::~TestWithScope() { 14 TestWithScope::~TestWithScope() {
19 } 15 }
OLDNEW
« no previous file with comments | « trunk/src/tools/gn/test_with_scope.h ('k') | trunk/src/tools/gn/toolchain.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698