Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c3d9efbe authored by Sasha Smundak's avatar Sasha Smundak
Browse files

Convert Android.mk file to Android.bp

See build/soong/README.md for more information.
NOTE: MediaFrameworkTest/, MtpTests/, NativeMidiDemo/ have to be fixed in
internal master first.

Bug: 122332340
Test: treehugger
Change-Id: I7451696b2fc3f1384e255e35280e66850f3f01a3
parent eb3e7b3f
Loading
Loading
Loading
Loading

media/mca/Android.mk

deleted100644 → 0
+0 −21
Original line number Diff line number Diff line
# Copyright (C) 2011 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.
#

#
# Build all native libraries
#
include $(call all-subdir-makefiles)

media/mca/samples/Android.mk

deleted100644 → 0
+0 −21
Original line number Diff line number Diff line
# Copyright (C) 2011 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.
#

#
# Build all native libraries
#
include $(call all-subdir-makefiles)

+26 −0
Original line number Diff line number Diff line
// Copyright (C) 2011 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.
//

// Build activity

android_test {
    name: "CameraEffectsRecordingSample",
    srcs: ["**/*.java"],
    platform_apis: true,
    optimize: {
        enabled: false,
    },
}
+0 −35
Original line number Diff line number Diff line
# Copyright (C) 2011 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.
#

# Build activity

LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

LOCAL_MODULE_TAGS := tests

LOCAL_SRC_FILES := $(call all-subdir-java-files)

LOCAL_PACKAGE_NAME := CameraEffectsRecordingSample
LOCAL_PRIVATE_PLATFORM_APIS := true

LOCAL_PROGUARD_ENABLED := disabled

include $(BUILD_PACKAGE)

# ============================================================

# Also build all of the sub-targets under this one: the shared library.
include $(call all-makefiles-under,$(LOCAL_PATH))
+12 −0
Original line number Diff line number Diff line
android_test {
    name: "CameraEffectsTests",
    libs: [
        "android.test.runner",
        "android.test.base",
    ],
    static_libs: ["junit"],
    // Include all test java files.
    srcs: ["src/**/*.java"],
    platform_apis: true,
    instrumentation_for: "CameraEffectsRecordingSample",
}
Loading