1 /* 2 * Copyright (C) 2023 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 package com.android.adservices.cobalt; 18 19 /** 20 * A class whose presence indicates the Cobalt registry was validated at build time. 21 * 22 * <p>This source file isn't included in `service-core` unless the build rule that validates the 23 * Cobalt registry completes successfully. 24 */ 25 final class CobaltRegistryValidated { 26 /** 27 * Value indicating the Cobalt binary proto registry was confirmed the same as the text proto 28 * registry at build-time. 29 * 30 * <p>This value will be missing if the registry wasn't validated because the build will fail. 31 */ 32 public static final boolean IS_REGISTRY_VALIDATED = true; 33 CobaltRegistryValidated()34 private CobaltRegistryValidated() {} 35 } 36