Dan Willemsen | 3debcec | 2021-05-24 12:24:00 -0700 | [diff] [blame] | 1 | // Automatically generated with: |
| 2 | // go2bp -rewrite github.com/google/go-cmp/cmp=go-cmp -exclude-src cmp/cmpopts/util_test.go -exclude-dep golang.org/x/xerrors |
| 3 | |
| 4 | bootstrap_go_package { |
| 5 | name: "go-cmp", |
| 6 | pkgPath: "github.com/google/go-cmp/cmp", |
| 7 | deps: [ |
| 8 | "go-cmp-internal-diff", |
| 9 | "go-cmp-internal-flags", |
| 10 | "go-cmp-internal-function", |
| 11 | "go-cmp-internal-teststructs", |
| 12 | "go-cmp-internal-value", |
| 13 | ], |
| 14 | srcs: [ |
| 15 | "cmp/compare.go", |
| 16 | "cmp/export_unsafe.go", |
| 17 | "cmp/options.go", |
| 18 | "cmp/path.go", |
| 19 | "cmp/report.go", |
| 20 | "cmp/report_compare.go", |
| 21 | "cmp/report_references.go", |
| 22 | "cmp/report_reflect.go", |
| 23 | "cmp/report_slices.go", |
| 24 | "cmp/report_text.go", |
| 25 | "cmp/report_value.go", |
| 26 | ], |
| 27 | testSrcs: [ |
| 28 | "cmp/options_test.go", |
| 29 | ], |
| 30 | } |
| 31 | |
| 32 | bootstrap_go_package { |
| 33 | name: "go-cmp-cmpopts", |
| 34 | pkgPath: "github.com/google/go-cmp/cmp/cmpopts", |
| 35 | deps: [ |
| 36 | "go-cmp", |
| 37 | "go-cmp-internal-function", |
| 38 | ], |
| 39 | srcs: [ |
| 40 | "cmp/cmpopts/equate.go", |
| 41 | "cmp/cmpopts/errors_go113.go", |
| 42 | "cmp/cmpopts/ignore.go", |
| 43 | "cmp/cmpopts/sort.go", |
| 44 | "cmp/cmpopts/struct_filter.go", |
| 45 | "cmp/cmpopts/xform.go", |
| 46 | ], |
| 47 | } |
| 48 | |
| 49 | bootstrap_go_package { |
| 50 | name: "go-cmp-internal-diff", |
| 51 | pkgPath: "github.com/google/go-cmp/cmp/internal/diff", |
| 52 | deps: [ |
| 53 | "go-cmp-internal-flags", |
| 54 | ], |
| 55 | srcs: [ |
| 56 | "cmp/internal/diff/debug_disable.go", |
| 57 | "cmp/internal/diff/diff.go", |
| 58 | ], |
| 59 | testSrcs: [ |
| 60 | "cmp/internal/diff/diff_test.go", |
| 61 | ], |
| 62 | } |
| 63 | |
| 64 | bootstrap_go_package { |
| 65 | name: "go-cmp-internal-flags", |
| 66 | pkgPath: "github.com/google/go-cmp/cmp/internal/flags", |
| 67 | srcs: [ |
| 68 | "cmp/internal/flags/flags.go", |
Dan Willemsen | 3debcec | 2021-05-24 12:24:00 -0700 | [diff] [blame] | 69 | ], |
| 70 | } |
| 71 | |
| 72 | bootstrap_go_package { |
| 73 | name: "go-cmp-internal-function", |
| 74 | pkgPath: "github.com/google/go-cmp/cmp/internal/function", |
| 75 | srcs: [ |
| 76 | "cmp/internal/function/func.go", |
| 77 | ], |
| 78 | testSrcs: [ |
| 79 | "cmp/internal/function/func_test.go", |
| 80 | ], |
| 81 | } |
| 82 | |
| 83 | bootstrap_go_package { |
| 84 | name: "go-cmp-internal-testprotos", |
| 85 | pkgPath: "github.com/google/go-cmp/cmp/internal/testprotos", |
| 86 | srcs: [ |
| 87 | "cmp/internal/testprotos/protos.go", |
| 88 | ], |
| 89 | } |
| 90 | |
| 91 | bootstrap_go_package { |
| 92 | name: "go-cmp-internal-teststructs", |
| 93 | pkgPath: "github.com/google/go-cmp/cmp/internal/teststructs", |
| 94 | deps: [ |
| 95 | "go-cmp-internal-testprotos", |
| 96 | ], |
| 97 | srcs: [ |
| 98 | "cmp/internal/teststructs/project1.go", |
| 99 | "cmp/internal/teststructs/project2.go", |
| 100 | "cmp/internal/teststructs/project3.go", |
| 101 | "cmp/internal/teststructs/project4.go", |
| 102 | "cmp/internal/teststructs/structs.go", |
| 103 | ], |
| 104 | } |
| 105 | |
| 106 | bootstrap_go_package { |
| 107 | name: "go-cmp-internal-teststructs-foo1", |
| 108 | pkgPath: "github.com/google/go-cmp/cmp/internal/teststructs/foo1", |
| 109 | srcs: [ |
| 110 | "cmp/internal/teststructs/foo1/foo.go", |
| 111 | ], |
| 112 | } |
| 113 | |
| 114 | bootstrap_go_package { |
| 115 | name: "go-cmp-internal-teststructs-foo2", |
| 116 | pkgPath: "github.com/google/go-cmp/cmp/internal/teststructs/foo2", |
| 117 | srcs: [ |
| 118 | "cmp/internal/teststructs/foo2/foo.go", |
| 119 | ], |
| 120 | } |
| 121 | |
| 122 | bootstrap_go_package { |
| 123 | name: "go-cmp-internal-value", |
| 124 | pkgPath: "github.com/google/go-cmp/cmp/internal/value", |
| 125 | srcs: [ |
| 126 | "cmp/internal/value/name.go", |
| 127 | "cmp/internal/value/pointer_unsafe.go", |
| 128 | "cmp/internal/value/sort.go", |
| 129 | "cmp/internal/value/zero.go", |
| 130 | ], |
| 131 | testSrcs: [ |
| 132 | "cmp/internal/value/name_test.go", |
| 133 | "cmp/internal/value/zero_test.go", |
| 134 | ], |
| 135 | } |