Skip to content

Commit

Permalink
Do not add generated NTP resources in static GRD
Browse files Browse the repository at this point in the history
  • Loading branch information
petemill committed Nov 20, 2018
1 parent d5d1ca2 commit 794fa5d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions browser/ui/webui/brave_webui_source.cc
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ void CustomizeWebUIHTMLSource(const std::string &name, content::WebUIDataSource*
static std::map<std::string, std::vector<WebUISimpleItem> > resources = {
{
std::string("newtab"), {
{ "af7ae505a9eed503f8b8e6982036873e.woff2", IDR_BRAVE_COMMON_FONT_AWESOME_1 },
{ "fee66e712a8a08eef5805a46892932ad.woff", IDR_BRAVE_COMMON_FONT_AWESOME_2 },
{ "b06871f281fee6b241d60582ae9369b9.ttf", IDR_BRAVE_COMMON_FONT_AWESOME_3 },

{ "img/toolbar/menu_btn.svg", IDR_BRAVE_COMMON_TOOLBAR_IMG },
// Hash path is the MD5 of the file contents, webpack image loader does this
{ "fd85070af5114d6ac462c466e78448e4.svg", IDR_BRAVE_NEW_TAB_IMG1 },
Expand Down
3 changes: 0 additions & 3 deletions components/resources/brave_components_resources.grd
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
<!-- Common resources -->
<!-- TODO: Define only where needed, via webpack generated output,
or use common chrome://resources DataSource -->
<include name="IDR_BRAVE_COMMON_FONT_AWESOME_1" file="${root_gen_dir}/brave/af7ae505a9eed503f8b8e6982036873e.woff2" type="BINDATA" use_base_dir="false" />
<include name="IDR_BRAVE_COMMON_FONT_AWESOME_2" file="${root_gen_dir}/brave/fee66e712a8a08eef5805a46892932ad.woff" type="BINDATA" use_base_dir="false" />
<include name="IDR_BRAVE_COMMON_FONT_AWESOME_3" file="${root_gen_dir}/brave/b06871f281fee6b241d60582ae9369b9.ttf" type="BINDATA" use_base_dir="false" />
<include name="IDR_BRAVE_COMMON_TOOLBAR_IMG" file="../img/toolbar/menu_btn.svg" type="BINDATA" />

<!-- Browser resources -->
Expand Down

0 comments on commit 794fa5d

Please sign in to comment.