we’re trying to add a component to the Brave build, in the same manner as say ad-block and tracking-protection components, in other words something mounted in /src/brave/vendor.
Now we’ve added the required entry in the DEPS file as well as .gclient_entries, and the sync -- init commmand pulls the component to the expected place. However we can’t seem to get gn to pickup the component even tough a BUILD.gn files exists.
Wondering if there is something obvious we’re missing or if there is another place we need to add the component to in order for it to be picked up at build time.
We’re still in very early stages of getting this in, so the BUILD.gn does not really do much, and the interfaces that should be exposed are not yet defined.
You just need to add to deps on one of the other build files to your group in your BUILD.gn. Where? It depending on which process and what you want it to be a part of.