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

Side by Side Diff: tools/gn/scope_per_file_provider.h

Issue 80463004: GN generator for GYP actions (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/ninja_target_writer.h ('k') | tools/gn/scope_per_file_provider.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 #ifndef TOOLS_GN_SCOPE_PER_FILE_PROVIDER_H_ 5 #ifndef TOOLS_GN_SCOPE_PER_FILE_PROVIDER_H_
6 #define TOOLS_GN_SCOPE_PER_FILE_PROVIDER_H_ 6 #define TOOLS_GN_SCOPE_PER_FILE_PROVIDER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "tools/gn/scope.h" 10 #include "tools/gn/scope.h"
(...skipping 13 matching lines...) Expand all
24 private: 24 private:
25 const Value* GetCurrentToolchain(); 25 const Value* GetCurrentToolchain();
26 const Value* GetDefaultToolchain(); 26 const Value* GetDefaultToolchain();
27 const Value* GetPythonPath(); 27 const Value* GetPythonPath();
28 const Value* GetRootBuildDir(); 28 const Value* GetRootBuildDir();
29 const Value* GetRootGenDir(); 29 const Value* GetRootGenDir();
30 const Value* GetRootOutDir(); 30 const Value* GetRootOutDir();
31 const Value* GetTargetGenDir(); 31 const Value* GetTargetGenDir();
32 const Value* GetTargetOutDir(); 32 const Value* GetTargetOutDir();
33 33
34 static std::string GetRootOutputDirWithNoLastSlash(const Settings* settings);
35 static std::string GetToolchainOutputDirWithNoLastSlash(
36 const Settings* settings);
37 static std::string GetToolchainGenDirWithNoLastSlash(
38 const Settings* settings);
39
40 std::string GetFileDirWithNoLastSlash() const;
41
42 // All values are lazily created. 34 // All values are lazily created.
43 scoped_ptr<Value> current_toolchain_; 35 scoped_ptr<Value> current_toolchain_;
44 scoped_ptr<Value> default_toolchain_; 36 scoped_ptr<Value> default_toolchain_;
45 scoped_ptr<Value> python_path_; 37 scoped_ptr<Value> python_path_;
46 scoped_ptr<Value> root_build_dir_; 38 scoped_ptr<Value> root_build_dir_;
47 scoped_ptr<Value> root_gen_dir_; 39 scoped_ptr<Value> root_gen_dir_;
48 scoped_ptr<Value> root_out_dir_; 40 scoped_ptr<Value> root_out_dir_;
49 scoped_ptr<Value> target_gen_dir_; 41 scoped_ptr<Value> target_gen_dir_;
50 scoped_ptr<Value> target_out_dir_; 42 scoped_ptr<Value> target_out_dir_;
51 43
52 DISALLOW_COPY_AND_ASSIGN(ScopePerFileProvider); 44 DISALLOW_COPY_AND_ASSIGN(ScopePerFileProvider);
53 }; 45 };
54 46
55 #endif // TOOLS_GN_SCOPE_PER_FILE_PROVIDER_H_ 47 #endif // TOOLS_GN_SCOPE_PER_FILE_PROVIDER_H_
OLDNEW
« no previous file with comments | « tools/gn/ninja_target_writer.h ('k') | tools/gn/scope_per_file_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698