Hi All,
> const&): error: undefined reference to 'local_ntp::SendLocalFileResource(std::string const&, base::Callback<void (base::RefCountedMemory*)> const&)'
obj/chrome/browser/browser/most_visited_iframe_source.o:../../chrome/browser/search/most_visited_iframe_source.cc:function MostVisitedIframeSource::StartDataRequest(std::string const&, int, int, base::Callback<void (base::RefCountedMemory*)> const&): error: undefined reference to 'local_ntp::SendLocalFileResourceWithOrigin(std::string const&, std::string const&, base::Callback<void (base::RefCountedMemory*)> const&)'
obj/chrome/browser/browser/local_ntp_source.o:../../chrome/browser/search/local_ntp_source.cc:function LocalNtpSource::StartDataRequest(std::string const&, int, int, base::Callback<void (base::RefCountedMemory*)> const&): error: undefined reference to 'local_ntp::SendLocalFileResource(std::string const&, base::Callback<void (base::RefCountedMemory*)> const&)'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
at the final [1/1] LINK ./chrome step. And the following is the gn args I'm using right now:
is_debug = false
symbol_level = 0
enable_nacl = false
remove_webcore_debug_symbols = true
is_component_build = false
is_official_build = true
is_debug = false
target_cpu = "x64"
enable_remoting = false
I'm now actually on the commit fe308b3359314164d5a74633dfbcf52c6367630b becasue there's some legacy code in my project. According to the description on Chromium's own website this is_official_build = true parameter is only available to its internal branch, but it seems to me the errors I got have nothing to do with this restriction.
Any help will be appreciated! Apologies in advance if this documented somewhere else...