Index: components/supervised_user_error_page/BUILD.gn |
diff --git a/components/supervised_user_error_page/BUILD.gn b/components/supervised_user_error_page/BUILD.gn |
index d4780d4e7152a1acd6aac3fdc14f73b800e033f7..d228d8b026d5c93c6dbc0103d99be40bdca7f99c 100644 |
--- a/components/supervised_user_error_page/BUILD.gn |
+++ b/components/supervised_user_error_page/BUILD.gn |
@@ -2,6 +2,10 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+if (is_android) { |
+ import("//build/config/android/rules.gni") |
+} |
+ |
static_library("supervised_user_error_page") { |
sources = [ |
"supervised_user_error_page.cc", |
@@ -41,6 +45,14 @@ if (target_os == "android") { |
} |
} |
+if (is_android) { |
+ java_cpp_enum("enums_srcjar") { |
+ sources = [ |
+ "supervised_user_error_page.h", |
+ ] |
+ } |
+} |
+ |
source_set("unit_tests") { |
testonly = true |
sources = [ |