Jeff Gaston | aff66e5 | 2017-06-19 15:39:54 -0700 | [diff] [blame] | 1 | // Copyright 2017 Google Inc. All rights reserved. |
| 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 | |
| 15 | // |
| 16 | // androidmk Android.mk to Blueprints translator |
| 17 | // |
| 18 | |
| 19 | blueprint_go_binary { |
| 20 | name: "bpfix", |
| 21 | srcs: [ |
Justin DeMartino | ac38d7e | 2019-10-15 17:45:05 -0700 | [diff] [blame] | 22 | "cmd/main.go", |
| 23 | ], |
| 24 | deps: [ |
| 25 | "bpfix-cmd", |
| 26 | ], |
| 27 | } |
| 28 | |
| 29 | bootstrap_go_package { |
| 30 | name: "bpfix-cmd", |
Colin Cross | ce23942 | 2019-11-08 14:17:49 -0800 | [diff] [blame] | 31 | pkgPath: "android/soong/bpfix/cmd_lib", |
Justin DeMartino | ac38d7e | 2019-10-15 17:45:05 -0700 | [diff] [blame] | 32 | srcs: [ |
Colin Cross | ce23942 | 2019-11-08 14:17:49 -0800 | [diff] [blame] | 33 | "cmd_lib/bpfix.go", |
Jeff Gaston | aff66e5 | 2017-06-19 15:39:54 -0700 | [diff] [blame] | 34 | ], |
| 35 | deps: [ |
| 36 | "bpfix-lib", |
| 37 | ], |
| 38 | } |
| 39 | |
| 40 | bootstrap_go_package { |
| 41 | name: "bpfix-lib", |
| 42 | pkgPath: "android/soong/bpfix/bpfix", |
| 43 | srcs: [ |
| 44 | "bpfix/bpfix.go", |
| 45 | ], |
| 46 | testSrcs: [ |
ThiƩbaud Weksteen | 5e291c2 | 2020-06-26 14:04:00 +0200 | [diff] [blame] | 47 | "bpfix/bpfix_test.go", |
Jeff Gaston | aff66e5 | 2017-06-19 15:39:54 -0700 | [diff] [blame] | 48 | ], |
| 49 | deps: [ |
| 50 | "blueprint-parser", |
| 51 | ], |
| 52 | } |