HomeSort by relevance Sort by last modified time
    Searched refs:Toolchain (Results 1 - 25 of 41) sorted by null

1 2

  /external/chromium_org/tools/gn/
toolchain.cc 5 #include "tools/gn/toolchain.h"
10 const char* Toolchain::kToolCc = "cc";
11 const char* Toolchain::kToolCxx = "cxx";
12 const char* Toolchain::kToolObjC = "objc";
13 const char* Toolchain::kToolObjCxx = "objcxx";
14 const char* Toolchain::kToolRc = "rc";
15 const char* Toolchain::kToolAsm = "asm";
16 const char* Toolchain::kToolAlink = "alink";
17 const char* Toolchain::kToolSolink = "solink";
18 const char* Toolchain::kToolLink = "link"
    [all...]
ninja_toolchain_writer.h 19 class Toolchain;
23 // Takes the settings for the toolchain, as well as the list of all targets
24 // assicoated with the toolchain.
26 const Toolchain* toolchain,
31 const Toolchain* toolchain,
42 const Toolchain* toolchain_;
test_with_scope.h 12 #include "tools/gn/toolchain.h"
15 // toolchain and sets up all the build state.
23 Toolchain* toolchain() { return &toolchain_; } function in class:TestWithScope
29 Toolchain toolchain_;
item.h 16 class Toolchain;
39 virtual Toolchain* AsToolchain();
40 virtual const Toolchain* AsToolchain() const;
ninja_target_writer.h 23 const Toolchain* toolchain,
27 static void RunAndWriteFile(const Target* target, const Toolchain* toolchain);
46 const Toolchain* toolchain_; // Non-owning.
ninja_copy_target_writer.h 15 const Toolchain* toolchain,
ninja_group_target_writer.h 15 const Toolchain* toolchain,
toolchain.h 14 // Holds information on a specific toolchain. This data is filled in when we
15 // encounter a toolchain definition.
18 // particular, when a target uses a toolchain, it should have a dependency on
19 // that toolchain's object so that we can be sure we loaded the toolchain
22 // Note on threadsafety: The label of the toolchain never changes so can
24 // the toolchain name). But the values in the toolchain do, so these can't
26 class Toolchain : public Item {
73 Toolchain(const Settings* settings, const Label& label)
    [all...]
item.cc 22 Toolchain* Item::AsToolchain() { return NULL; }
23 const Toolchain* Item::AsToolchain() const { return NULL; }
31 return "toolchain";
ninja_toolchain_writer.cc 14 #include "tools/gn/toolchain.h"
19 const Toolchain* toolchain,
23 toolchain_(toolchain),
42 const Toolchain* toolchain,
58 NinjaToolchainWriter gen(settings, toolchain, targets, file);
69 for (int i = Toolchain::TYPE_NONE + 1; i < Toolchain::TYPE_NUMTYPES; i++) {
70 Toolchain::ToolType tool_type = static_cast<Toolchain::ToolType>(i)
    [all...]
gyp_script_target_writer.h 11 #include "tools/gn/toolchain.h"
16 const Toolchain* toolchain,
gyp_target_writer.h 20 class Toolchain;
37 // contain the builds with the host system's toolchain. Only supported on
48 const Toolchain* toolchain,
55 const Toolchain* debug_toolchain,
69 const Toolchain* toolchain_; // Toolchain corresponding to target_.
ninja_binary_target_writer.h 10 #include "tools/gn/toolchain.h"
17 const Toolchain* toolchain,
29 void WriteLinkerFlags(const Toolchain::Tool& tool,
31 void WriteLibs(const Toolchain::Tool& tool);
64 Toolchain::ToolType tool_type_;
function_toolchain.cc 11 #include "tools/gn/toolchain.h"
19 // the toolchain property on a scope.
37 // toolchain -------------------------------------------------------------------
39 const char kToolchain[] = "toolchain";
41 "toolchain: Defines a toolchain.\n"
43 " A toolchain is a set of commands and build flags used to compile the\n"
44 " source code. You can have more than one toolchain in use at once in\n"
47 " A toolchain specifies the commands to run for various input file\n"
49 " arguments to be passed to the toolchain build via the\n
192 Toolchain* toolchain = reinterpret_cast<Toolchain*>( local
283 Toolchain* toolchain = reinterpret_cast<Toolchain*>( local
    [all...]
loader.h 23 class Toolchain;
35 // Loads the given file in the conext of the given toolchain. The initial
37 // empty toolchain name, which will trigger the load of the default build
42 // Notification that the given toolchain has loaded. This will unblock files
44 virtual void ToolchainLoaded(const Toolchain* toolchain) = 0;
46 // Returns the label of the default toolchain.
49 // Returns information about the toolchain with the given label. Will return
50 // false if we haven't processed this toolchain yet.
53 // Helper function that extracts the file and toolchain name from the give
    [all...]
command_gen.cc 25 void BackgroundDoWrite(const Target* target, const Toolchain* toolchain) {
26 NinjaTargetWriter::RunAndWriteFile(target, toolchain);
38 const Toolchain* toolchain = local
40 DCHECK(toolchain);
43 base::Bind(&BackgroundDoWrite, target, toolchain));
ninja_group_target_writer.cc 11 const Toolchain* toolchain,
13 : NinjaTargetWriter(target, toolchain, out) {
ninja_script_target_writer.h 21 const Toolchain* toolchain,
builder_unittest.cc 10 #include "tools/gn/toolchain.h"
24 virtual void ToolchainLoaded(const Toolchain* toolchain) OVERRIDE {
82 Toolchain* DefineToolchain() {
83 Toolchain* tc = new Toolchain(&settings_, settings_.toolchain_label());
121 // Should have requested that B and the toolchain is loaded.
138 // A should have two deps: B and the toolchain. Only B should be unresolved.
158 // C only depends on the already-loaded toolchain so we shouldn't have
168 // B depends only on the already-loaded C and toolchain so we shouldn't hav
    [all...]
ninja_binary_target_writer.cc 73 Toolchain::ToolType GetToolTypeForTarget(const Target* target) {
76 return Toolchain::TYPE_ALINK;
78 return Toolchain::TYPE_SOLINK;
80 return Toolchain::TYPE_LINK;
82 return Toolchain::TYPE_NONE;
89 const Toolchain* toolchain,
91 : NinjaTargetWriter(target, toolchain, out),
191 const Toolchain::Tool& tool = toolchain_->GetTool(tool_type_);
247 const Toolchain::Tool& tool
    [all...]
gyp_target_writer.cc 19 #include "tools/gn/toolchain.h"
22 const Toolchain* toolchain,
27 toolchain_(toolchain),
40 const Toolchain* debug_toolchain,
55 // Optional GYP header specified in the default debug toolchain.
ninja_copy_target_writer.cc 12 const Toolchain* toolchain,
14 : NinjaTargetWriter(target, toolchain, out) {
ninja_helper_unittest.cc 12 #include "tools/gn/toolchain.h"
21 toolchain(&settings, Label(SourceDir("//"), "tc")),
23 settings.set_toolchain_label(toolchain.label());
35 Toolchain toolchain; member in class:__anon14644::HelperSetterUpper
45 // Default toolchain.
scope_per_file_provider_unittest.cc 10 #include "tools/gn/toolchain.h"
19 // Test the default toolchain.
25 EXPECT_EQ("//toolchain:default", GPV(variables::kCurrentToolchain));
26 // TODO(brettw) this test harness does not set up the Toolchain manager
28 //EXPECT_EQ("//toolchain:default", GPV(variables::kDefaultToolchain));
36 // Test some with an alternate toolchain.
39 Toolchain toolchain(&settings, Label(SourceDir("//toolchain/"), "tc"));
40 settings.set_toolchain_label(toolchain.label())
    [all...]
ninja_target_writer.cc 23 const Toolchain* toolchain,
27 toolchain_(toolchain),
39 const Toolchain* toolchain) {
62 NinjaCopyTargetWriter writer(target, toolchain, file);
65 NinjaScriptTargetWriter writer(target, toolchain, file);
68 NinjaGroupTargetWriter writer(target, toolchain, file);
74 NinjaBinaryTargetWriter writer(target, toolchain, file);

Completed in 1288 milliseconds

1 2