diff --git a/scripts/dawn_component.gni b/scripts/dawn_component.gni index 00fad8bb2a..71ba71ef48 100644 --- a/scripts/dawn_component.gni +++ b/scripts/dawn_component.gni @@ -63,7 +63,7 @@ template("dawn_component") { "@executable_path/", ] } - if (is_linux) { + if (is_linux && dawn_has_build) { configs = [ "//build/config/gcc:rpath_for_built_shared_libraries" ] } } @@ -121,13 +121,9 @@ template("dawn_component") { group(name) { if (is_component_build) { - public_deps = [ - ":${name}_shared", - ] + public_deps = [ ":${name}_shared" ] } else { - public_deps = [ - ":${name}_static", - ] + public_deps = [ ":${name}_static" ] } } }