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

1 2 3

  /external/chromium_org/tools/gn/
source_dir.h 24 class SourceDir {
28 SourceDir();
29 explicit SourceDir(const base::StringPiece& p);
32 SourceDir(SwapIn, std::string* s);
33 ~SourceDir();
36 // an empty SourceDir/File on error. Empty input is always an error (it's
46 SourceDir ResolveRelativeDir(
83 bool operator==(const SourceDir& other) const {
86 bool operator!=(const SourceDir& other) const {
89 bool operator<(const SourceDir& other) const
    [all...]
source_dir_unittest.cc 9 TEST(SourceDir, ResolveRelativeFile) {
10 SourceDir base("//base/");
38 TEST(SourceDir, ResolveRelativeDir) {
39 SourceDir base("//base/");
42 EXPECT_TRUE(base.ResolveRelativeDir("") == SourceDir());
45 EXPECT_TRUE(base.ResolveRelativeDir("//foo") == SourceDir("//foo/"));
46 EXPECT_TRUE(base.ResolveRelativeDir("/foo") == SourceDir("/foo/"));
49 EXPECT_TRUE(base.ResolveRelativeDir("foo") == SourceDir("//base/foo/"));
50 EXPECT_TRUE(base.ResolveRelativeDir("./foo") == SourceDir("//base/foo/"));
51 EXPECT_TRUE(base.ResolveRelativeDir("../foo") == SourceDir("//foo/"))
    [all...]
filesystem_utils_unittest.cc 128 EXPECT_TRUE(InvertDir(SourceDir()) == "");
129 EXPECT_TRUE(InvertDir(SourceDir("/")) == "");
130 EXPECT_TRUE(InvertDir(SourceDir("//")) == "");
132 EXPECT_TRUE(InvertDir(SourceDir("//foo/bar")) == "../../");
133 EXPECT_TRUE(InvertDir(SourceDir("/foo/bar/")) == "../../");
201 EXPECT_EQ(".", RebaseSourceAbsolutePath("//", SourceDir("//")));
203 RebaseSourceAbsolutePath("//foo/bar/", SourceDir("//foo/bar/")));
207 RebaseSourceAbsolutePath("//foo", SourceDir("//bar/")));
209 RebaseSourceAbsolutePath("//foo/", SourceDir("//bar/")));
211 RebaseSourceAbsolutePath("//foo", SourceDir("//bar/moo")))
    [all...]
config_values_generator.h 27 const SourceDir& input_dir,
37 const SourceDir input_dir_;
test_with_scope.cc 10 toolchain_(&settings_, Label(SourceDir("//toolchain/"), "default")),
12 build_settings_.SetBuildDir(SourceDir("//out/Debug/"));
filesystem_utils.h 98 bool EnsureStringIsInOutputDir(const SourceDir& dir,
126 std::string InvertDir(const SourceDir& dir);
139 const SourceDir& dest_dir);
146 std::string DirectoryWithNoLastSlash(const SourceDir& dir);
151 SourceDir GetToolchainOutputDir(const Settings* settings);
152 SourceDir GetToolchainGenDir(const Settings* settings);
153 SourceDir GetOutputDirForSourceDir(const Settings* settings,
154 const SourceDir& source_dir);
155 SourceDir GetGenDirForSourceDir(const Settings* settings,
156 const SourceDir& source_dir)
    [all...]
value_extractors.h 17 class SourceDir;
44 const SourceDir& current_dir,
51 const SourceDir& current_dir,
52 std::vector<SourceDir>* dest,
58 const SourceDir& current_dir,
63 const SourceDir& current_dir,
70 const SourceDir& current_dir,
gyp_helper.h 13 class SourceDir;
35 std::string GetDirReference(const SourceDir& dir, bool include_slash) const;
build_settings.h 44 void SetSecondarySourcePath(const SourceDir& d);
56 const SourceDir& build_dir() const { return build_dir_; }
57 void SetBuildDir(const SourceDir& dir);
72 base::FilePath GetFullPath(const SourceDir& dir) const;
78 base::FilePath GetFullPathSecondary(const SourceDir& dir) const;
93 SourceDir build_dir_;
source_dir.cc 22 SourceDir::SourceDir() {
25 SourceDir::SourceDir(const base::StringPiece& p)
32 SourceDir::SourceDir(SwapIn, std::string* s) {
39 SourceDir::~SourceDir() {
42 SourceFile SourceDir::ResolveRelativeFile(
80 SourceDir SourceDir::ResolveRelativeDir
    [all...]
path_output_unittest.cc 13 SourceDir build_dir("//out/Debug/");
54 SourceDir build_dir("//");
71 SourceDir build_dir("//out/Debug/");
88 SourceDir build_dir("//out/Debug/");
115 SourceDir build_dir("//out/Debug/");
129 SourceDir build_dir("//out/Debug/");
142 SourceDir build_dir("//out/Debug/");
146 writer.WriteDir(out, SourceDir("//foo/bar/"),
152 writer.WriteDir(out, SourceDir("//foo/bar/"),
160 writer.WriteDir(out, SourceDir("//"),
    [all...]
value_extractors.cc 19 const SourceDir& current_dir_in)
38 const SourceDir& current_dir;
43 const SourceDir& current_dir_in)
47 bool operator()(const Value& v, SourceDir* out, Err* err) const {
55 const SourceDir& current_dir;
60 LabelResolver(const SourceDir& current_dir_in,
71 const SourceDir& current_dir;
94 const SourceDir& current_dir,
103 const SourceDir& current_dir,
104 std::vector<SourceDir>* dest
    [all...]
target_unittest.cc 19 toolchain_(&settings_, Label(SourceDir("//tc/"), "tc")) {
37 Target x(&settings_, Label(SourceDir("//component/"), "x"));
38 Target y(&settings_, Label(SourceDir("//component/"), "y"));
41 Target g(&settings_, Label(SourceDir("//group/"), "g"));
48 Target b(&settings_, Label(SourceDir("//app/"), "b"));
51 Target a(&settings_, Label(SourceDir("//app/"), "a"));
70 const SourceDir libdir("/foo_dir/");
73 Target z(&settings_, Label(SourceDir("//foo/"), "z"));
88 const SourceDir second_libdir("/bar_dir/");
89 Target shared(&settings_, Label(SourceDir("//foo/"), "shared"))
    [all...]
gyp_script_target_writer_unittest.cc 12 setup.build_settings()->SetBuildDir(SourceDir("//out/Debug/"));
14 new Target(setup.settings(), Label(SourceDir("//foo/"), "bar")));
32 SourceDir("//out/gn_gyp/"), out);
label.h 24 Label(const SourceDir& dir,
26 const SourceDir& toolchain_dir,
30 Label(const SourceDir& dir, const base::StringPiece& name);
36 static Label Resolve(const SourceDir& current_dir,
43 const SourceDir& dir() const { return dir_; }
46 const SourceDir& toolchain_dir() const { return toolchain_dir_; }
94 SourceDir dir_;
97 SourceDir toolchain_dir_;
build_settings.cc 33 void BuildSettings::SetSecondarySourcePath(const SourceDir& d) {
37 void BuildSettings::SetBuildDir(const SourceDir& d) {
46 base::FilePath BuildSettings::GetFullPath(const SourceDir& dir) const {
56 const SourceDir& dir) const {
config_values.h 25 const std::vector<SourceDir>& name() const { return name##_; } \
26 std::vector<SourceDir>& name() { return name##_; }
49 std::vector<SourceDir> include_dirs_;
51 std::vector<SourceDir> lib_dirs_;
gyp_script_target_writer.h 17 const SourceDir& gyp_dir,
path_output.h 36 PathOutput(const SourceDir& current_dir,
44 const SourceDir& current_dir() const { return current_dir_; }
64 const SourceDir& dir,
77 SourceDir current_dir_;
settings.h 71 const SourceDir& toolchain_output_dir() const {
76 const SourceDir& toolchain_gen_dir() const {
118 SourceDir toolchain_output_dir_;
120 SourceDir toolchain_gen_dir_;
filesystem_utils.cc 278 bool EnsureStringIsInOutputDir(const SourceDir& dir,
391 std::string InvertDir(const SourceDir& path) {
514 const SourceDir& dest_dir) {
551 std::string DirectoryWithNoLastSlash(const SourceDir& dir) {
567 SourceDir GetToolchainOutputDir(const Settings* settings) {
574 return SourceDir(SourceDir::SWAP_IN, &result);
577 SourceDir GetToolchainGenDir(const Settings* settings) {
585 return SourceDir(SourceDir::SWAP_IN, &result)
    [all...]
input_file.h 29 const SourceDir& dir() const { return dir_; }
54 SourceDir dir_;
settings.cc 26 toolchain_output_dir_ = SourceDir(build_settings->build_dir().value() +
32 toolchain_gen_dir_ = SourceDir(toolchain_output_dir_.value() + "gen/");
config_values_generator.cc 35 const SourceDir input_dir,
36 std::vector<SourceDir>& (ConfigValues::* accessor)(),
42 std::vector<SourceDir> result;
53 const SourceDir& input_dir,
ninja_binary_target_writer_unittest.cc 13 setup.build_settings()->SetBuildDir(SourceDir("//out/Debug/"));
16 Target target(setup.settings(), Label(SourceDir("//foo/"), "bar"));
51 Target shlib_target(setup.settings(), Label(SourceDir("//foo/"), "shlib"));

Completed in 160 milliseconds

1 2 3