Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1069)

Side by Side Diff: components/BUILD.gn

Issue 1944943003: [Mac/GN] Start running components_unittests, components_browsertests, and unit_tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/password_manager/core/browser/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 import("//tools/grit/repack.gni") 8 import("//tools/grit/repack.gni")
9 9
10 if (is_android) { 10 if (is_android) {
11 import("//build/config/android/rules.gni") 11 import("//build/config/android/rules.gni")
12 } 12 }
13 13
14 if (is_ios) { 14 if (is_ios) {
15 import("//ios/build/config.gni") 15 import("//ios/build/config.gni")
16 } 16 }
17 17
18 if (is_ios || is_mac) { 18 if (is_ios) {
19 bundle_data("components_tests_pak_bundle_data") { 19 bundle_data("components_tests_pak_bundle_data") {
20 public_deps = [ 20 public_deps = [
21 ":components_tests_pak", 21 ":components_tests_pak",
22 "//ui/resources:ui_test_pak", 22 "//ui/resources:ui_test_pak",
23 ] 23 ]
24 sources = [ 24 sources = [
25 "$root_out_dir/components_tests_resources.pak", 25 "$root_out_dir/components_tests_resources.pak",
26 "$root_out_dir/ui_test.pak", 26 "$root_out_dir/ui_test.pak",
27 ] 27 ]
28 outputs = [ 28 outputs = [
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 "//ui/gl:test_support", 203 "//ui/gl:test_support",
204 ] 204 ]
205 205
206 data_deps = [ 206 data_deps = [
207 ":components_tests_pak", 207 ":components_tests_pak",
208 "//third_party/mesa:osmesa", 208 "//third_party/mesa:osmesa",
209 "//ui/resources:ui_test_pak", 209 "//ui/resources:ui_test_pak",
210 ] 210 ]
211 } # iOS/!iOS 211 } # iOS/!iOS
212 212
213 if (is_ios || is_mac) { 213 if (is_ios) {
214 deps += [ ":components_tests_pak_bundle_data" ] 214 deps += [ ":components_tests_pak_bundle_data" ]
215 } 215 }
216 216
217 if (is_mac) {
218 data_deps += [ "//content/shell:pak" ]
219 }
220
217 if (is_android) { 221 if (is_android) {
218 deps += [ 222 deps += [
219 "//components/gcm_driver/instance_id:test_support", 223 "//components/gcm_driver/instance_id:test_support",
220 "//components/gcm_driver/instance_id/android:instance_id_driver_java", 224 "//components/gcm_driver/instance_id/android:instance_id_driver_java",
221 "//components/gcm_driver/instance_id/android:instance_id_driver_test_suppo rt_java", 225 "//components/gcm_driver/instance_id/android:instance_id_driver_test_suppo rt_java",
222 "//components/invalidation/impl", 226 "//components/invalidation/impl",
223 "//components/invalidation/impl:java", 227 "//components/invalidation/impl:java",
224 "//components/safe_json", 228 "//components/safe_json",
225 "//components/safe_json/android:safe_json_java", 229 "//components/safe_json/android:safe_json_java",
226 "//components/signin/core/browser", 230 "//components/signin/core/browser",
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 "//testing/gtest", 418 "//testing/gtest",
415 "//ui/base", 419 "//ui/base",
416 ] 420 ]
417 421
418 data_deps = [ 422 data_deps = [
419 ":components_tests_pak", 423 ":components_tests_pak",
420 "//third_party/mesa:osmesa", 424 "//third_party/mesa:osmesa",
421 ] 425 ]
422 426
423 if (is_mac) { 427 if (is_mac) {
428 data_deps += [ "//content/shell:content_shell" ]
424 data += [ "$root_out_dir/Content Shell.app/" ] 429 data += [ "$root_out_dir/Content Shell.app/" ]
425 } 430 }
426 431
427 if (is_android) { 432 if (is_android) {
428 sources += [ "test/android/browsertests_apk/components_browser_tests_jni_o nload.cc" ] 433 sources += [ "test/android/browsertests_apk/components_browser_tests_jni_o nload.cc" ]
429 sources -= [ "autofill/content/browser/risk/fingerprint_browsertest.cc" ] 434 sources -= [ "autofill/content/browser/risk/fingerprint_browsertest.cc" ]
430 deps += [ 435 deps += [
431 "//content/public/test/android:layouttest_java_support", 436 "//content/public/test/android:layouttest_java_support",
432 "//content/test:layouttest_support", 437 "//content/test:layouttest_support",
433 "//testing/android/native_test:native_test_support", 438 "//testing/android/native_test:native_test_support",
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 "//base/test:test_support_perf", 480 "//base/test:test_support_perf",
476 "//components/scheduler", 481 "//components/scheduler",
477 "//components/visitedlink/browser", 482 "//components/visitedlink/browser",
478 "//content/test:test_support", 483 "//content/test:test_support",
479 "//testing/gtest", 484 "//testing/gtest",
480 "//testing/perf", 485 "//testing/perf",
481 "//url", 486 "//url",
482 ] 487 ]
483 } 488 }
484 } 489 }
OLDNEW
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/password_manager/core/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698