Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(930)

Unified Diff: third_party/libmicrohttpd/build.py

Issue 2367513002: GN: build skiaserve (Closed)
Patch Set: sys/socket Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/libmicrohttpd/BUILD.gn ('k') | tools/skiaserve/Request.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libmicrohttpd/build.py
diff --git a/third_party/libmicrohttpd/build.py b/third_party/libmicrohttpd/build.py
deleted file mode 100644
index f09a360204fffd17c0450f9a7b05454b3df096f6..0000000000000000000000000000000000000000
--- a/third_party/libmicrohttpd/build.py
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 2016 Google Inc.
-#
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-# this script will configure and build microhttpd in a temp directory and then
-# copy the static library generated to a destination folder
-import argparse
-import os
-from subprocess import call
-import shutil
-import tempfile
-
-parser = argparse.ArgumentParser()
-parser.add_argument("--src", help="microhttpd src directory")
-parser.add_argument("--out", help="build directory")
-parser.add_argument("--dst", help="output for final build products")
-args = parser.parse_args()
-
-out_dir = args.out
-cwd = os.getcwd()
-try:
- os.makedirs(out_dir)
-except OSError as e:
- pass
-
-os.chdir(out_dir)
-call([os.path.join(cwd, args.src, "configure"),
- "--disable-doc",
- "--disable-examples",
- "--enable-https=no",
- "--disable-curl",
- "--enable-spdy=no",
- "--enable-shared=no"])
-call(["make", "--silent"])
-call(["cp",
- "src/microhttpd/.libs/libmicrohttpd.a",
- os.path.join(cwd, args.dst)])
« no previous file with comments | « third_party/libmicrohttpd/BUILD.gn ('k') | tools/skiaserve/Request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698