xref: /aosp_15_r20/external/angle/build/android/java/templates/ProductConfig.template (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1// Copyright 2019 The Chromium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5package PACKAGE;
6
7#if defined(USE_FINAL)
8#define MAYBE_FINAL final
9#define MAYBE_USE_CHROMIUM_LINKER = USE_CHROMIUM_LINKER_VALUE
10#else
11#define MAYBE_FINAL
12#define MAYBE_USE_CHROMIUM_LINKER
13#endif
14
15/**
16 *  Product configuration. Generated on a per-target basis.
17 */
18public class ProductConfig {
19    // Sorted list of locales that have an uncompressed .pak within assets.
20    // Stored as an array because AssetManager.list() is slow.
21#if defined(LOCALE_LIST)
22    public static final String[] LOCALES = LOCALE_LIST;
23#else
24    public static final String[] LOCALES = {};
25#endif
26
27   public static MAYBE_FINAL boolean USE_CHROMIUM_LINKER MAYBE_USE_CHROMIUM_LINKER;
28}
29