/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ apply plugin: 'com.android.library' android { compileSdkVersion rootProject.compileSdkVersion buildToolsVersion rootProject.buildToolsVersion ndkVersion rootProject.ndkVersion defaultConfig { minSdkVersion rootProject.minSdkVersion targetSdkVersion rootProject.targetSdkVersion externalNativeBuild { cmake { arguments '-DANDROID_TOOLCHAIN=clang', '-DANDROID_STL=c++_static' } } } externalNativeBuild { cmake { path './CMakeLists.txt' } } sourceSets { main { manifest.srcFile './AndroidManifest.xml' } } dependencies { implementation project(':third-party') implementation project(':rsocket') implementation project(':folly') } } preBuild.dependsOn(tasks.getByPath(':third-party:prepare'))