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

Side by Side Diff: tools/gn/group_target_generator.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/group_target_generator.h ('k') | tools/gn/gyp_binary_target_writer.cc » ('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/group_target_generator.h" 5 #include "tools/gn/group_target_generator.h"
6 6
7 GroupTargetGenerator::GroupTargetGenerator(Target* target, 7 GroupTargetGenerator::GroupTargetGenerator(
8 Scope* scope, 8 Target* target,
9 const Token& function_token, 9 Scope* scope,
10 Err* err) 10 const FunctionCallNode* function_call,
11 : TargetGenerator(target, scope, function_token, err) { 11 Err* err)
12 : TargetGenerator(target, scope, function_call, err) {
12 } 13 }
13 14
14 GroupTargetGenerator::~GroupTargetGenerator() { 15 GroupTargetGenerator::~GroupTargetGenerator() {
15 } 16 }
16 17
17 void GroupTargetGenerator::DoRun() { 18 void GroupTargetGenerator::DoRun() {
18 target_->set_output_type(Target::GROUP); 19 target_->set_output_type(Target::GROUP);
19 // Groups only have the default types filled in by the target generator 20 // Groups only have the default types filled in by the target generator
20 // base class. 21 // base class.
21 FillExternal(); 22 FillExternal();
22 } 23 }
OLDNEW
« no previous file with comments | « tools/gn/group_target_generator.h ('k') | tools/gn/gyp_binary_target_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698