Skip to content

Commit

Permalink
Use a common directory for all build output on the Mac.
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@986 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
mmentovai@google.com committed Aug 18, 2008
1 parent d324ab3 commit 8476333
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
12 changes: 7 additions & 5 deletions base/base.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
7B836ADE0E55097000F6AD31 /* libicui18n.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7B165D4F0E55081400185273 /* libicui18n.a */; };
7B836AE30E5509A900F6AD31 /* libgtest.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7B165D300E55081000185273 /* libgtest.a */; };
7B836C050E55BBB800F6AD31 /* ref_counted.cc in Sources */ = {isa = PBXBuildFile; fileRef = 7B836C040E55BBB800F6AD31 /* ref_counted.cc */; };
7B836E180E55CE5B00F6AD31 /* libicudatastatic.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7B836D970E55CE4700F6AD31 /* libicudatastatic.a */; };
7B836E180E55CE5B00F6AD31 /* libicudata.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7B836D970E55CE4700F6AD31 /* libicudata.a */; };
7BAF501C0E50B84200CA8A07 /* base_paths.cc in Sources */ = {isa = PBXBuildFile; fileRef = 7BAF501B0E50B84200CA8A07 /* base_paths.cc */; };
7BAF50760E50B8F100CA8A07 /* file_version_info_mac.mm in Sources */ = {isa = PBXBuildFile; fileRef = 7BAF50740E50B8F100CA8A07 /* file_version_info_mac.mm */; };
820EB4F70E3A613F009668FC /* string_piece.cc in Sources */ = {isa = PBXBuildFile; fileRef = 820EB4F50E3A613F009668FC /* string_piece.cc */; };
Expand Down Expand Up @@ -509,7 +509,7 @@
7B78D40E0E54FE8000609465 /* Foundation.framework in Frameworks */,
7B78D38C0E54FDEC00609465 /* libbase.a in Frameworks */,
7B836AE30E5509A900F6AD31 /* libgtest.a in Frameworks */,
7B836E180E55CE5B00F6AD31 /* libicudatastatic.a in Frameworks */,
7B836E180E55CE5B00F6AD31 /* libicudata.a in Frameworks */,
7B836ADE0E55097000F6AD31 /* libicui18n.a in Frameworks */,
7B836ADD0E55097000F6AD31 /* libicuuc.a in Frameworks */,
);
Expand All @@ -530,8 +530,8 @@
isa = PBXGroup;
children = (
7B165D530E55081400185273 /* genccode */,
7B836D970E55CE4700F6AD31 /* libicudata.a */,
7B165D4B0E55081400185273 /* libicudata_stub.a */,
7B836D970E55CE4700F6AD31 /* libicudatastatic.a */,
7B165D4F0E55081400185273 /* libicui18n.a */,
7B165D510E55081400185273 /* libicutu.a */,
7B165D4D0E55081400185273 /* libicuuc.a */,
Expand Down Expand Up @@ -1009,10 +1009,10 @@
remoteRef = 7B165D6D0E55081400185273 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
7B836D970E55CE4700F6AD31 /* libicudatastatic.a */ = {
7B836D970E55CE4700F6AD31 /* libicudata.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = libicudatastatic.a;
path = libicudata.a;
remoteRef = 7B836D960E55CE4700F6AD31 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
Expand Down Expand Up @@ -1192,13 +1192,15 @@
isa = XCBuildConfiguration;
baseConfigurationReference = 7B836C4D0E55C6AC00F6AD31 /* debug.xcconfig */;
buildSettings = {
XCODEPROJ_DEPTH = ..;
};
name = Debug;
};
825402AC0D92D0C60006B936 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 7B836C4E0E55C6AC00F6AD31 /* release.xcconfig */;
buildSettings = {
XCODEPROJ_DEPTH = ..;
};
name = Release;
};
Expand Down
5 changes: 2 additions & 3 deletions base/base_paths_mac.mm
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,11 @@ bool PathProviderMac(int key, std::wstring* result) {
break;
}
case base::DIR_SOURCE_ROOT:
// On the mac, unit tests execute three levels deep from the source root.
// For example: chrome/build/{Debug|Release}/ui_tests
// On the mac, unit tests execute two levels deep from the source root.
// For example: src/xcodebuild/{Debug|Release}/base_unittests
PathService::Get(base::DIR_EXE, &cur);
file_util::UpOneDirectory(&cur);
file_util::UpOneDirectory(&cur);
file_util::UpOneDirectory(&cur);
break;
default:
return false;
Expand Down
2 changes: 2 additions & 0 deletions testing/gtest.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -159,13 +159,15 @@
isa = XCBuildConfiguration;
baseConfigurationReference = 7B836C750E55C8CC00F6AD31 /* debug.xcconfig */;
buildSettings = {
XCODEPROJ_DEPTH = ..;
};
name = Debug;
};
1DEB91F108733DB70010E9CD /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 7B836C760E55C8CC00F6AD31 /* release.xcconfig */;
buildSettings = {
XCODEPROJ_DEPTH = ..;
};
name = Release;
};
Expand Down

0 comments on commit 8476333

Please sign in to comment.