[gold] Remove Make targets for Webpack.

Bug: skia:12109
Change-Id: Ic1fb7c1eed764f86a1c7cc4a6938e2c1ce7e76fb
Reviewed-on: https://skia-review.googlesource.com/c/buildbot/+/430621
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Leandro Lovisolo <lovisolo@google.com>
diff --git a/Makefile b/Makefile
index 94eba61..d17ca8d 100644
--- a/Makefile
+++ b/Makefile
@@ -101,7 +101,6 @@
 	cd debugger-app && $(MAKE) build-frontend-ci
 	cd demos && $(MAKE) build-frontend-ci
 	cd fiddlek && $(MAKE) build-frontend-ci
-	cd golden && $(MAKE) build-frontend-ci
 	cd hashtag && $(MAKE) build-frontend-ci
 	cd infra-sk && $(MAKE) build-frontend-ci
 	cd jsfiddle && $(MAKE) build-frontend-ci
@@ -130,7 +129,6 @@
 	cd debugger-app && $(MAKE) test-frontend-ci
 	cd demos && $(MAKE) test-frontend-ci
 	cd fiddlek && $(MAKE) test-frontend-ci
-	cd golden && $(MAKE) test-frontend-ci
 	cd infra-sk && $(MAKE) test-frontend-ci
 	cd machine && $(MAKE) test-frontend-ci
 	cd new_element && $(MAKE) test-frontend-ci
diff --git a/golden/Makefile b/golden/Makefile
index 6340cf0..7a0d76e 100644
--- a/golden/Makefile
+++ b/golden/Makefile
@@ -1,7 +1,7 @@
 KGO := CGO_ENABLED=0 GOOS=linux go build
 
 .PHONY: default
-default: frontend allgo
+default: allgo
 
 .PHONY: packages
 packages:
@@ -17,54 +17,17 @@
 	go test ./go/... -bench=. -run=NONE
 
 .PHONY: test
-test: go-test js-test puppeteer-test
+test: go-test
 	true
 
 .PHONY: go-test
 go-test:
 	go test ./go/...
 
-.PHONY: js-test
-js-test: npm-ci
-	xvfb-run --auto-servernum --server-args "-screen 0 1280x1024x24" npx karma start --single-run
-
-.PHONY: js-test-debug
-js-test-debug: npm-ci
-	npx karma start --no-single-run
-
-# Increase Node's heap size to accommodate for ts-node's higher memory usage.
-NODE_MEMORY_LIMIT=4096
-
-.PHONY: puppeteer-test
-puppeteer-test: npm-ci
-	NODE_OPTIONS="--max-old-space-size=$(NODE_MEMORY_LIMIT)" npx mocha -r ts-node/register ./**/*_puppeteer_test.ts
-	echo "results are found in ../puppeteer-tests/output"
-
-.PHONY: puppeteer-test-debug
-puppeteer-test-debug: npm-ci
-	NODE_OPTIONS="--max-old-space-size=$(NODE_MEMORY_LIMIT)" npx mocha -r ts-node/register ./**/*_puppeteer_test.ts --inspect-brk
-	echo "results are found in ../puppeteer-tests/output"
-
-.PHONY: frontend
-frontend: npm-ci
-	npx webpack-cli --mode=production
-
-.PHONY: frontend-debug
-frontend-debug: npm-ci
-	npx webpack-cli --mode=development
-
-.PHONY: serve
-serve: npm-ci
-	npx webpack-dev-server --watch-poll --mode=development
-
 .PHONY: allgo
 allgo:
 	go install -v ./cmd/...
 
-.PHONY: k8s-release-frontend
-k8s-release-frontend: build-static-frontend frontend
-	./k8s_release_frontend
-
 .PHONY: k8s-release-baseline-server
 k8s-release-baseline-server: build-static-baseline-server
 	./k8s_release_baseline_server
@@ -177,13 +140,3 @@
 	echo "https://github.com/vektra/mockery/releases"
 	echo "and put it on your PATH"
 	go generate ./...
-
-.PHONY: build-frontend-ci
-build-frontend-ci: npm-ci
-	npx webpack --mode=production
-
-.PHONY: test-frontend-ci
-test-frontend-ci: npm-ci
-	xvfb-run --auto-servernum --server-args "-screen 0 1280x1024x24" npx karma start --single-run
-
-include ../make/npm.mk
diff --git a/golden/k8s_release_frontend b/golden/k8s_release_frontend
deleted file mode 100755
index d862f32..0000000
--- a/golden/k8s_release_frontend
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/bash
-
-set -x -e
-
-# Create and upload a container image the Gold frontend.
-APPNAME=gold-frontend
-
-# Copy files into the right locations in ${ROOT}.
-copy_release_files()
-{
-INSTALL="install -D --verbose --backup=none"
-INSTALL_DIR="install -d --verbose --backup=none"
-
-# Add the dockerfile and binary.
-${INSTALL} --mode=644 -T ./dockerfiles/Dockerfile_frontend  ${ROOT}/Dockerfile
-${INSTALL} --mode=755 -T ./build/frontend_k8s               ${ROOT}/usr/local/bin/${APPNAME}
-
-# Add the frontend assets.
-${INSTALL_DIR} --mode=755                                   ${ROOT}/usr/local/share/frontend/dist
-${INSTALL} --mode=644 ./dist/*                              ${ROOT}/usr/local/share/frontend/dist
-}
-
-source ../bash/docker_build.sh