Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Chromium 130 build issue

111 views
Skip to first unread message

Gokul V G

unread,
Nov 18, 2024, 10:52:56 AM11/18/24
to Chromium-dev

Hi Team,

I'm currently working on Chromium 130 for a project and I've encountered an issue with importing certain files. I've attached screenshots to this issue for your reference.

While it seems like a minor problem, adding dependencies to the build files hasn't resolved the issue. Any insights or solutions would be greatly appreciated.

Thank you in advance for your help.

filenotfound1.PNGfilenotfound2.PNGfilenotfound3.PNG

Greg Thompson

unread,
Nov 19, 2024, 10:01:23 AM11/19/24
to goku...@aot-technologies.com, Chromium-dev
chrome_version.h is a generated file. you're likely missing a dependency on //chrome/common:version_header in your build target. the same is true for the push_messaging file, though for that you need a dependency on //content/public/common.

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/598a17b5-96f7-4509-8c87-69d38ecb459en%40chromium.org.

Greg Thompson

unread,
Nov 19, 2024, 2:07:04 PM11/19/24
to Gokul V G, Chromium-dev
Hi. Find the BUILD.gn files where you added your sources to some target's "sources" list, and add the required dependencies to that same target's "deps" list.

On Tue, Nov 19, 2024 at 5:27 PM Gokul V G <goku...@aot-technologies.com> wrote:

Hi Greg,

Thank you so much for your timely response. I really appreciate your help.

I found the missing dependency //chrome/common:version_header from the here

As I'm new to this, I'm a bit unsure about where to add this dependency in both cases. Any specific guidance on the relevant files would be incredibly helpful.


my error logs 
1  \chrome/common/webui_url_constants.h(22,10): fatal error: 'components/lens/buildflags.h' file not found

   22 | #include "components/lens/buildflags.h"

2.components\web_bar\web_bar_analytics.cc: fatal error: chrome/common/chrome_version.h' file not found
   22 | #include "chrome/common/chrome_version.h"

3.components\mybrowser\dock_communication.cc: fatal error: chrome/common/chrome_version.h' file not found

   22 | #include "chrome/common/chrome_version.h"

Thank you again for your assistance.

Gokul V G

unread,
Nov 21, 2024, 7:03:45 PM11/21/24
to Chromium-dev, Greg Thompson, Chromium-dev, goku...@aot-technologies.com

Hi Greg,

Thank you so much for your timely response. I really appreciate your help.

I found the missing dependency //chrome/common:version_header from the here

As I'm new to this, I'm a bit unsure about where to add this dependency in both cases. Any specific guidance on the relevant files would be incredibly helpful.


my error logs 
1  \chrome/common/webui_url_constants.h(22,10): fatal error: 'components/lens/buildflags.h' file not found

   22 | #include "components/lens/buildflags.h"

2.components\web_bar\web_bar_analytics.cc: fatal error: chrome/common/chrome_version.h' file not found
   22 | #include "chrome/common/chrome_version.h"

3.components\mybrowser\dock_communication.cc: fatal error: chrome/common/chrome_version.h' file not found

   22 | #include "chrome/common/chrome_version.h"

Thank you again for your assistance.

On Tuesday, November 19, 2024 at 8:31:23 PM UTC+5:30 Greg Thompson wrote:
Reply all
Reply to author
Forward
0 new messages