GN: Move dawn import into build_with_chromium cond
The import target does not exist in the tint repo. This import is only used inside the `build_with_chromium` condition, so move the import into the condition. Bug: crbug.com/1314527 Change-Id: I20051d63df9134e2dc5773f26cf2f8ee4df2354e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/87860 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Ben Clayton <bclayton@google.com>
This commit is contained in:
parent
368b3eaae4
commit
67af208758
|
@ -13,13 +13,13 @@
|
|||
# limitations under the License.
|
||||
|
||||
import("//build_overrides/build.gni")
|
||||
import("../../../scripts/dawn_overrides_with_defaults.gni")
|
||||
import("../../../tint_overrides_with_defaults.gni")
|
||||
|
||||
# Fuzzers - Libfuzzer based fuzzing targets for Chromium
|
||||
# To run the fuzzers outside of Chromium, use the CMake based builds.
|
||||
|
||||
if (build_with_chromium) {
|
||||
import("../../../scripts/dawn_overrides_with_defaults.gni")
|
||||
import("//testing/libfuzzer/fuzzer_test.gni")
|
||||
|
||||
fuzzer_corpus_wgsl_dir = "${target_gen_dir}/fuzzer_corpus_wgsl"
|
||||
|
|
Loading…
Reference in New Issue