pw_build: Switch to pw_* target types
This change replaces the implicit overrides of the default GN target
types in BUILDCONFIG.gn with explicit pw_* versions. This is done to
allow Pigweed to build within larger GN projects without modifying their
BUILDCONFIG files.
Change-Id: I1d1e41d5e9bde8fe076f7031f3c2b98b9630ff70
diff --git a/pw_fuzzer/BUILD.gn b/pw_fuzzer/BUILD.gn
index 9f9785a..4db5247 100644
--- a/pw_fuzzer/BUILD.gn
+++ b/pw_fuzzer/BUILD.gn
@@ -12,6 +12,7 @@
# License for the specific language governing permissions and limitations under
# the License.
+import("$dir_pw_build/target_types.gni")
import("$dir_pw_docgen/docs.gni")
import("$dir_pw_fuzzer/fuzzer.gni")
import("$dir_pw_fuzzer/oss_fuzz.gni")
@@ -64,7 +65,7 @@
ldflags = oss_fuzz_extra_ldflags
}
-source_set("pw_fuzzer") {
+pw_source_set("pw_fuzzer") {
public_configs = [ ":default_config" ]
public = [
"public/pw_fuzzer/asan_interface.h",