• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#! /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__':
12    skia = os.path.join(os.path.dirname(__file__), os.path.pardir, os.path.pardir)
13    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
21