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 | |
Bob Badour | 02040de | 2021-02-03 18:08:28 -0800 | [diff] [blame] | 19 | package { |
| 20 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 21 | } |
| 22 | |
Jeff Gaston | aff66e5 | 2017-06-19 15:39:54 -0700 | [diff] [blame] | 23 | blueprint_go_binary { |
| 24 | name: "bpfix", |
| 25 | srcs: [ |
Justin DeMartino | ac38d7e | 2019-10-15 17:45:05 -0700 | [diff] [blame] | 26 | "cmd/main.go", |
| 27 | ], |
| 28 | deps: [ |
| 29 | "bpfix-cmd", |
| 30 | ], |
| 31 | } |
| 32 | |
| 33 | bootstrap_go_package { |
| 34 | name: "bpfix-cmd", |
Colin Cross | ce23942 | 2019-11-08 14:17:49 -0800 | [diff] [blame] | 35 | pkgPath: "android/soong/bpfix/cmd_lib", |
Justin DeMartino | ac38d7e | 2019-10-15 17:45:05 -0700 | [diff] [blame] | 36 | srcs: [ |
Colin Cross | ce23942 | 2019-11-08 14:17:49 -0800 | [diff] [blame] | 37 | "cmd_lib/bpfix.go", |
Jeff Gaston | aff66e5 | 2017-06-19 15:39:54 -0700 | [diff] [blame] | 38 | ], |
| 39 | deps: [ |
| 40 | "bpfix-lib", |
| 41 | ], |
| 42 | } |
| 43 | |
| 44 | bootstrap_go_package { |
| 45 | name: "bpfix-lib", |
| 46 | pkgPath: "android/soong/bpfix/bpfix", |
| 47 | srcs: [ |
| 48 | "bpfix/bpfix.go", |
| 49 | ], |
| 50 | testSrcs: [ |
ThiƩbaud Weksteen | 5e291c2 | 2020-06-26 14:04:00 +0200 | [diff] [blame] | 51 | "bpfix/bpfix_test.go", |
Jeff Gaston | aff66e5 | 2017-06-19 15:39:54 -0700 | [diff] [blame] | 52 | ], |
| 53 | deps: [ |
| 54 | "blueprint-parser", |
Yuntao Xu | 21be0e2 | 2021-11-22 09:30:08 -0800 | [diff] [blame] | 55 | "blueprint-pathtools", |
Jeff Gaston | aff66e5 | 2017-06-19 15:39:54 -0700 | [diff] [blame] | 56 | ], |
| 57 | } |