diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-30 23:17:34 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-30 23:17:34 +0000 |
commit | a92f595d83acc6ecc326c2402d138d80de336b8a (patch) | |
tree | 9890089499be859b57248df5a9d7fd3c911ef2e1 /chrome/common/chrome_paths.cc | |
parent | 7880bcec08e61d44ffe24bde4ab4645c5839ea98 (diff) | |
download | chromium_src-a92f595d83acc6ecc326c2402d138d80de336b8a.zip chromium_src-a92f595d83acc6ecc326c2402d138d80de336b8a.tar.gz chromium_src-a92f595d83acc6ecc326c2402d138d80de336b8a.tar.bz2 |
Fix the web inspector on linux.
1) Add a dependency to the rule that copies the files.
2) Change the directories to have lower case names. This doesn't matter
on windows which is case insensitive and where some directories are already lower case (e.g., themes and locales). Mac will probably have to add
some gyp code to move the files to the right place in the bundle.
Review URL: http://codereview.chromium.org/100223
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15015 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_paths.cc')
-rw-r--r-- | chrome/common/chrome_paths.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/common/chrome_paths.cc b/chrome/common/chrome_paths.cc index f5f6bf9..fe4d778 100644 --- a/chrome/common/chrome_paths.cc +++ b/chrome/common/chrome_paths.cc @@ -83,14 +83,14 @@ bool PathProvider(int key, FilePath* result) { case chrome::DIR_RESOURCES: if (!PathService::Get(chrome::DIR_APP, &cur)) return false; - cur = cur.Append(FILE_PATH_LITERAL("Resources")); + cur = cur.Append(FILE_PATH_LITERAL("resources")); create_dir = true; break; case chrome::DIR_INSPECTOR: if (!PathService::Get(chrome::DIR_APP, &cur)) return false; - cur = cur.Append(FILE_PATH_LITERAL("Resources")); - cur = cur.Append(FILE_PATH_LITERAL("Inspector")); + cur = cur.Append(FILE_PATH_LITERAL("resources")); + cur = cur.Append(FILE_PATH_LITERAL("inspector")); break; case chrome::DIR_THEMES: if (!PathService::Get(chrome::DIR_APP, &cur)) |