• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/usr/bin/env python3
2# -*- coding: utf-8 -*-
3
4# Copyright (c) 2021-2024 Huawei Device Co., Ltd.
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16#
17
18from enum import Enum
19
20
21class ConfigurationKind(Enum):
22    INT = "INT"
23    OTHER_INT = "INT-OTHER"
24    AOT = "AOT"
25    AOT_FULL = "AOT-FULL"
26    JIT = "JIT"
27    QUICK = "QUICK"
28
29
30class ArchitectureKind(Enum):
31    ARM32 = "ARM32"
32    ARM64 = "ARM64"
33    AMD32 = "AMD32"
34    AMD64 = "AMD64"  # default value
35
36
37class SanitizerKind(Enum):
38    NONE = ""
39    ASAN = "ASAN"
40    TSAN = "TSAN"
41
42
43class OSKind(Enum):
44    LIN = "LIN"  # default value
45    WIN = "WIN"
46    MAC = "MAC"
47
48
49class BuildTypeKind(Enum):
50    FAST_VERIFY = "FAST-VERIFY"  # default value
51    DEBUG = "DEBUG"
52    RELEASE = "RELEASE"
53