Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] headless_shell_switches.cc missing when build nw in branch nw83 #162

Open
dyk98 opened this issue Dec 27, 2023 · 1 comment
Open

Comments

@dyk98
Copy link

dyk98 commented Dec 27, 2023

when I run ninja -C out/nw nwjs in branch nw83, it throw error like
ninja: error: '../../headless/app/headless_shell_switches.cc', needed by 'obj/headless/headless_shell_lib/headless_shell_switches.o', missing and no known rule to make it
I found the headless_shell_switches.cc was deleted in branch nw73

@dyk98
Copy link
Author

dyk98 commented Dec 27, 2023

I fix this issue by delete

if ((is_linux || is_mac) && is_component_build) {
    sources += [
      "app/headless_shell_switches.cc",
      "app/headless_shell_switches.h",
    ]
  }

in src/headless/BUILD.gn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant