| 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/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
| 6 import("//build/config/crypto.gni") | 6 import("//build/config/crypto.gni") |
| 7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
| 8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
| 9 import("//build_overrides/v8.gni") | 9 import("//build_overrides/v8.gni") |
| 10 import("//media/media_options.gni") | 10 import("//media/media_options.gni") |
| 11 import("//testing/test.gni") | 11 import("//testing/test.gni") |
| 12 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 12 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
| 13 | 13 |
| 14 content_tests_gypi_values = | 14 content_tests_gypi_values = |
| 15 exec_script("//build/gypi_to_gn.py", | 15 exec_script("//build/gypi_to_gn.py", |
| 16 [ | 16 [ |
| 17 rebase_path("../content_tests.gypi"), | 17 rebase_path("../content_tests.gypi"), |
| 18 "--replace=<(SHARED_INTERMEDIATE_DIR)=$root_gen_dir", | 18 "--replace=<(SHARED_INTERMEDIATE_DIR)=$root_gen_dir", |
| 19 ], | 19 ], |
| 20 "scope", | 20 "scope", |
| 21 [ "../content_tests.gypi" ]) | 21 [ "../content_tests.gypi" ]) |
| 22 | 22 |
| 23 # GYP version //content/content_tests.gypi:test_support_content | 23 # GYP version //content/content_tests.gypi:test_support_content |
| 24 source_set("test_support") { | 24 source_set("test_support") { |
| 25 testonly = true | 25 testonly = true |
| 26 configs += [ "//build/config:precompiled_headers" ] | 26 |
| 27 configs += [ |
| 28 "//build/config:precompiled_headers", |
| 29 "//v8:external_startup_data", |
| 30 ] |
| 31 |
| 27 public_deps = [ | 32 public_deps = [ |
| 28 "//content/public/app:both", | 33 "//content/public/app:both", |
| 29 "//content/public/browser", | 34 "//content/public/browser", |
| 30 "//content/public/common", | 35 "//content/public/common", |
| 31 ] | 36 ] |
| 32 deps = [ | 37 deps = [ |
| 33 "//cc/blink", | 38 "//cc/blink", |
| 34 "//net:test_support", | 39 "//net:test_support", |
| 35 "//skia", | 40 "//skia", |
| 36 "//storage/common", | 41 "//storage/common", |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 "//skia", | 207 "//skia", |
| 203 "//testing/gtest", | 208 "//testing/gtest", |
| 204 "//ui/accessibility:ax_gen", | 209 "//ui/accessibility:ax_gen", |
| 205 ] | 210 ] |
| 206 | 211 |
| 207 if (is_android) { | 212 if (is_android) { |
| 208 deps += [ "//content/public/app:both" ] | 213 deps += [ "//content/public/app:both" ] |
| 209 } else { | 214 } else { |
| 210 deps += [ "//content/public/browser" ] | 215 deps += [ "//content/public/browser" ] |
| 211 } | 216 } |
| 217 |
| 218 configs += [ "//v8:external_startup_data" ] |
| 212 } | 219 } |
| 213 | 220 |
| 214 mojom("content_test_mojo_bindings") { | 221 mojom("content_test_mojo_bindings") { |
| 215 sources = [ | 222 sources = [ |
| 216 "../public/test/test_mojo_service.mojom", | 223 "../public/test/test_mojo_service.mojom", |
| 217 ] | 224 ] |
| 218 } | 225 } |
| 219 | 226 |
| 220 mojom("web_ui_test_mojo_bindings") { | 227 mojom("web_ui_test_mojo_bindings") { |
| 221 sources = [ | 228 sources = [ |
| (...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 794 "//testing/gtest", | 801 "//testing/gtest", |
| 795 "//third_party/WebKit/public:blink", | 802 "//third_party/WebKit/public:blink", |
| 796 "//ui/base", | 803 "//ui/base", |
| 797 "//ui/gfx", | 804 "//ui/gfx", |
| 798 "//ui/gfx/geometry", | 805 "//ui/gfx/geometry", |
| 799 "//ui/gl", | 806 "//ui/gl", |
| 800 "//ui/gl:test_support", | 807 "//ui/gl:test_support", |
| 801 ] | 808 ] |
| 802 } | 809 } |
| 803 } | 810 } |
| OLD | NEW |