| 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 ":test_support", | 156 ":test_support", |
| 157 "//cc", | 157 "//cc", |
| 158 "//cc/blink", | 158 "//cc/blink", |
| 159 "//content/public/common", | 159 "//content/public/common", |
| 160 "//skia", | 160 "//skia", |
| 161 "//v8", | 161 "//v8", |
| 162 "//ui/accessibility:ax_gen", | 162 "//ui/accessibility:ax_gen", |
| 163 ] | 163 ] |
| 164 | 164 |
| 165 if (is_android) { | 165 if (is_android) { |
| 166 #deps += [ "test_support_content_jni_headers" ] TODO(GYP) | 166 deps += [ ":jni" ] |
| 167 } | 167 } |
| 168 } | 168 } |
| 169 | 169 |
| 170 if (is_android) { |
| 171 import("//build/config/android/rules.gni") |
| 172 |
| 173 generate_jni("jni") { |
| 174 sources = [ "../public/test/android/javatests/src/org/chromium/content/bro
wser/test/NestedSystemMessageHandler.java" ] |
| 175 jni_package = "content/public/test" |
| 176 } |
| 177 } |
| 170 } # !is_ios | 178 } # !is_ios |
| 171 | 179 |
| 172 # TODO(GYP): Unit test targets | 180 # TODO(GYP): Unit test targets |
| 173 | 181 |
| OLD | NEW |