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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 "public/test/test_browser_thread.cc", | 139 "public/test/test_browser_thread.cc", |
140 "public/test/test_content_client_initializer.cc", | 140 "public/test/test_content_client_initializer.cc", |
141 "public/test/test_notification_tracker.cc", | 141 "public/test/test_notification_tracker.cc", |
142 "public/test/test_utils.cc", | 142 "public/test/test_utils.cc", |
143 "public/test/unittest_test_suite.cc", | 143 "public/test/unittest_test_suite.cc", |
144 "test/content_test_suite.cc", | 144 "test/content_test_suite.cc", |
145 "test/test_content_browser_client.cc", | 145 "test/test_content_browser_client.cc", |
146 "test/test_content_client.cc", | 146 "test/test_content_client.cc", |
147 ] | 147 ] |
148 } | 148 } |
| 149 if (v8_use_external_startup_data) { |
| 150 deps += [ "//gin:gin" ] |
| 151 } |
149 } | 152 } |
150 | 153 |
151 if (!is_ios) { | 154 if (!is_ios) { |
152 | 155 |
153 # GYP version //content/content_tests.gypi:layouttest_support_content | 156 # GYP version //content/content_tests.gypi:layouttest_support_content |
154 static_library("layouttest_support") { | 157 static_library("layouttest_support") { |
155 testonly = true | 158 testonly = true |
156 sources = rebase_path(content_tests_gypi_values.layouttest_support_content_s
ources, | 159 sources = rebase_path(content_tests_gypi_values.layouttest_support_content_s
ources, |
157 ".", "//content") | 160 ".", "//content") |
158 | 161 |
(...skipping 17 matching lines...) Expand all 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 |