1. Converted the SimpleCamera/Android.mk to Android.bp; 2. Converted the tests/Android.mk as well; 3. No renderscript files are found in the srcs. Bug: 124261647 Test: compared the two apk files built by Make and Soong Test: m SmartCamera Test: m SmartCamera-tests Test: TreeHugger Change-Id: I324c1c744b5a7f836a32fe8409ab8abf19eeeae9
35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
Plaintext
// Copyright (C) 2013 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 {
|
|
// See: http://go/android-license-faq
|
|
default_applicable_licenses: [
|
|
"frameworks_base_license",
|
|
],
|
|
}
|
|
|
|
android_test {
|
|
name: "SmartCamera",
|
|
optimize: {
|
|
enabled: false,
|
|
},
|
|
// comment it out for now since we need use some hidden APIs
|
|
sdk_version: "current",
|
|
static_libs: ["android-ex-camera2"],
|
|
srcs: [
|
|
"src/**/*.java",
|
|
],
|
|
jni_libs: ["libsmartcamera_jni"],
|
|
}
|