Chromium Code Reviews| 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/compiler/compiler.gni") | 6 import("//build/config/compiler/compiler.gni") |
| 7 import("//build/config/crypto.gni") | 7 import("//build/config/crypto.gni") |
| 8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
| 9 import("//build/config/ui.gni") | 9 import("//build/config/ui.gni") |
| 10 import("//chrome/common/features.gni") | 10 import("//chrome/common/features.gni") |
| (...skipping 2899 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2910 deps += [ | 2910 deps += [ |
| 2911 "//chrome/browser:pepper_cdm_test_constants", | 2911 "//chrome/browser:pepper_cdm_test_constants", |
| 2912 "//media:cdm_paths", | 2912 "//media:cdm_paths", |
| 2913 ] | 2913 ] |
| 2914 data_deps = [ | 2914 data_deps = [ |
| 2915 "//media/cdm/ppapi:clearkeycdmadapter", | 2915 "//media/cdm/ppapi:clearkeycdmadapter", |
| 2916 "//third_party/widevine/cdm:widevinecdmadapter", | 2916 "//third_party/widevine/cdm:widevinecdmadapter", |
| 2917 ] | 2917 ] |
| 2918 } | 2918 } |
| 2919 | 2919 |
| 2920 data = [ | |
| 2921 # Needed for isolate script to execute. | |
| 2922 "//testing/scripts/common.py", | |
| 2923 "//testing/xvfb.py", | |
| 2924 "//testing/scripts/run_gtest_perf_test.py", | |
| 2925 "//tools/perf/generate_legacy_perf_dashboard_json.py", | |
| 2926 ] | |
| 2927 | |
| 2920 # This target should not require the Chrome executable to run. | 2928 # This target should not require the Chrome executable to run. |
| 2921 assert_no_deps = [ "//chrome" ] | 2929 assert_no_deps = [ "//chrome" ] |
| 2922 } | 2930 } |
| 2923 } | 2931 } |
| 2924 | 2932 |
| 2925 # TODO(GYP_GONE): Delete this after we've converted everything to GN. | 2933 # TODO(GYP_GONE): Delete this after we've converted everything to GN. |
| 2926 # The _run targets exist only for compatibility w/ GYP. | 2934 # The _run targets exist only for compatibility w/ GYP. |
| 2927 group("telemetry_perf_unittests_run") { | 2935 group("telemetry_perf_unittests_run") { |
| 2928 testonly = true | 2936 testonly = true |
| 2929 deps = [ | 2937 deps = [ |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 2952 ] | 2960 ] |
| 2953 | 2961 |
| 2954 data = [ | 2962 data = [ |
| 2955 # Needed for isolate script to execute. | 2963 # Needed for isolate script to execute. |
| 2956 "//testing/scripts/common.py", | 2964 "//testing/scripts/common.py", |
| 2957 "//testing/xvfb.py", | 2965 "//testing/xvfb.py", |
| 2958 "//testing/scripts/run_telemetry_benchmark_as_googletest.py", | 2966 "//testing/scripts/run_telemetry_benchmark_as_googletest.py", |
| 2959 ] | 2967 ] |
| 2960 } | 2968 } |
| 2961 | 2969 |
| 2970 group("angle_perftests") { | |
| 2971 testonly = true | |
| 2972 data_deps = [ | |
| 2973 "//third_party/angle/src/tests:angle_perftests", | |
| 2974 ] | |
| 2975 | |
| 2976 data = [ | |
| 2977 # Needed for isolate script to execute. | |
| 2978 "//testing/scripts/common.py", | |
| 2979 "//testing/xvfb.py", | |
| 2980 "//testing/scripts/run_gtest_perf_test.py", | |
| 2981 "//tools/perf/generate_legacy_perf_dashboard_json.py", | |
| 2982 ] | |
|
Dirk Pranke
2016/11/10 00:26:18
We should create a common target or targets in //t
eyaich1
2016/11/10 15:11:27
Since this references something in tools/perf we c
| |
| 2983 } | |
|
Dirk Pranke
2016/11/10 00:26:18
Later, in a separate patch, can we move these targ
eyaich1
2016/11/10 15:11:27
The problem is angle_perftests lives in third_part
| |
| 2984 | |
| 2962 js2gtest("unit_tests_js") { | 2985 js2gtest("unit_tests_js") { |
| 2963 test_type = "unit" | 2986 test_type = "unit" |
| 2964 sources = [ | 2987 sources = [ |
| 2965 "../browser/resources/google_now/background_unittest.gtestjs", | 2988 "../browser/resources/google_now/background_unittest.gtestjs", |
| 2966 "../browser/resources/google_now/cards_unittest.gtestjs", | 2989 "../browser/resources/google_now/cards_unittest.gtestjs", |
| 2967 "../browser/resources/google_now/utility_unittest.gtestjs", | 2990 "../browser/resources/google_now/utility_unittest.gtestjs", |
| 2968 "../browser/resources/md_downloads/action_service_unittest.gtestjs", | 2991 "../browser/resources/md_downloads/action_service_unittest.gtestjs", |
| 2969 "../browser/resources/print_preview/data/measurement_system_unittest.gtestjs ", | 2992 "../browser/resources/print_preview/data/measurement_system_unittest.gtestjs ", |
| 2970 "../browser/resources/print_preview/print_preview_utils_unittest.gtestjs", | 2993 "../browser/resources/print_preview/print_preview_utils_unittest.gtestjs", |
| 2971 "../renderer/resources/extensions/notifications_custom_bindings.gtestjs", | 2994 "../renderer/resources/extensions/notifications_custom_bindings.gtestjs", |
| (...skipping 1994 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4966 "//chrome/renderer", | 4989 "//chrome/renderer", |
| 4967 "//components/about_handler", | 4990 "//components/about_handler", |
| 4968 "//components/autofill/content/renderer:test_support", | 4991 "//components/autofill/content/renderer:test_support", |
| 4969 "//content/test:test_support", | 4992 "//content/test:test_support", |
| 4970 "//media/cast:test_support", | 4993 "//media/cast:test_support", |
| 4971 "//testing/gmock", | 4994 "//testing/gmock", |
| 4972 "//testing/gtest", | 4995 "//testing/gtest", |
| 4973 "//testing/perf", | 4996 "//testing/perf", |
| 4974 ] | 4997 ] |
| 4975 | 4998 |
| 4999 data = [ | |
| 5000 # Needed for isolate script to execute. | |
| 5001 "//testing/scripts/common.py", | |
| 5002 "//testing/xvfb.py", | |
| 5003 "//testing/scripts/run_gtest_perf_test.py", | |
| 5004 "//tools/perf/generate_legacy_perf_dashboard_json.py", | |
| 5005 ] | |
| 5006 | |
| 4976 if (is_win) { | 5007 if (is_win) { |
| 4977 configs -= [ "//build/config/win:default_incremental_linking" ] | 5008 configs -= [ "//build/config/win:default_incremental_linking" ] |
| 4978 configs += | 5009 configs += |
| 4979 [ "//build/config/win:default_large_module_incremental_linking" ] | 5010 [ "//build/config/win:default_large_module_incremental_linking" ] |
| 4980 deps += [ "//chrome/app:command_ids" ] | 5011 deps += [ "//chrome/app:command_ids" ] |
| 4981 } else { | 5012 } else { |
| 4982 sources -= [ "../app/chrome_version.rc.version" ] | 5013 sources -= [ "../app/chrome_version.rc.version" ] |
| 4983 } | 5014 } |
| 4984 if (!is_mac) { | 5015 if (!is_mac) { |
| 4985 sources -= [ "perf/mach_ports_performancetest.cc" ] | 5016 sources -= [ "perf/mach_ports_performancetest.cc" ] |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 5055 "touch_hud", | 5086 "touch_hud", |
| 5056 "ui", | 5087 "ui", |
| 5057 ] | 5088 ] |
| 5058 | 5089 |
| 5059 if (is_linux && !is_android) { | 5090 if (is_linux && !is_android) { |
| 5060 deps += [ "//components/font_service:manifest" ] | 5091 deps += [ "//components/font_service:manifest" ] |
| 5061 packaged_services += [ "font_service" ] | 5092 packaged_services += [ "font_service" ] |
| 5062 } | 5093 } |
| 5063 } | 5094 } |
| 5064 } | 5095 } |
| OLD | NEW |