| 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") |
| (...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 489 # TODO(GYP): Delete this after we've converted everything to GN. | 489 # TODO(GYP): Delete this after we've converted everything to GN. |
| 490 # The _run targets exist only for compatibility w/ GYP. | 490 # The _run targets exist only for compatibility w/ GYP. |
| 491 group("content_unittests_run") { | 491 group("content_unittests_run") { |
| 492 testonly = true | 492 testonly = true |
| 493 deps = [ | 493 deps = [ |
| 494 ":content_unittests", | 494 ":content_unittests", |
| 495 ] | 495 ] |
| 496 } | 496 } |
| 497 | 497 |
| 498 test("content_unittests") { | 498 test("content_unittests") { |
| 499 defines = [] |
| 499 sources = rebase_path(content_tests_gypi_values.content_unittests_sources, | 500 sources = rebase_path(content_tests_gypi_values.content_unittests_sources, |
| 500 ".", | 501 ".", |
| 501 "//content") | 502 "//content") |
| 502 | 503 |
| 503 if (is_android || is_linux || is_mac || is_win) { | 504 if (is_android || is_linux || is_mac || is_win) { |
| 504 data = [ | 505 data = [ |
| 505 "data/", | 506 "data/", |
| 506 "//net/data/ssl/certificates/", | 507 "//net/data/ssl/certificates/", |
| 507 "//media/test/data/", | 508 "//media/test/data/", |
| 508 ] | 509 ] |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 664 "//content") | 665 "//content") |
| 665 sources -= [ | 666 sources -= [ |
| 666 "../browser/geolocation/network_location_provider_unittest.cc", | 667 "../browser/geolocation/network_location_provider_unittest.cc", |
| 667 "../browser/geolocation/wifi_data_provider_common_unittest.cc", | 668 "../browser/geolocation/wifi_data_provider_common_unittest.cc", |
| 668 "../browser/power_usage_monitor_impl_unittest.cc", | 669 "../browser/power_usage_monitor_impl_unittest.cc", |
| 669 "../browser/renderer_host/begin_frame_observer_proxy_unittest.cc", | 670 "../browser/renderer_host/begin_frame_observer_proxy_unittest.cc", |
| 670 "../browser/webui/url_data_manager_backend_unittest.cc", | 671 "../browser/webui/url_data_manager_backend_unittest.cc", |
| 671 ] | 672 ] |
| 672 deps -= [ "//device/battery" ] | 673 deps -= [ "//device/battery" ] |
| 673 deps += [ "//testing/android/native_test:native_test_native_code" ] | 674 deps += [ "//testing/android/native_test:native_test_native_code" ] |
| 675 |
| 676 defines += [ "APPCACHE_USE_SIMPLE_CACHE" ] |
| 674 } | 677 } |
| 675 if (!is_android && !is_ios) { | 678 if (!is_android && !is_ios) { |
| 676 deps += [ "//third_party/libvpx_new" ] | 679 deps += [ "//third_party/libvpx_new" ] |
| 677 } | 680 } |
| 678 | 681 |
| 679 if (use_aura) { | 682 if (use_aura) { |
| 680 deps += [ | 683 deps += [ |
| 681 "//ui/aura", | 684 "//ui/aura", |
| 682 "//ui/aura_extra", | 685 "//ui/aura_extra", |
| 683 "//ui/wm", | 686 "//ui/wm", |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 803 "//gpu/blink", | 806 "//gpu/blink", |
| 804 "//testing/gtest", | 807 "//testing/gtest", |
| 805 "//third_party/WebKit/public:blink", | 808 "//third_party/WebKit/public:blink", |
| 806 "//ui/base", | 809 "//ui/base", |
| 807 "//ui/gfx", | 810 "//ui/gfx", |
| 808 "//ui/gfx/geometry", | 811 "//ui/gfx/geometry", |
| 809 "//ui/gl", | 812 "//ui/gl", |
| 810 "//ui/gl:test_support", | 813 "//ui/gl:test_support", |
| 811 ] | 814 ] |
| 812 } | 815 } |
| OLD | NEW |