Gozala/addon-sdk — pull request #3 by ochameau (2012-09-25 15:44:16+00:00)
Title: Make the new layout work with cfx-py.

Here is some work in order to make work cfx-py with this new layout.
With these modifications, examples runs. Their tests pass too.
I think that we should really avoid any code modification except require path. So I reintroduced content-proxy, content-worker and content in order to minimize modifications made by this branch. I think I lost files history by doing so, we need to ensure keeping it in final landing.

I still have loader.js in lib/sdk/loader/loader.js, I'll try to find some way to use toolkit one...

You will find `mapping.json` at SDK root folder, which contains the list of mapping from old "normalized" require path to new absolute one. "normalized" means without `api-utils/` nor `addon-kit/` at beginning of require path, nor `.js` at its end.

Then, we will need to restore tests. Is there any reason why you didn't put them in lib/sdk and lib/toolkit?