blob: ccec161622b70cd938c692b4f938e83aa6ee2f74 [file] [log] [blame]
/*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android.build.gradle.tasks
import com.android.builder.model.NativeAndroidProject.BUILD_SYSTEM_CMAKE
import com.android.builder.model.NativeAndroidProject.BUILD_SYSTEM_GRADLE
import com.android.builder.model.NativeAndroidProject.BUILD_SYSTEM_NDK_BUILD
import com.android.builder.model.NativeAndroidProject.BUILD_SYSTEM_UNKNOWN
/**
* Enumeration and descriptive metadata for the different external native build system types.
* The variable "name" is already taken in kotlin enums
*/
enum class NativeBuildSystem(val tag : String) {
UNKNOWN(BUILD_SYSTEM_UNKNOWN),
GRADLE(BUILD_SYSTEM_GRADLE),
CMAKE(BUILD_SYSTEM_CMAKE),
NDK_BUILD(BUILD_SYSTEM_NDK_BUILD);
}