blob: 22f27a85dd33c93fa8acabc00c905b4346844d36 [file] [log] [blame]
Hal Canaryb4d01a92018-01-29 13:10:08 -05001#! /usr/bin/env python
2
3# Copyright 2018 Google Inc.
4# Use of this source code is governed by a BSD-style license that can be
5# found in the LICENSE file.
6
7import os
8import shutil
9import sys
10
11if __name__ == '__main__':
Hal Canary537d9c02018-01-30 11:30:48 -050012 skia = os.path.join(os.path.dirname(__file__), os.path.pardir, os.path.pardir)
Hal Canaryb4d01a92018-01-29 13:10:08 -050013 dst = os.path.join(skia, 'platform_tools', 'android', 'apps', 'skqp',
14 'src', 'main', 'assets', 'resources')
15 if os.path.isdir(dst) and not os.path.islink(dst):
16 shutil.rmtree(dst)
17 elif os.path.exists(dst):
18 os.remove(dst)
19 shutil.copytree(os.path.join(skia, 'resources'), dst)
20