summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Deepanshu Gupta <deepanshu@google.com> 2015-05-14 15:12:57 -0700
committer Deepanshu Gupta <deepanshu@google.com> 2015-05-14 15:12:57 -0700
commitfc41c2c02e9092d21e10fcc38a928d26d9f05a4e (patch)
tree8e62ca29615411344ee000b6ec5849720d3d0882
parent4ebbfd778790d4d4fb4c1ac4cee98edb4475bd3d (diff)
Move couple of intellij libraries to project level.
Move framework and layoutlib api libraries back to being project libraries so that other modules can depend on it. This enables custom widget libraries project to merge through cleanly. Change-Id: I4f00d6fb378a80662f32491a2b0061d6bf61899f
-rw-r--r--tools/layoutlib/.idea/libraries/framework_jar.xml13
-rw-r--r--tools/layoutlib/.idea/libraries/layoutlib_api_prebuilt.xml11
-rw-r--r--tools/layoutlib/bridge/bridge.iml26
3 files changed, 26 insertions, 24 deletions
diff --git a/tools/layoutlib/.idea/libraries/framework_jar.xml b/tools/layoutlib/.idea/libraries/framework_jar.xml
new file mode 100644
index 000000000000..6695a3631ff1
--- /dev/null
+++ b/tools/layoutlib/.idea/libraries/framework_jar.xml
@@ -0,0 +1,13 @@
+<component name="libraryTable">
+ <library name="framework.jar">
+ <CLASSES>
+ <root url="jar://$PROJECT_DIR$/../../../../out/host/common/obj/JAVA_LIBRARIES/temp_layoutlib_intermediates/javalib.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES>
+ <root url="file://$PROJECT_DIR$/../../core/java" />
+ <root url="file://$PROJECT_DIR$/../../graphics/java" />
+ <root url="file://$PROJECT_DIR$/../../../../libcore/luni/src/main/java" />
+ </SOURCES>
+ </library>
+</component> \ No newline at end of file
diff --git a/tools/layoutlib/.idea/libraries/layoutlib_api_prebuilt.xml b/tools/layoutlib/.idea/libraries/layoutlib_api_prebuilt.xml
new file mode 100644
index 000000000000..a8736000a513
--- /dev/null
+++ b/tools/layoutlib/.idea/libraries/layoutlib_api_prebuilt.xml
@@ -0,0 +1,11 @@
+<component name="libraryTable">
+ <library name="layoutlib_api-prebuilt">
+ <CLASSES>
+ <root url="jar://$PROJECT_DIR$/../../../../prebuilts/misc/common/layoutlib_api/layoutlib_api-prebuilt.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES>
+ <root url="jar://$PROJECT_DIR$/../../../../prebuilts/misc/common/layoutlib_api/layoutlib_api-sources.jar!/" />
+ </SOURCES>
+ </library>
+</component> \ No newline at end of file
diff --git a/tools/layoutlib/bridge/bridge.iml b/tools/layoutlib/bridge/bridge.iml
index d2b12595190a..af2fe7fc0a30 100644
--- a/tools/layoutlib/bridge/bridge.iml
+++ b/tools/layoutlib/bridge/bridge.iml
@@ -24,17 +24,7 @@
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
- <orderEntry type="module-library">
- <library name="layoutlib_api-prebuilt">
- <CLASSES>
- <root url="jar://$MODULE_DIR$/../../../../../prebuilts/misc/common/layoutlib_api/layoutlib_api-prebuilt.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES>
- <root url="jar://$MODULE_DIR$/../../../../../prebuilts/misc/common/layoutlib_api/layoutlib_api-sources.jar!/" />
- </SOURCES>
- </library>
- </orderEntry>
+ <orderEntry type="library" name="layoutlib_api-prebuilt" level="project" />
<orderEntry type="module-library">
<library name="ninepatch-prebuilt">
<CLASSES>
@@ -60,19 +50,7 @@
</SOURCES>
</library>
</orderEntry>
- <orderEntry type="module-library">
- <library name="framework.jar">
- <CLASSES>
- <root url="jar://$MODULE_DIR$/../../../../../out/host/common/obj/JAVA_LIBRARIES/temp_layoutlib_intermediates/javalib.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES>
- <root url="file://$MODULE_DIR$/../../../core/java" />
- <root url="file://$MODULE_DIR$/../../../graphics/java" />
- <root url="file://$MODULE_DIR$/../../../../../libcore/luni/src/main/java" />
- </SOURCES>
- </library>
- </orderEntry>
+ <orderEntry type="library" name="framework.jar" level="project" />
<orderEntry type="module-library" scope="TEST">
<library name="kxml2-2.3.0">
<CLASSES>