summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/build/android/java/templates/ProductConfig.template
blob: 4bc0d5296bb136a5fedc5b5bb74e5043c00a8347 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Copyright 2019 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.

package PACKAGE;

#if defined(USE_FINAL)
#define MAYBE_FINAL final
#define MAYBE_USE_CHROMIUM_LINKER = USE_CHROMIUM_LINKER_VALUE
#define MAYBE_USE_MODERN_LINKER = USE_MODERN_LINKER_VALUE
#define MAYBE_IS_BUNDLE = IS_BUNDLE_VALUE
#else
#define MAYBE_FINAL
#define MAYBE_USE_CHROMIUM_LINKER
#define MAYBE_USE_MODERN_LINKER
#define MAYBE_IS_BUNDLE
#endif

/**
 *  Product configuration. Generated on a per-target basis.
 */
public class ProductConfig {
    // Sorted list of locales that have an uncompressed .pak within assets.
    // Stored as an array because AssetManager.list() is slow.
#if defined(LOCALE_LIST)
    public static final String[] LOCALES = LOCALE_LIST;
#else
    public static final String[] LOCALES = {};
#endif

   public static MAYBE_FINAL boolean USE_CHROMIUM_LINKER MAYBE_USE_CHROMIUM_LINKER;
   public static MAYBE_FINAL boolean USE_MODERN_LINKER MAYBE_USE_MODERN_LINKER;
   public static MAYBE_FINAL boolean IS_BUNDLE MAYBE_IS_BUNDLE;
}