aboutsummaryrefslogtreecommitdiff
path: root/mojo/public
diff options
context:
space:
mode:
authorHidehiko Abe <hidehiko@google.com>2018-04-17 04:31:44 +0900
committerHidehiko Abe <hidehiko@google.com>2018-04-17 08:54:40 +0900
commit0325b56b0518f5ca16701e5048fcf81cc96fd725 (patch)
tree0ad18a9bb27c3ae19e66e933d51725763e2011b4 /mojo/public
parentfd1f9007ea17b652f860835390cdcdb36231a9d2 (diff)
downloadlibmojo-0325b56b0518f5ca16701e5048fcf81cc96fd725.tar.gz
Bundle libraries into python_host_binary.
In Chrome, we run scripts on the source tree. To follow that pattern, bundle needed libraries into python_host_binary. In this approach, most Android.bp can be removed, which helps to merging libmojo into libchrome, because then we don't need to put Android.bp in individual directories. Bug: 73606903 Test: Built locally. Change-Id: I66aacb5f4c8da5b7182b0e1cf91b451efe944247
Diffstat (limited to 'mojo/public')
-rw-r--r--mojo/public/tools/bindings/Android.bp27
-rw-r--r--mojo/public/tools/bindings/pylib/Android.bp12
2 files changed, 0 insertions, 39 deletions
diff --git a/mojo/public/tools/bindings/Android.bp b/mojo/public/tools/bindings/Android.bp
deleted file mode 100644
index 16af6b4..0000000
--- a/mojo/public/tools/bindings/Android.bp
+++ /dev/null
@@ -1,27 +0,0 @@
-python_binary_host {
- name: "mojom_bindings_generator",
- main: "mojom_bindings_generator.py",
- libs: [
- "mojom_build_android",
- "mojom_bindings_pylib",
- "mojom_third_party",
- ],
- srcs: [
- "generators/*.py",
- "*.py",
- ],
- data: [
- "generators/js_templates/*.tmpl",
- "generators/java_templates/*.tmpl",
- "generators/cpp_templates/*.tmpl",
- ],
- version: {
- py2: {
- enabled: true,
- },
- py3: {
- enabled: false,
- },
- },
-}
-
diff --git a/mojo/public/tools/bindings/pylib/Android.bp b/mojo/public/tools/bindings/pylib/Android.bp
deleted file mode 100644
index 2dd4c58..0000000
--- a/mojo/public/tools/bindings/pylib/Android.bp
+++ /dev/null
@@ -1,12 +0,0 @@
-python_library_host {
- name: "mojom_bindings_pylib",
- srcs: ["**/*.py"],
- version: {
- py2: {
- enabled: true,
- },
- py3: {
- enabled: false,
- },
- },
-}