<commit_before>"""Image object contains details about a particular set of image files."""
load('//tools/android/emulated_devices:macro/props.bzl', 'new_props')


# Whitelist of packages which can use compressed images. Compressed images slow
# down builds, and we plan to get rid of entirely in the near future, so this
# list should be kept minimal.
_COMPRESSED_IMAGE_WHITELIST = [
    '//java/com/google/android/apps/auth/test/support:__subpackages__',
    '//java/com/google/android/apps/dynamite:__subpackages__',
    '//java/com/google/android/apps/internal/admobsdk/mediumtest:__subpackages__',
    '//java/com/google/android/apps/play/store:__subpackages__',
    '//java/com/google/android/libraries/internal/growth:__subpackages__',
    '//javatests/com/google/android/apps/dynamite:__subpackages__',
    '//javatests/com/google/android/apps/internal/admobsdk/mediumtest:__subpackages__',
    '//javatests/com/google/android/apps/play/store:__subpackages__',
    '//javatests/com/google/android/libraries/internal/growth:__subpackages__',
    '//tools/android/tab/worker:__subpackages__',
]


# TODO: Get rid of compressed images once the whitelist is empty.
def new_image(api_level,
              flavor,
              files,
              arch,
              device_visibility=None,
              version_string=None,
              props=None,
              supports_gms_channels=False,
              compressed=False):
  """Creates an image object."""
  return {
      'api_level': api_level,
      'files': files,
      'arch': arch,<commit_msg>Internal change<commit_after>"""Image object contains details about a particular set of image files."""
load('//tools/android/emulated_devices:macro/props.bzl', 'new_props')


# Whitelist of packages which can use compressed images. Compressed images slow
# down builds, and we plan to get rid of entirely in the near future, so this
# list should be kept minimal.
_COMPRESSED_IMAGE_WHITELIST = [
    '//java/com/google/android/apps/auth/test/support:__subpackages__',
    '//java/com/google/android/apps/dynamite:__subpackages__',
    '//java/com/google/android/apps/internal/admobsdk/mediumtest:__subpackages__',
    '//java/com/google/android/apps/play/store:__subpackages__',
    '//java/com/google/android/libraries/internal/growth:__subpackages__',
    '//javatests/com/google/android/apps/dynamite:__subpackages__',
    '//javatests/com/google/android/apps/internal/admobsdk/mediumtest:__subpackages__',
    '//javatests/com/google/android/apps/play/store:__subpackages__',
    '//javatests/com/google/android/libraries/internal/growth:__subpackages__',
    '//testing/web/browsers:__subpackages__',
    '//tools/android/tab/worker:__subpackages__',
]


# TODO: Get rid of compressed images once the whitelist is empty.
def new_image(api_level,
              flavor,
              files,
              arch,
              device_visibility=None,
              version_string=None,
              props=None,
              supports_gms_channels=False,
              compressed=False):
  """Creates an image object."""
  return {
      'api_level': api_level,
      'files': files,
      'arch': arch,
{'fraction_non_alphanumeric': 0.12333965844402277, 'fraction_numerical': 0.0, 'mean_word_length': 3.3034013605442176, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '667132', 'n_tokens_mistral': 981, 'n_tokens_neox': 962, 'n_words': 177}