summaryrefslogtreecommitdiffstats
path: root/third_party/sqlite/google_generate_amalgamation.sh
blob: fe7ee8aebf961625168c28b3421bd1d662872eec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
#
# Copyright (c) 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

cd src

mkdir bld
cd bld
../configure
FILES="sqlite3.h sqlite3.c"
# Add any options from sqlite.gyp referenced by parse.y or mkkeywordhash.c.
OPTS=""
make "OPTS=$OPTS" $FILES
cp -f $FILES ../../amalgamation

cd ..
rm -rf bld