diff --git a/sky/build/symlink.py b/sky/build/symlink.py deleted file mode 100644 index c2cfc108b369064252e005417605aef1fa45a92c..0000000000000000000000000000000000000000 --- a/sky/build/symlink.py +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env python -# Copyright (c) 2013 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. - -import errno -import optparse -import os.path -import shutil -import sys - - -def main(argv): - parser = optparse.OptionParser() - parser.add_option('--touch') - - options, args = parser.parse_args(argv[1:]) - if len(args) != 2: - parser.error('Two arguments required.') - - source = os.path.abspath(args[0]) - target = os.path.abspath(args[1]) - try: - os.symlink(source, target) - except OSError, e: - if e.errno == errno.EEXIST: - os.remove(target) - os.symlink(source, target) - - if options.touch: - with open(os.path.abspath(options.touch), 'w') as f: - pass - - -if __name__ == '__main__': - sys.exit(main(sys.argv)) diff --git a/sky/packages/BUILD.gn b/sky/packages/BUILD.gn index d404d91d31cbe80622d41d8886de4480102f583c..0014e9d2d81844773cc8017703ba525d3e069e3d 100644 --- a/sky/packages/BUILD.gn +++ b/sky/packages/BUILD.gn @@ -8,6 +8,5 @@ group("packages") { deps = [ "//sky/packages/sky_engine", "//sky/packages/sky_services", - "//sky/packages/material_design_icons", ] } diff --git a/sky/packages/material_design_icons/BUILD.gn b/sky/packages/material_design_icons/BUILD.gn deleted file mode 100644 index b71690a07bc864d19ad6c9ee6d3867a6fa453b68..0000000000000000000000000000000000000000 --- a/sky/packages/material_design_icons/BUILD.gn +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 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. - -action("material_design_icons") { - script = "//sky/build/symlink.py" - - stamp_file = "$target_gen_dir/symlink.stamp" - - sources = [ "lib/.version.sha1" ] - outputs = [ stamp_file ] - - args = [ - rebase_path("lib", root_build_dir), - rebase_path("$root_gen_dir/dart-pkg/packages/material_design_icons", root_build_dir), - "--touch", - rebase_path(stamp_file, root_build_dir) - ] -}