aboutsummaryrefslogtreecommitdiff
path: root/tools/make_jar.sh
blob: bcba2fb4950c8cb0bfd9702d6033f40b05fcd908 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
# Copyright (c) 2013 The Chromium Embedded Framework Authors. All rights
# reserved. Use of this source code is governed by a BSD-style license
# that can be found in the LICENSE file.

if [ -z "$1" ]; then
  echo "ERROR: Please specify a build target: linux32 or linux64"
else
  cd ../out/$1
  jar -cf jcef.jar org/cef/*.class org/cef/browser/*.class org/cef/callback/*.class org/cef/handler/*.class org/cef/misc/*.class org/cef/network/*.class
  jar -cf jcef-tests.jar tests/detailed/*.class tests/detailed/dialog/*.class tests/detailed/handler/* tests/detailed/ui/*.class
  cd ../../tools
fi