blob: e0ed1f711f1f9bbc5c3454d7374d4116f1e9b219 [file] [log] [blame]
Ivan Lozanod7586b62021-04-01 09:49:36 -04001// Copyright 2021 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package rust
16
17import (
18 "android/soong/android"
19)
20
21func (mod *Module) ExcludeFromVendorSnapshot() bool {
22 // TODO Rust does not yet support snapshotting
23 return true
24}
25
26func (mod *Module) ExcludeFromRecoverySnapshot() bool {
27 // TODO Rust does not yet support snapshotting
28 return true
29}
30
31func (mod *Module) IsSnapshotLibrary() bool {
32 // TODO Rust does not yet support snapshotting
33 return false
34}
35
36func (mod *Module) SnapshotRuntimeLibs() []string {
37 // TODO Rust does not yet support a runtime libs notion similar to CC
38 return []string{}
39}
40
41func (mod *Module) SnapshotSharedLibs() []string {
42 // TODO Rust does not yet support snapshotting
43 return []string{}
44}
45
46func (mod *Module) Symlinks() []string {
47 // TODO update this to return the list of symlinks when Rust supports defining symlinks
48 return nil
49}
50
51func (m *Module) SnapshotHeaders() android.Paths {
52 // TODO Rust does not yet support snapshotting
53 return android.Paths{}
54}