Commit a92f595d authored by tc@google.com's avatar tc@google.com

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
parent 7880bcec
......@@ -1667,6 +1667,7 @@
'browser',
'renderer',
'../printing/printing.gyp:printing',
'../webkit/webkit.gyp:inspector_resources',
],
'sources': [
# All .cc, .h, .m, and .mm files under app except for tests.
......
......@@ -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))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment