summaryrefslogtreecommitdiff
path: root/layoutlib
diff options
context:
space:
mode:
authorEsteban de la Canal <estebandlc@google.com>2021-02-17 12:06:49 -0800
committerEsteban de la Canal <estebandlc@google.com>2021-02-18 19:53:24 +0000
commit55edf715740cf673bf8d9ba7d1f5d7c6b3f4403a (patch)
tree56a0a5402035c42882d8a7d800ffef335e64249c /layoutlib
parentb06ea5a1ba9f15bfcce3e2b6ff117d550aec2353 (diff)
downloadidea-55edf715740cf673bf8d9ba7d1f5d7c6b3f4403a.tar.gz
Make layoutlib a project level library
Removes duplication across modules Test: no functional changes Bug: 179064916 Change-Id: Ia3c041060212e296fba46de63052657f14a95d9e
Diffstat (limited to 'layoutlib')
-rw-r--r--layoutlib/BUILD2
-rw-r--r--layoutlib/intellij.android.layoutlib.iml10
2 files changed, 2 insertions, 10 deletions
diff --git a/layoutlib/BUILD b/layoutlib/BUILD
index 5c1cf6f2227..1aefed9ec93 100644
--- a/layoutlib/BUILD
+++ b/layoutlib/BUILD
@@ -10,6 +10,6 @@ iml_module(
deps = [
"//prebuilts/studio/intellij-sdk:studio-sdk",
"//tools/base/layoutlib-api:studio.android.sdktools.layoutlib-api[module]",
- "//prebuilts/studio/layoutlib/data:layoutlib",
+ "//tools/adt/idea/.idea/libraries:layoutlib",
],
)
diff --git a/layoutlib/intellij.android.layoutlib.iml b/layoutlib/intellij.android.layoutlib.iml
index ed86d515c2f..d6ed5c8a505 100644
--- a/layoutlib/intellij.android.layoutlib.iml
+++ b/layoutlib/intellij.android.layoutlib.iml
@@ -9,14 +9,6 @@
<orderEntry type="library" name="studio-sdk" level="project" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="android.sdktools.layoutlib-api" />
- <orderEntry type="module-library">
- <library name="layoutlib">
- <CLASSES>
- <root url="jar://$MODULE_DIR$/../../../../prebuilts/studio/layoutlib/data/layoutlib.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
+ <orderEntry type="library" name="layoutlib" level="project" />
</component>
</module> \ No newline at end of file