Today chrome.dart has sources in both lib and tools dirs. To test this was successful you can use: pub serve --web-compiler=dartdevc