Prefixing names in the java package with "java" is redundant, inside the java package it is clear that they refer to something java related, and outside the package they will be referred to with a java. prefix. Test: java_test.go Change-Id: I9eb8eecb7ac5f6fbf8e87f5c219b3f50dbd18c87
36 lines
989 B
Go
36 lines
989 B
Go
// Copyright 2015 Google Inc. All rights reserved.
|
|
//
|
|
// 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 java
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"android/soong/android"
|
|
)
|
|
|
|
func (*Library) AndroidMk() (ret android.AndroidMkData, err error) {
|
|
ret.Class = "JAVA_LIBRARIES"
|
|
// TODO
|
|
err = fmt.Errorf("Not yet implemented")
|
|
return
|
|
}
|
|
|
|
func (*Prebuilt) AndroidMk() (ret android.AndroidMkData, err error) {
|
|
ret.Class = "JAVA_LIBRARIES"
|
|
// TODO
|
|
err = fmt.Errorf("Not yet implemented")
|
|
return
|
|
}
|