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 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 | 7 |
8 content_tests_gypi_values = exec_script( | 8 content_tests_gypi_values = exec_script( |
9 "//build/gypi_to_gn.py", | 9 "//build/gypi_to_gn.py", |
10 [ rebase_path("../content_tests.gypi"), | 10 [ rebase_path("../content_tests.gypi"), |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 | 118 |
119 if (is_win) { | 119 if (is_win) { |
120 deps += [ "//third_party/iaccessible2" ] | 120 deps += [ "//third_party/iaccessible2" ] |
121 } | 121 } |
122 | 122 |
123 if (!is_android && !is_ios) { | 123 if (!is_android && !is_ios) { |
124 deps += [ "//third_party/libvpx" ] | 124 deps += [ "//third_party/libvpx" ] |
125 } | 125 } |
126 | 126 |
127 if (is_android) { | 127 if (is_android) { |
128 deps += [ "//ui/shell_dialogs" ] | 128 deps += [ |
| 129 "//ui/android", |
| 130 "//ui/shell_dialogs" |
| 131 ] |
129 } | 132 } |
130 | 133 |
131 if (is_win) { | 134 if (is_win) { |
132 deps += [ "//sandbox" ] | 135 deps += [ "//sandbox" ] |
133 } | 136 } |
134 } else { # is_ios | 137 } else { # is_ios |
135 sources = [ | 138 sources = [ |
136 "public/test/content_test_suite_base.cc", | 139 "public/test/content_test_suite_base.cc", |
137 "public/test/mock_notification_observer.cc", | 140 "public/test/mock_notification_observer.cc", |
138 "public/test/mock_resource_context.cc", | 141 "public/test/mock_resource_context.cc", |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 | 179 |
177 generate_jni("jni") { | 180 generate_jni("jni") { |
178 sources = [ "../public/test/android/javatests/src/org/chromium/content/bro
wser/test/NestedSystemMessageHandler.java" ] | 181 sources = [ "../public/test/android/javatests/src/org/chromium/content/bro
wser/test/NestedSystemMessageHandler.java" ] |
179 jni_package = "content/public/test" | 182 jni_package = "content/public/test" |
180 } | 183 } |
181 } | 184 } |
182 } # !is_ios | 185 } # !is_ios |
183 | 186 |
184 # TODO(GYP): Unit test targets | 187 # TODO(GYP): Unit test targets |
185 | 188 |
OLD | NEW |