Commit c2326cc
build: Fix Chromium-specific configs in BUILD.gn
`chromium_code` and `no_chromium_code` are GN config targets defined
in the chromium repository. Non-Chromium GN builds don't have these
targets and GN will fail parsing them.
This change modifies Chromium-specific configs so that they are
only applied on Chromium builds.
Test: Vulkan-Loader builds on Fuchsia (also with other changes)
Bug: https://fxbug.dev/378964821
Change-Id: I326527a33db685a404705568426d1a64cc1eac041 parent 59e156b commit c2326cc
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
264 | | - | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
265 | 267 | | |
266 | 268 | | |
267 | 269 | | |
| |||
0 commit comments