Home | History | Annotate | Download | only in annotations
      1 // Copyright 2015 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 package org.chromium.base.annotations;
      6 
      7 import java.lang.annotation.ElementType;
      8 import java.lang.annotation.Retention;
      9 import java.lang.annotation.RetentionPolicy;
     10 import java.lang.annotation.Target;
     11 
     12 /**
     13  * An annotation that signals that a class should be kept in the main dex file.
     14  *
     15  * This generally means it's used by renderer processes, which can't load secondary dexes
     16  * on K and below.
     17  */
     18 @Target(ElementType.TYPE)
     19 @Retention(RetentionPolicy.CLASS)
     20 public @interface MainDex {
     21 }
     22