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

Side by Side Diff: chrome/test/BUILD.gn

Issue 2354803002: Create Monochrome-specific repack() targets (Closed)
Patch Set: fix arm64 Created 4 years, 2 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/chrome_paks.gni ('k') | no next file » | 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/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 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 "$root_out_dir/test_page.css", 447 "$root_out_dir/test_page.css",
448 "$root_out_dir/test_page.css.mock-http-headers", 448 "$root_out_dir/test_page.css.mock-http-headers",
449 "$root_out_dir/ui_test.pak", 449 "$root_out_dir/ui_test.pak",
450 ] 450 ]
451 if (is_linux || is_win) { 451 if (is_linux || is_win) {
452 data += [ 452 data += [
453 "$root_out_dir/chrome_100_percent.pak", 453 "$root_out_dir/chrome_100_percent.pak",
454 "$root_out_dir/chrome_200_percent.pak", 454 "$root_out_dir/chrome_200_percent.pak",
455 "$root_out_dir/locales/en-US.pak", 455 "$root_out_dir/locales/en-US.pak",
456 "$root_out_dir/locales/fr.pak", 456 "$root_out_dir/locales/fr.pak",
457 "$root_out_dir/resources.pak",
457 ] 458 ]
458 } 459 }
459 if (is_linux) { 460 if (is_linux) {
460 data += [ "$root_out_dir/libppapi_tests.so" ] 461 data += [ "$root_out_dir/libppapi_tests.so" ]
461 } 462 }
462 463
463 if (!is_mac) {
464 data_deps += [ "//chrome:packed_extra_resources" ]
465 }
466
467 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] 464 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
468 ldflags = [] 465 ldflags = []
469 466
470 deps = [ 467 deps = [
471 ":test_support", 468 ":test_support",
472 ":test_support_ui", 469 ":test_support_ui",
473 "//chrome:packed_extra_resources",
474 "//chrome:packed_resources", 470 "//chrome:packed_resources",
475 "//chrome:resources", 471 "//chrome:resources",
476 "//chrome:strings", 472 "//chrome:strings",
477 "//chrome/browser", 473 "//chrome/browser",
478 "//chrome/browser/devtools", 474 "//chrome/browser/devtools",
479 "//chrome/renderer", 475 "//chrome/renderer",
480 "//components/resources", 476 "//components/resources",
481 "//components/sync", 477 "//components/sync",
482 "//components/sync:test_support_sync_api", 478 "//components/sync:test_support_sync_api",
483 "//content/app/resources", 479 "//content/app/resources",
(...skipping 1364 matching lines...) Expand 10 before | Expand all | Expand 10 after
1848 "ppapi/ppapi_filechooser_browsertest.cc", 1844 "ppapi/ppapi_filechooser_browsertest.cc",
1849 ] 1845 ]
1850 1846
1851 deps += [ 1847 deps += [
1852 ":browser_tests_js_webui", 1848 ":browser_tests_js_webui",
1853 ":sync_integration_test_support", 1849 ":sync_integration_test_support",
1854 ":test_support_ui", 1850 ":test_support_ui",
1855 "//base:i18n", 1851 "//base:i18n",
1856 "//base/test:test_support", 1852 "//base/test:test_support",
1857 "//chrome:browser_tests_pak", 1853 "//chrome:browser_tests_pak",
1858 "//chrome:packed_extra_resources",
1859 "//chrome:packed_resources", 1854 "//chrome:packed_resources",
1860 "//chrome:resources", 1855 "//chrome:resources",
1861 "//chrome:strings", 1856 "//chrome:strings",
1862 "//chrome/browser", 1857 "//chrome/browser",
1863 "//chrome/browser/resources:extension_resource_demo", 1858 "//chrome/browser/resources:extension_resource_demo",
1864 "//chrome/renderer", 1859 "//chrome/renderer",
1865 "//components/autofill/content/browser:risk_proto", 1860 "//components/autofill/content/browser:risk_proto",
1866 "//components/autofill/content/renderer:test_support", 1861 "//components/autofill/content/renderer:test_support",
1867 "//components/captive_portal:test_support", 1862 "//components/captive_portal:test_support",
1868 "//components/dom_distiller/content/browser", 1863 "//components/dom_distiller/content/browser",
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
2413 "../browser/ui/ash/launcher/chrome_launcher_controller_impl_browsertest. cc", 2408 "../browser/ui/ash/launcher/chrome_launcher_controller_impl_browsertest. cc",
2414 "../browser/ui/ash/launcher/launcher_favicon_loader_browsertest.cc", 2409 "../browser/ui/ash/launcher/launcher_favicon_loader_browsertest.cc",
2415 "../browser/ui/ash/shelf_browsertest.cc", 2410 "../browser/ui/ash/shelf_browsertest.cc",
2416 ] 2411 ]
2417 2412
2418 if (toolkit_views) { 2413 if (toolkit_views) {
2419 sources -= [ "../browser/ui/views/frame/browser_non_client_frame_view_as h_browsertest.cc" ] 2414 sources -= [ "../browser/ui/views/frame/browser_non_client_frame_view_as h_browsertest.cc" ]
2420 } 2415 }
2421 } 2416 }
2422 if (is_mac) { 2417 if (is_mac) {
2423 # Other platforms only need {packed_extra_resources,packed_resources}, 2418 # Other platforms only need .pak files, and can build this target
2424 # and can build this target standalone much faster. 2419 # standalone much faster.
2425 deps += [ 2420 deps += [
2426 "//chrome", 2421 "//chrome",
2427 "//chrome/common:app_mode_app_support", 2422 "//chrome/common:app_mode_app_support",
2428 2423
2429 # TODO(GYP) Mac: GYP has this dependency. Uncommenting this line 2424 # TODO(GYP) Mac: GYP has this dependency. Uncommenting this line
2430 # generates duplicate symbols between 2425 # generates duplicate symbols between
2431 # obj/components/crash/content/app/breakpad_stubs/crash_reporter_clien t.o 2426 # obj/components/crash/content/app/breakpad_stubs/crash_reporter_clien t.o
2432 # obj/components/crash/content/app/lib/crash_reporter_client.o 2427 # obj/components/crash/content/app/lib/crash_reporter_client.o
2433 # It's not clear how this is supposed to work. The intent seems to be 2428 # It's not clear how this is supposed to work. The intent seems to be
2434 # to not link breakpad in the tests. The dependency on .../app:lib 2429 # to not link breakpad in the tests. The dependency on .../app:lib
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
2718 "//third_party/pywebsocket/", 2713 "//third_party/pywebsocket/",
2719 "//third_party/tlslite/", 2714 "//third_party/tlslite/",
2720 "$root_out_dir/pyproto/", 2715 "$root_out_dir/pyproto/",
2721 ] 2716 ]
2722 2717
2723 if (is_linux || is_win) { 2718 if (is_linux || is_win) {
2724 data += [ 2719 data += [
2725 "$root_out_dir/chrome_100_percent.pak", 2720 "$root_out_dir/chrome_100_percent.pak",
2726 "$root_out_dir/chrome_200_percent.pak", 2721 "$root_out_dir/chrome_200_percent.pak",
2727 "$root_out_dir/locales/en-US.pak", 2722 "$root_out_dir/locales/en-US.pak",
2723 "$root_out_dir/resources.pak",
2728 ] 2724 ]
2729 } 2725 }
2730 2726
2731 # TODO(phajdan.jr): Only temporary, to make transition easier. 2727 # TODO(phajdan.jr): Only temporary, to make transition easier.
2732 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] 2728 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
2733 2729
2734 deps = [ 2730 deps = [
2735 ":browser_tests_runner", 2731 ":browser_tests_runner",
2736 ":sync_integration_test_support", 2732 ":sync_integration_test_support",
2737 ":test_support", 2733 ":test_support",
2738 ":test_support_ui", 2734 ":test_support_ui",
2739 "//chrome:packed_extra_resources",
2740 "//chrome:packed_resources", 2735 "//chrome:packed_resources",
2741 "//chrome:resources", 2736 "//chrome:resources",
2742 "//chrome:strings", 2737 "//chrome:strings",
2743 "//chrome/app:chrome_dll_resources", 2738 "//chrome/app:chrome_dll_resources",
2744 "//chrome/app:command_ids", 2739 "//chrome/app:command_ids",
2745 "//chrome/common", 2740 "//chrome/common",
2746 "//chrome/renderer", 2741 "//chrome/renderer",
2747 "//components/sync", 2742 "//components/sync",
2748 "//crypto:platform", 2743 "//crypto:platform",
2749 "//testing/gmock", 2744 "//testing/gmock",
2750 "//testing/gtest", 2745 "//testing/gtest",
2751 "//third_party/WebKit/public:blink", 2746 "//third_party/WebKit/public:blink",
2752 "//third_party/icu", 2747 "//third_party/icu",
2753 "//third_party/leveldatabase", 2748 "//third_party/leveldatabase",
2754 ] 2749 ]
2755 2750
2756 data_deps = [ 2751 data_deps = [
2757 "//third_party/mesa:osmesa", 2752 "//third_party/mesa:osmesa",
2758 ] 2753 ]
2759 2754
2760 if (!is_mac) {
2761 data_deps += [ "//chrome:packed_extra_resources" ]
2762 }
2763
2764 if (is_mac) { 2755 if (is_mac) {
2765 # Dictionary sync is disabled on Mac. 2756 # Dictionary sync is disabled on Mac.
2766 sources -= [ 2757 sources -= [
2767 "../browser/sync/test/integration/single_client_dictionary_sync_test.cc" , 2758 "../browser/sync/test/integration/single_client_dictionary_sync_test.cc" ,
2768 "../browser/sync/test/integration/two_client_dictionary_sync_test.cc", 2759 "../browser/sync/test/integration/two_client_dictionary_sync_test.cc",
2769 ] 2760 ]
2770 2761
2771 data_deps += [ 2762 data_deps += [
2772 "//chrome", 2763 "//chrome",
2773 "//chrome:chrome_framework", 2764 "//chrome:chrome_framework",
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after
3359 "//third_party/pywebsocket/", 3350 "//third_party/pywebsocket/",
3360 "//third_party/tlslite/", 3351 "//third_party/tlslite/",
3361 "//third_party/zlib/google/test/data/", 3352 "//third_party/zlib/google/test/data/",
3362 "//tools/metrics/histograms/histograms.xml", 3353 "//tools/metrics/histograms/histograms.xml",
3363 "$root_out_dir/pyproto/google/", 3354 "$root_out_dir/pyproto/google/",
3364 ] 3355 ]
3365 if (is_android || is_linux || is_win) { 3356 if (is_android || is_linux || is_win) {
3366 data += [ 3357 data += [
3367 "$root_out_dir/chrome_100_percent.pak", 3358 "$root_out_dir/chrome_100_percent.pak",
3368 "$root_out_dir/locales/en-US.pak", 3359 "$root_out_dir/locales/en-US.pak",
3360 "$root_out_dir/resources.pak",
3369 ] 3361 ]
3370 } 3362 }
3371 if (is_linux || is_win) { 3363 if (is_linux || is_win) {
3372 data += [ "$root_out_dir/chrome_200_percent.pak" ] 3364 data += [ "$root_out_dir/chrome_200_percent.pak" ]
3373 } 3365 }
3374 3366
3375 defines = [] 3367 defines = []
3376 3368
3377 deps = [ 3369 deps = [
3378 # NOTE: New dependencies should generally be added in the OS!="ios" 3370 # NOTE: New dependencies should generally be added in the OS!="ios"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
3446 "//third_party/webrtc/modules/desktop_capture", 3438 "//third_party/webrtc/modules/desktop_capture",
3447 "//tools/json_schema_compiler/test:schema_test", 3439 "//tools/json_schema_compiler/test:schema_test",
3448 "//ui/gl", 3440 "//ui/gl",
3449 "//v8", 3441 "//v8",
3450 ] 3442 ]
3451 } 3443 }
3452 3444
3453 if (is_mac) { 3445 if (is_mac) {
3454 data_deps += [ "//chrome:chrome_framework" ] 3446 data_deps += [ "//chrome:chrome_framework" ]
3455 data += [ "$root_out_dir/Chromium Framework.framework/" ] 3447 data += [ "$root_out_dir/Chromium Framework.framework/" ]
3456 } else {
3457 data_deps += [ "//chrome:packed_extra_resources" ]
3458 } 3448 }
3459 3449
3460 if (is_android) { 3450 if (is_android) {
3461 # Offline pages are currently only on Android. 3451 # Offline pages are currently only on Android.
3462 sources += [ 3452 sources += [
3463 "../browser/android/offline_pages/offline_page_mhtml_archiver_unittest.cc" , 3453 "../browser/android/offline_pages/offline_page_mhtml_archiver_unittest.cc" ,
3464 "../browser/android/offline_pages/offline_page_request_job_unittest.cc", 3454 "../browser/android/offline_pages/offline_page_request_job_unittest.cc",
3465 "../browser/android/offline_pages/offline_page_utils_unittest.cc", 3455 "../browser/android/offline_pages/offline_page_utils_unittest.cc",
3466 "../browser/android/offline_pages/prerender_adapter_unittest.cc", 3456 "../browser/android/offline_pages/prerender_adapter_unittest.cc",
3467 "../browser/android/offline_pages/prerendering_loader_unittest.cc", 3457 "../browser/android/offline_pages/prerendering_loader_unittest.cc",
(...skipping 1107 matching lines...) Expand 10 before | Expand all | Expand 10 after
4575 "../browser/autofill/autofill_credit_card_filling_infobar_delegate_mobile_ unittest.cc", 4565 "../browser/autofill/autofill_credit_card_filling_infobar_delegate_mobile_ unittest.cc",
4576 "../browser/autofill/autofill_save_card_infobar_delegate_mobile_unittest.c c", 4566 "../browser/autofill/autofill_save_card_infobar_delegate_mobile_unittest.c c",
4577 "../browser/password_manager/account_chooser_dialog_android_unittest.cc", 4567 "../browser/password_manager/account_chooser_dialog_android_unittest.cc",
4578 "../browser/password_manager/auto_signin_first_run_dialog_android_unittest .cc", 4568 "../browser/password_manager/auto_signin_first_run_dialog_android_unittest .cc",
4579 "../browser/password_manager/save_password_infobar_delegate_android_unitte st.cc", 4569 "../browser/password_manager/save_password_infobar_delegate_android_unitte st.cc",
4580 "../browser/permissions/permission_queue_controller_unittest.cc", 4570 "../browser/permissions/permission_queue_controller_unittest.cc",
4581 ] 4571 ]
4582 } 4572 }
4583 if (!is_mac && !is_ios) { 4573 if (!is_mac && !is_ios) {
4584 deps += [ 4574 deps += [
4585 "//chrome:packed_extra_resources",
4586 "//chrome:packed_resources", 4575 "//chrome:packed_resources",
4587 "//chrome/tools/convert_dict:lib", 4576 "//chrome/tools/convert_dict:lib",
4588 "//third_party/hunspell", 4577 "//third_party/hunspell",
4589 ] 4578 ]
4590 } 4579 }
4591 if (is_win || is_mac) { 4580 if (is_win || is_mac) {
4592 sources += [ 4581 sources += [
4593 "../browser/media_galleries/fileapi/itunes_file_util_unittest.cc", 4582 "../browser/media_galleries/fileapi/itunes_file_util_unittest.cc",
4594 "../browser/media_galleries/fileapi/picasa_file_util_unittest.cc", 4583 "../browser/media_galleries/fileapi/picasa_file_util_unittest.cc",
4595 "../utility/media_galleries/itunes_library_parser_unittest.cc", 4584 "../utility/media_galleries/itunes_library_parser_unittest.cc",
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
5008 "touch_hud", 4997 "touch_hud",
5009 "ui", 4998 "ui",
5010 ] 4999 ]
5011 5000
5012 if (is_linux && !is_android) { 5001 if (is_linux && !is_android) {
5013 deps += [ "//components/font_service:manifest" ] 5002 deps += [ "//components/font_service:manifest" ]
5014 packaged_services += [ "font_service" ] 5003 packaged_services += [ "font_service" ]
5015 } 5004 }
5016 } 5005 }
5017 } 5006 }
OLDNEW
« no previous file with comments | « chrome/chrome_paks.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698