Update EmojiCompat build

support-emoji and support-emoji-bundled build.gradle and Android.mk
files are updated to use artifacts from noto-fonts/emoji-compat.

Test: ran ./gradlew uploadArchives
ran ./gradlew generateDocs
ran ./gradlew support-emoji:connectedAndroidTest

Bug: 37477831
Change-Id: I692924fc7e0850b8a30826859e5ebd0110f6449f
diff --git a/emoji/bundled/build.gradle b/emoji/bundled/build.gradle
index 37d831d..0bc5153 100644
--- a/emoji/bundled/build.gradle
+++ b/emoji/bundled/build.gradle
@@ -2,8 +2,7 @@
 archivesBaseName = 'support-emoji-bundled'
 
 ext {
-    File externalRoot = new File(rootDir, '../../external')
-    emojiCompatFontDir = externalRoot.absolutePath + '/noto-fonts/emoji-compat'
+    fontDir = project(':noto-emoji-compat').projectDir
 }
 
 android {
@@ -15,7 +14,7 @@
 
     sourceSets {
         main.java.srcDir 'src'
-        main.assets.srcDirs "$emojiCompatFontDir/font"
+        main.assets.srcDirs new File(fontDir, "font").getAbsolutePath()
     }
 }