#!/usr/bin/env python3 # Copyright 2020 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. """Writes a dummy R.java file from a list of R.txt files."""
import argparse import sys
from util import build_utils from util import resource_utils
def _ConcatRTxts(rtxt_in_paths, combined_out_path):
all_lines = set() for rtxt_in_path in rtxt_in_paths: with open(rtxt_in_path) as rtxt_in:
all_lines.update(rtxt_in.read().splitlines()) with open(combined_out_path, 'w') as combined_out:
combined_out.write('\n'.join(sorted(all_lines)))
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.