OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
| 5 if (is_android) { |
| 6 import("//build/config/android/rules.gni") |
| 7 } |
| 8 |
5 static_library("supervised_user_error_page") { | 9 static_library("supervised_user_error_page") { |
6 sources = [ | 10 sources = [ |
7 "supervised_user_error_page.cc", | 11 "supervised_user_error_page.cc", |
8 "supervised_user_error_page.h", | 12 "supervised_user_error_page.h", |
9 ] | 13 ] |
10 | 14 |
11 deps = [ | 15 deps = [ |
12 "//base", | 16 "//base", |
13 "//components/resources", | 17 "//components/resources", |
14 "//components/strings", | 18 "//components/strings", |
(...skipping 19 matching lines...) Expand all Loading... |
34 "//cc/paint", | 38 "//cc/paint", |
35 "//components/web_restrictions:interfaces", | 39 "//components/web_restrictions:interfaces", |
36 "//content/public/renderer", | 40 "//content/public/renderer", |
37 "//gin", | 41 "//gin", |
38 "//third_party/WebKit/public:blink_headers", | 42 "//third_party/WebKit/public:blink_headers", |
39 "//url", | 43 "//url", |
40 ] | 44 ] |
41 } | 45 } |
42 } | 46 } |
43 | 47 |
| 48 if (is_android) { |
| 49 java_cpp_enum("enums_srcjar") { |
| 50 sources = [ |
| 51 "supervised_user_error_page.h", |
| 52 ] |
| 53 } |
| 54 } |
| 55 |
44 source_set("unit_tests") { | 56 source_set("unit_tests") { |
45 testonly = true | 57 testonly = true |
46 sources = [ | 58 sources = [ |
47 "supervised_user_error_page_unittest.cc", | 59 "supervised_user_error_page_unittest.cc", |
48 ] | 60 ] |
49 deps = [ | 61 deps = [ |
50 ":supervised_user_error_page", | 62 ":supervised_user_error_page", |
51 "//base", | 63 "//base", |
52 "//base/test:test_support", | 64 "//base/test:test_support", |
53 "//components/resources", | 65 "//components/resources", |
54 "//components/strings", | 66 "//components/strings", |
55 "//testing/gmock", | 67 "//testing/gmock", |
56 "//testing/gtest", | 68 "//testing/gtest", |
57 "//ui/base", | 69 "//ui/base", |
58 ] | 70 ] |
59 } | 71 } |
OLD | NEW |