| 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 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 479 ] | 479 ] |
| 480 } else { | 480 } else { |
| 481 sources -= [ | 481 sources -= [ |
| 482 "../browser/accessibility/touch_accessibility_aura_browsertest.cc", | 482 "../browser/accessibility/touch_accessibility_aura_browsertest.cc", |
| 483 "../browser/renderer_host/input/touch_selection_controller_client_aura_bro
wsertest.cc", | 483 "../browser/renderer_host/input/touch_selection_controller_client_aura_bro
wsertest.cc", |
| 484 "../browser/web_contents/web_contents_view_aura_browsertest.cc", | 484 "../browser/web_contents/web_contents_view_aura_browsertest.cc", |
| 485 ] | 485 ] |
| 486 } | 486 } |
| 487 } | 487 } |
| 488 | 488 |
| 489 if (is_android) { |
| 490 _content_unittests_apk_assets_dir = |
| 491 "$root_out_dir/content_unittests_apk/assets" |
| 492 copy_ex("copy_content_unittests_apk_assets") { |
| 493 clear_dir = true |
| 494 dest = _content_unittests_apk_assets_dir |
| 495 |
| 496 if (v8_use_external_startup_data) { |
| 497 sources = [ |
| 498 "$root_out_dir/natives_blob.bin", |
| 499 "$root_out_dir/snapshot_blob.bin", |
| 500 ] |
| 501 deps = [ |
| 502 "//v8", |
| 503 ] |
| 504 } |
| 505 } |
| 506 } |
| 507 |
| 489 # TODO(GYP): Delete this after we've converted everything to GN. | 508 # TODO(GYP): Delete this after we've converted everything to GN. |
| 490 # The _run targets exist only for compatibility w/ GYP. | 509 # The _run targets exist only for compatibility w/ GYP. |
| 491 group("content_unittests_run") { | 510 group("content_unittests_run") { |
| 492 testonly = true | 511 testonly = true |
| 493 deps = [ | 512 deps = [ |
| 494 ":content_unittests", | 513 ":content_unittests", |
| 495 ] | 514 ] |
| 496 } | 515 } |
| 497 | 516 |
| 498 test("content_unittests") { | 517 test("content_unittests") { |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 664 ".", | 683 ".", |
| 665 "//content") | 684 "//content") |
| 666 sources -= [ | 685 sources -= [ |
| 667 "../browser/geolocation/network_location_provider_unittest.cc", | 686 "../browser/geolocation/network_location_provider_unittest.cc", |
| 668 "../browser/geolocation/wifi_data_provider_common_unittest.cc", | 687 "../browser/geolocation/wifi_data_provider_common_unittest.cc", |
| 669 "../browser/power_usage_monitor_impl_unittest.cc", | 688 "../browser/power_usage_monitor_impl_unittest.cc", |
| 670 "../browser/renderer_host/begin_frame_observer_proxy_unittest.cc", | 689 "../browser/renderer_host/begin_frame_observer_proxy_unittest.cc", |
| 671 "../browser/webui/url_data_manager_backend_unittest.cc", | 690 "../browser/webui/url_data_manager_backend_unittest.cc", |
| 672 ] | 691 ] |
| 673 deps -= [ "//device/battery" ] | 692 deps -= [ "//device/battery" ] |
| 674 deps += [ "//testing/android/native_test:native_test_native_code" ] | 693 deps += [ ":copy_content_unittests_apk_assets" ] |
| 694 |
| 695 apk_asset_location = _content_unittests_apk_assets_dir |
| 696 apk_deps = [ |
| 697 "//base:base_java_unittest_support", |
| 698 "//content/public/android:content_java", |
| 699 ] |
| 675 | 700 |
| 676 defines += [ "APPCACHE_USE_SIMPLE_CACHE" ] | 701 defines += [ "APPCACHE_USE_SIMPLE_CACHE" ] |
| 677 } | 702 } |
| 678 if (!is_android && !is_ios) { | 703 if (!is_android && !is_ios) { |
| 679 deps += [ "//third_party/libvpx_new" ] | 704 deps += [ "//third_party/libvpx_new" ] |
| 680 } | 705 } |
| 681 | 706 |
| 682 if (use_aura) { | 707 if (use_aura) { |
| 683 deps += [ | 708 deps += [ |
| 684 "//ui/aura", | 709 "//ui/aura", |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 806 "//gpu/blink", | 831 "//gpu/blink", |
| 807 "//testing/gtest", | 832 "//testing/gtest", |
| 808 "//third_party/WebKit/public:blink", | 833 "//third_party/WebKit/public:blink", |
| 809 "//ui/base", | 834 "//ui/base", |
| 810 "//ui/gfx", | 835 "//ui/gfx", |
| 811 "//ui/gfx/geometry", | 836 "//ui/gfx/geometry", |
| 812 "//ui/gl", | 837 "//ui/gl", |
| 813 "//ui/gl:test_support", | 838 "//ui/gl:test_support", |
| 814 ] | 839 ] |
| 815 } | 840 } |
| OLD | NEW |