| 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/crypto.gni") | 5 import("//build/config/crypto.gni") |
| 6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
| 7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
| 8 import("//build/module_args/v8.gni") | 8 import("//build/module_args/v8.gni") |
| 9 import("//testing/test.gni") | 9 import("//testing/test.gni") |
| 10 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 10 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
| 11 | 11 |
| 12 content_tests_gypi_values = | 12 content_tests_gypi_values = |
| 13 exec_script("//build/gypi_to_gn.py", | 13 exec_script("//build/gypi_to_gn.py", |
| 14 [ | 14 [ |
| 15 rebase_path("../content_tests.gypi"), | 15 rebase_path("../content_tests.gypi"), |
| 16 "--replace=<(SHARED_INTERMEDIATE_DIR)=$root_gen_dir", | 16 "--replace=<(SHARED_INTERMEDIATE_DIR)=$root_gen_dir", |
| 17 ], | 17 ], |
| 18 "scope", | 18 "scope", |
| 19 [ "../content_tests.gypi" ]) | 19 [ "../content_tests.gypi" ]) |
| 20 | 20 |
| 21 # GYP version //content/content_tests.gypi:test_support_content | 21 # GYP version //content/content_tests.gypi:test_support_content |
| 22 static_library("test_support") { | 22 static_library("test_support") { |
| 23 testonly = true | 23 testonly = true |
| 24 public_deps = [] | 24 public_deps = [] |
| 25 deps = [ | 25 deps = [ |
| 26 "//cc/blink", | 26 "//cc/blink", |
| 27 "//content/public/app:both", | 27 "//content/public/app:both", |
| 28 "//content/public/browser:browser_sources", | 28 "//content/public/browser", |
| 29 "//content/public/common:common_sources", | 29 "//content/public/common", |
| 30 "//net:test_support", | 30 "//net:test_support", |
| 31 "//skia", | 31 "//skia", |
| 32 "//storage/common", | 32 "//storage/common", |
| 33 "//testing/gmock", | 33 "//testing/gmock", |
| 34 "//testing/gtest", | 34 "//testing/gtest", |
| 35 "//ui/accessibility:ax_gen", | 35 "//ui/accessibility:ax_gen", |
| 36 "//ui/base", | 36 "//ui/base", |
| 37 "//ui/base/ime", | 37 "//ui/base/ime", |
| 38 "//ui/base:test_support", | 38 "//ui/base:test_support", |
| 39 "//ui/events:dom4_keycode_converter", | 39 "//ui/events:dom4_keycode_converter", |
| 40 "//ui/events:events_base", | 40 "//ui/events:events_base", |
| 41 "//ui/events:test_support", | 41 "//ui/events:test_support", |
| 42 "//ui/events:gesture_detection", | 42 "//ui/events:gesture_detection", |
| 43 "//ui/gfx:test_support", | 43 "//ui/gfx:test_support", |
| 44 "//ui/gl", | 44 "//ui/gl", |
| 45 "//ui/resources", | 45 "//ui/resources", |
| 46 "//url", | 46 "//url", |
| 47 ] | 47 ] |
| 48 | 48 |
| 49 if (!is_ios) { | 49 if (!is_ios) { |
| 50 sources = | 50 sources = |
| 51 rebase_path(content_tests_gypi_values.test_support_content_sources, | 51 rebase_path(content_tests_gypi_values.test_support_content_sources, |
| 52 ".", | 52 ".", |
| 53 "//content") | 53 "//content") |
| 54 | 54 |
| 55 public_deps += [ "//third_party/WebKit/public:blink" ] | 55 public_deps += [ "//third_party/WebKit/public:blink" ] |
| 56 deps += [ | 56 deps += [ |
| 57 "//components/scheduler:scheduler", | 57 "//components/scheduler:scheduler", |
| 58 "//content/browser/speech/proto", | 58 "//content/browser/speech/proto", |
| 59 "//content/public/child:child_sources", | 59 "//content/public/child", |
| 60 "//content/gpu", | 60 "//content/gpu", |
| 61 "//content/public/plugin:plugin_sources", | 61 "//content/public/plugin", |
| 62 "//content/public/renderer:renderer_sources", | 62 "//content/public/renderer", |
| 63 "//content/public/utility:utility_sources", | 63 "//content/public/utility", |
| 64 "//content/shell:pak", | 64 "//content/shell:pak", |
| 65 "//cc", | 65 "//cc", |
| 66 "//cc:test_support", | 66 "//cc:test_support", |
| 67 "//ipc/mojo", | 67 "//ipc/mojo", |
| 68 "//media", | 68 "//media", |
| 69 "//ppapi/host", | 69 "//ppapi/host", |
| 70 "//ppapi/proxy", | 70 "//ppapi/proxy", |
| 71 "//ppapi/proxy:test_support", | 71 "//ppapi/proxy:test_support", |
| 72 "//ppapi/shared_impl", | 72 "//ppapi/shared_impl", |
| 73 "//ppapi/shared_impl:test_support", | 73 "//ppapi/shared_impl:test_support", |
| (...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 445 ".", | 445 ".", |
| 446 "//content") | 446 "//content") |
| 447 deps = [ | 447 deps = [ |
| 448 ":test_support", | 448 ":test_support", |
| 449 "//base/allocator", | 449 "//base/allocator", |
| 450 "//base/test:test_support", | 450 "//base/test:test_support", |
| 451 "//content/browser/background_sync:background_sync_proto", | 451 "//content/browser/background_sync:background_sync_proto", |
| 452 "//content/browser/notifications:notification_proto", | 452 "//content/browser/notifications:notification_proto", |
| 453 "//content/browser/service_worker:service_worker_proto", | 453 "//content/browser/service_worker:service_worker_proto", |
| 454 "//content/browser/speech/proto", | 454 "//content/browser/speech/proto", |
| 455 "//content/common:mojo_bindings", |
| 455 "//content/public/browser", | 456 "//content/public/browser", |
| 456 "//content/public/common", | 457 "//content/public/common", |
| 457 "//content/public/common:mojo_bindings", | 458 "//content/public/common:mojo_bindings", |
| 458 "//crypto", | 459 "//crypto", |
| 459 "//device/battery", | 460 "//device/battery", |
| 460 "//device/battery:mojo_bindings", | 461 "//device/battery:mojo_bindings", |
| 461 "//mojo/environment:chromium", | 462 "//mojo/environment:chromium", |
| 462 "//net:test_support", | 463 "//net:test_support", |
| 463 "//skia", | 464 "//skia", |
| 464 "//sql", | 465 "//sql", |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 707 "//content/public/common", | 708 "//content/public/common", |
| 708 "//testing/gtest", | 709 "//testing/gtest", |
| 709 "//third_party/WebKit/public:blink", | 710 "//third_party/WebKit/public:blink", |
| 710 "//ui/base", | 711 "//ui/base", |
| 711 "//ui/gfx", | 712 "//ui/gfx", |
| 712 "//ui/gfx/geometry", | 713 "//ui/gfx/geometry", |
| 713 "//ui/gl", | 714 "//ui/gl", |
| 714 ] | 715 ] |
| 715 } | 716 } |
| 716 } | 717 } |
| OLD | NEW |