Browse Source

Convert Android.mk file to Android.bp

See build/soong/README.md for more information.

Bug: 122332340
Test: treehugger
Change-Id: I07364347c6bf178f2ff84ed64e1c39c97559b99d
ten
Sasha Smundak 2 years ago
parent
commit
3b988d1782
2 changed files with 11 additions and 16 deletions
  1. 11
    0
      sax/tests/saxtests/Android.bp
  2. 0
    16
      sax/tests/saxtests/Android.mk

+ 11
- 0
sax/tests/saxtests/Android.bp View File

@@ -0,0 +1,11 @@
android_test {
name: "FrameworksSaxTests",
// Include all test java files.
srcs: ["src/**/*.java"],
libs: [
"android.test.runner",
"android.test.base",
],
static_libs: ["junit"],
platform_apis: true,
}

+ 0
- 16
sax/tests/saxtests/Android.mk View File

@@ -1,16 +0,0 @@
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

# We only want this apk build for tests.
LOCAL_MODULE_TAGS := tests

# Include all test java files.
LOCAL_SRC_FILES := $(call all-java-files-under, src)

LOCAL_JAVA_LIBRARIES := android.test.runner android.test.base
LOCAL_STATIC_JAVA_LIBRARIES := junit
LOCAL_PACKAGE_NAME := FrameworksSaxTests
LOCAL_PRIVATE_PLATFORM_APIS := true

include $(BUILD_PACKAGE)


Loading…
Cancel
Save