diff options
Diffstat (limited to 'libnativeloader/library_namespaces.cpp')
-rw-r--r-- | libnativeloader/library_namespaces.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libnativeloader/library_namespaces.cpp b/libnativeloader/library_namespaces.cpp index 6092c004ef..d42a4b55ed 100644 --- a/libnativeloader/library_namespaces.cpp +++ b/libnativeloader/library_namespaces.cpp @@ -13,6 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +#if defined(ART_TARGET_ANDROID) + #include "library_namespaces.h" #include <dirent.h> @@ -392,3 +395,5 @@ base::Result<std::string> FindApexNamespaceName(const std::string& location) { } } // namespace android::nativeloader + +#endif // defined(ART_TARGET_ANDROID) |