Move ratings to a seperate dir

PiperOrigin-RevId: 294515441
Change-Id: Id29abf414e845d559c4599b044f1e37f02d05833
diff --git a/Android.bp b/Android.bp
index 58ba27d..79ae05c 100644
--- a/Android.bp
+++ b/Android.bp
@@ -62,6 +62,7 @@
         "tv-auto-factory-jar",
         "tv-common",
         "tv-error-prone-annotations-jar",
+        "tv-ratings-resources",
         "tv-javax-annotations-jar",
         "tv-lib-dagger",
         "tv-lib-exoplayer",
diff --git a/ratings/Android.bp b/ratings/Android.bp
new file mode 100644
index 0000000..ced758f
--- /dev/null
+++ b/ratings/Android.bp
@@ -0,0 +1,20 @@
+// Copyright (C) 2020 The Android Open Source Project
+//
+// 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.
+
+android_library {
+    name: "tv-ratings-resources",
+    sdk_version: "system_current",
+    resource_dirs: ["res"],
+    min_sdk_version: "23",
+}
diff --git a/ratings/AndroidManifest.xml b/ratings/AndroidManifest.xml
new file mode 100644
index 0000000..42428d1
--- /dev/null
+++ b/ratings/AndroidManifest.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+  ~ Copyright (C) 2020 The Android Open Source Project
+  ~
+  ~ 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.
+  -->
+
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+    package="com.android.tv.ratings" xmlns:tools="http://schemas.android.com/tools">
+    <uses-sdk android:targetSdkVersion="28" android:minSdkVersion="23"/>
+    <application />
+</manifest>
diff --git a/res/values/rating_system_strings.xml b/ratings/res/values/rating_system_strings.xml
similarity index 100%
rename from res/values/rating_system_strings.xml
rename to ratings/res/values/rating_system_strings.xml
diff --git a/res/xml/tv_content_rating_systems.xml b/ratings/res/xml/tv_content_rating_systems.xml
similarity index 100%
rename from res/xml/tv_content_rating_systems.xml
rename to ratings/res/xml/tv_content_rating_systems.xml