diff --git a/cc/bp2build.go b/cc/bp2build.go
index 598e350..3cd0b1a 100644
--- a/cc/bp2build.go
+++ b/cc/bp2build.go
@@ -811,21 +811,25 @@
 	m *Module,
 ) *bazel.Label {
 	for _, project := range globalAfdoProfileProjects {
-		// We handcraft a BUILD file with fdo_profile targets that use the existing profiles in the project
-		// This implementation is assuming that every afdo profile in globalAfdoProfileProjects already has
-		// an associated fdo_profile target declared in the same package.
-		// TODO(b/260714900): Handle arch-specific afdo profiles (e.g. `<module-name>-arm<64>.afdo`)
-		path := android.ExistentPathForSource(ctx, project, m.Name()+".afdo")
-		if path.Valid() {
-			// FIXME: Some profiles only exist internally and are not released to AOSP.
-			// When generated BUILD files are checked in, we'll run into merge conflict.
-			// The cc_library_shared target in AOSP won't have reference to an fdo_profile target because
-			// the profile doesn't exist. Internally, the same cc_library_shared target will
-			// have reference to the fdo_profile.
-			// For more context, see b/258682955#comment2
-			fdoProfileLabel := "//" + strings.TrimSuffix(project, "/") + ":" + m.Name()
-			return &bazel.Label{
-				Label: fdoProfileLabel,
+		// Ensure handcrafted BUILD file exists in the project
+		BUILDPath := android.ExistentPathForSource(ctx, project, "BUILD")
+		if BUILDPath.Valid() {
+			// We handcraft a BUILD file with fdo_profile targets that use the existing profiles in the project
+			// This implementation is assuming that every afdo profile in globalAfdoProfileProjects already has
+			// an associated fdo_profile target declared in the same package.
+			// TODO(b/260714900): Handle arch-specific afdo profiles (e.g. `<module-name>-arm<64>.afdo`)
+			path := android.ExistentPathForSource(ctx, project, m.Name()+".afdo")
+			if path.Valid() {
+				// FIXME: Some profiles only exist internally and are not released to AOSP.
+				// When generated BUILD files are checked in, we'll run into merge conflict.
+				// The cc_library_shared target in AOSP won't have reference to an fdo_profile target because
+				// the profile doesn't exist. Internally, the same cc_library_shared target will
+				// have reference to the fdo_profile.
+				// For more context, see b/258682955#comment2
+				fdoProfileLabel := "//" + strings.TrimSuffix(project, "/") + ":" + m.Name()
+				return &bazel.Label{
+					Label: fdoProfileLabel,
+				}
 			}
 		}
 	}
