diff options
author | Dan Willemsen <dwillemsen@google.com> | 2016-08-15 15:02:23 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2016-08-25 15:50:21 -0700 |
commit | 377737a01c0606eb23708b2bfb827dbaf3d4398e (patch) | |
tree | 92691365174d9a28ab1bab969f4b98749f5cd703 /cmd | |
parent | 0f4e0d6c5d3688766747f353e1799c259d6c0d99 (diff) | |
download | build_soong-377737a01c0606eb23708b2bfb827dbaf3d4398e.tar.gz build_soong-377737a01c0606eb23708b2bfb827dbaf3d4398e.tar.bz2 build_soong-377737a01c0606eb23708b2bfb827dbaf3d4398e.zip |
Move Android.bp definitions into subdirs
Test: m blueprint_tools still produces the same tools
Change-Id: Ia1e2e43c62cb6035616bef9fbef56417b46cf3a4
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/soong_build/Android.bp | 29 | ||||
-rw-r--r-- | cmd/soong_env/Android.bp | 24 | ||||
-rw-r--r-- | cmd/soong_glob/Android.bp | 23 | ||||
-rw-r--r-- | cmd/soong_zip/Android.bp | 22 | ||||
-rw-r--r-- | cmd/zip2zip/Android.bp | 22 |
5 files changed, 120 insertions, 0 deletions
diff --git a/cmd/soong_build/Android.bp b/cmd/soong_build/Android.bp new file mode 100644 index 00000000..d9daafc4 --- /dev/null +++ b/cmd/soong_build/Android.bp @@ -0,0 +1,29 @@ +// 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. + +bootstrap_go_binary { + name: "soong_build", + deps: [ + "blueprint", + "blueprint-bootstrap", + "soong", + "soong-android", + "soong-env", + ], + srcs: [ + "main.go", + ], + primaryBuilder: true, +} + diff --git a/cmd/soong_env/Android.bp b/cmd/soong_env/Android.bp new file mode 100644 index 00000000..b0d827c5 --- /dev/null +++ b/cmd/soong_env/Android.bp @@ -0,0 +1,24 @@ +// 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. + +bootstrap_go_binary { + name: "soong_env", + deps: [ + "soong-env", + ], + srcs: [ + "soong_env.go", + ], +} + diff --git a/cmd/soong_glob/Android.bp b/cmd/soong_glob/Android.bp new file mode 100644 index 00000000..bd8a4a23 --- /dev/null +++ b/cmd/soong_glob/Android.bp @@ -0,0 +1,23 @@ +// 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. + +blueprint_go_binary { + name: "soong_glob", + deps: [ + "soong-glob", + ], + srcs: [ + "soong_glob.go", + ], +} diff --git a/cmd/soong_zip/Android.bp b/cmd/soong_zip/Android.bp new file mode 100644 index 00000000..10896ceb --- /dev/null +++ b/cmd/soong_zip/Android.bp @@ -0,0 +1,22 @@ +// Copyright 2016 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. + +blueprint_go_binary { + name: "soong_zip", + deps: ["android-archive-zip"], + srcs: [ + "soong_zip.go", + "rate_limit.go", + ], +} diff --git a/cmd/zip2zip/Android.bp b/cmd/zip2zip/Android.bp new file mode 100644 index 00000000..8cac003b --- /dev/null +++ b/cmd/zip2zip/Android.bp @@ -0,0 +1,22 @@ +// Copyright 2016 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. + +blueprint_go_binary { + name: "zip2zip", + deps: ["android-archive-zip"], + srcs: [ + "zip2zip.go", + ], +} + |