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

Side by Side Diff: BUILD.gn

Issue 1350023003: Add a Mojo EDK for Chrome that uses one OS pipe per message pipe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move to mojo::edk namespace in preparation for runtim flag Created 5 years, 3 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 | « no previous file | base/files/file_path_watcher_win.cc » ('j') | chrome/browser/BUILD.gn » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 # This is the root build file for GN. GN will start processing by loading this 5 # This is the root build file for GN. GN will start processing by loading this
6 # file, and recursively load all dependencies until all dependencies are either 6 # file, and recursively load all dependencies until all dependencies are either
7 # resolved or known not to exist (which will cause the build to fail). So if 7 # resolved or known not to exist (which will cause the build to fail). So if
8 # you add a new build file, there must be some path of dependencies from this 8 # you add a new build file, there must be some path of dependencies from this
9 # file to your new one or GN won't know about it. 9 # file to your new one or GN won't know about it.
10 10
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 "//ppapi/examples/video_decode", 142 "//ppapi/examples/video_decode",
143 "//ppapi/examples/video_effects", 143 "//ppapi/examples/video_effects",
144 "//ppapi/examples/video_encode", 144 "//ppapi/examples/video_encode",
145 "//printing:printing_unittests", 145 "//printing:printing_unittests",
146 "//third_party/WebKit/Source/platform:heap_unittests", 146 "//third_party/WebKit/Source/platform:heap_unittests",
147 "//third_party/WebKit/Source/platform:platform_unittests", 147 "//third_party/WebKit/Source/platform:platform_unittests",
148 "//third_party/WebKit/Source/web:webkit_unit_tests", 148 "//third_party/WebKit/Source/web:webkit_unit_tests",
149 "//third_party/WebKit/Source/wtf:wtf_unittests", 149 "//third_party/WebKit/Source/wtf:wtf_unittests",
150 "//third_party/cacheinvalidation:cacheinvalidation_unittests", 150 "//third_party/cacheinvalidation:cacheinvalidation_unittests",
151 "//third_party/codesighs", 151 "//third_party/codesighs",
152 "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests",
153 "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests",
154 "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests",
155 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests",
156 "//third_party/mojo/src/mojo/edk/test:mojo_public_utility_unittests",
157 "//third_party/pdfium/samples:pdfium_test", 152 "//third_party/pdfium/samples:pdfium_test",
158 "//third_party/smhasher:pmurhash", 153 "//third_party/smhasher:pmurhash",
159 "//tools/imagediff($host_toolchain)", 154 "//tools/imagediff($host_toolchain)",
160 "//tools/gn", 155 "//tools/gn",
161 "//tools/gn:gn_unittests", 156 "//tools/gn:gn_unittests",
162 "//tools/gn:generate_test_gn_data", 157 "//tools/gn:generate_test_gn_data",
163 "//tools/telemetry:bitmaptools($host_toolchain)", 158 "//tools/telemetry:bitmaptools($host_toolchain)",
164 "//ui/accessibility:accessibility_unittests", 159 "//ui/accessibility:accessibility_unittests",
165 "//ui/app_list:app_list_unittests", 160 "//ui/app_list:app_list_unittests",
166 "//ui/display:display_unittests", 161 "//ui/display:display_unittests",
167 "//ui/events:events_unittests", 162 "//ui/events:events_unittests",
168 "//ui/gl:gl_unittests", 163 "//ui/gl:gl_unittests",
169 "//ui/touch_selection:ui_touch_selection_unittests", 164 "//ui/touch_selection:ui_touch_selection_unittests",
170 ] 165 ]
166
167 if (use_chrome_edk) {
168 deps += [
169 "//mojo/edk/system:mojo_system_unittests",
170 "//mojo/edk/test:mojo_public_bindings_unittests",
171 "//mojo/edk/test:mojo_public_environment_unittests",
172 "//mojo/edk/test:mojo_public_system_unittests",
173 "//mojo/edk/test:mojo_public_utility_unittests",
174 ]
175 } else {
176 deps += [
177 "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests",
178 "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests",
179 "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests" ,
180 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests",
181 "//third_party/mojo/src/mojo/edk/test:mojo_public_utility_unittests",
182 ]
183 }
171 } 184 }
172 185
173 deps += root_extra_deps 186 deps += root_extra_deps
174 187
175 if (enable_extensions && !is_mac) { 188 if (enable_extensions && !is_mac) {
176 # TODO(GYP): Get this working on the mac? 189 # TODO(GYP): Get this working on the mac?
177 deps += [ "//extensions/shell:app_shell_unittests" ] 190 deps += [ "//extensions/shell:app_shell_unittests" ]
178 } 191 }
179 192
180 if (enable_media_router) { 193 if (enable_media_router) {
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 472
460 "//gpu/khronos_glcts_support:khronos_glcts_test", # TODO(GYP) crbug.com/4 71903 to make this complete. 473 "//gpu/khronos_glcts_support:khronos_glcts_test", # TODO(GYP) crbug.com/4 71903 to make this complete.
461 "//media/cast:cast_benchmarks", 474 "//media/cast:cast_benchmarks",
462 "//media/cast:tap_proxy", 475 "//media/cast:tap_proxy",
463 "//mojo/application/public/cpp", 476 "//mojo/application/public/cpp",
464 "//skia:filter_fuzz_stub", 477 "//skia:filter_fuzz_stub",
465 "//skia:image_operations_bench", 478 "//skia:image_operations_bench",
466 "//sync/tools:sync_client", 479 "//sync/tools:sync_client",
467 "//sync/tools:sync_listen_notifications", 480 "//sync/tools:sync_listen_notifications",
468 "//testing/gmock:gmock_main", 481 "//testing/gmock:gmock_main",
469 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_perftests",
470 "//tools/perf/clear_system_cache", 482 "//tools/perf/clear_system_cache",
471 "//ui/keyboard:keyboard_unittests", 483 "//ui/keyboard:keyboard_unittests",
472 "//ui/message_center:message_center_unittests", 484 "//ui/message_center:message_center_unittests",
473 "//ui/snapshot:snapshot_unittests", 485 "//ui/snapshot:snapshot_unittests",
474 "//ui/views/examples:views_examples_with_content_exe", 486 "//ui/views/examples:views_examples_with_content_exe",
475 487
476 "//third_party/codesighs:nm2tsv", 488 "//third_party/codesighs:nm2tsv",
477 "//third_party/sqlite:sqlite_shell", 489 "//third_party/sqlite:sqlite_shell",
478 ] 490 ]
479 491
492 if (use_chrome_edk) {
493 deps += [ "//mojo/edk/test:mojo_public_system_perftests" ]
494 } else {
495 deps += [ "//third_party/mojo/src/mojo/edk/test:mojo_public_system_perftes ts" ]
496 }
497
480 if (current_toolchain == host_toolchain) { 498 if (current_toolchain == host_toolchain) {
481 # Do not build the breakpad utilities in cross-compiles. 499 # Do not build the breakpad utilities in cross-compiles.
482 deps += [ 500 deps += [
483 "//breakpad:dump_syms", 501 "//breakpad:dump_syms",
484 "//breakpad:microdump_stackwalk", 502 "//breakpad:microdump_stackwalk",
485 "//breakpad:minidump_dump", 503 "//breakpad:minidump_dump",
486 "//breakpad:minidump_stackwalk", 504 "//breakpad:minidump_stackwalk",
487 ] 505 ]
488 } 506 }
489 507
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
723 "//content/test:web_ui_test_mojo_bindings_python", 741 "//content/test:web_ui_test_mojo_bindings_python",
724 "//device/battery:mojo_bindings_python", 742 "//device/battery:mojo_bindings_python",
725 "//device/vibration:mojo_bindings_python", 743 "//device/vibration:mojo_bindings_python",
726 "//ipc/mojo:ipc_mojo_perftests", 744 "//ipc/mojo:ipc_mojo_perftests",
727 "//ipc/mojo:client_channel_python", 745 "//ipc/mojo:client_channel_python",
728 "//media/mojo/interfaces:interfaces_python", 746 "//media/mojo/interfaces:interfaces_python",
729 "//media/mojo/services:cdm_service", 747 "//media/mojo/services:cdm_service",
730 "//media/mojo:tests", 748 "//media/mojo:tests",
731 "//mojo:tests", 749 "//mojo:tests",
732 "//net/interfaces:interfaces_python", 750 "//net/interfaces:interfaces_python",
733 "//third_party/mojo/src/mojo/edk/js/test:js_integration_tests",
734 "//third_party/mojo/src/mojo/edk/js/tests:js_to_cpp_bindings_python",
735 "//third_party/mojo/src/mojo/public/python:packaged_application", 751 "//third_party/mojo/src/mojo/public/python:packaged_application",
736 "//third_party/mojo/src/mojo/public/python:packaged_bindings", 752 "//third_party/mojo/src/mojo/public/python:packaged_bindings",
737 "//third_party/mojo_services/src/accessibility/public/interfaces:interface s_python", 753 "//third_party/mojo_services/src/accessibility/public/interfaces:interface s_python",
738 ] 754 ]
755
756 if (use_chrome_edk) {
757 deps += [
758 "//mojo/edk/js/test:js_integration_tests",
759 "//mojo/edk/js/tests:js_to_cpp_bindings_python",
760 ]
761 } else {
762 deps += [
763 "//third_party/mojo/src/mojo/edk/js/test:js_integration_tests",
764 "//third_party/mojo/src/mojo/edk/js/tests:js_to_cpp_bindings_python",
Ken Rockot(use gerrit already) 2015/09/23 22:32:17 all the python bindings refs should be removed
765 ]
766 }
739 } 767 }
740 } 768 }
741 769
742 group("gn_visibility") { 770 group("gn_visibility") {
743 deps = [ 771 deps = [
744 "//build/config/sanitizers:options_sources", 772 "//build/config/sanitizers:options_sources",
745 773
746 # "//third_party/pdfium:pdfium_embeddertests", # TODO(GYP): visibility? 774 # "//third_party/pdfium:pdfium_embeddertests", # TODO(GYP): visibility?
747 # "//third_party/pdfium:pdfium_unittests", # TODO(GYP): visibility? 775 # "//third_party/pdfium:pdfium_unittests", # TODO(GYP): visibility?
748 776
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
848 "//mojo/common:mojo_common_unittests", # PASSES 2/25/2015 876 "//mojo/common:mojo_common_unittests", # PASSES 2/25/2015
849 "//net:net_unittests", # PASSES 2/25/2015 877 "//net:net_unittests", # PASSES 2/25/2015
850 "//ppapi:ppapi_unittests", # PASSES 2/26/2015 878 "//ppapi:ppapi_unittests", # PASSES 2/26/2015
851 "//printing:printing_unittests", # PASSES 2/25/2015 879 "//printing:printing_unittests", # PASSES 2/25/2015
852 "//remoting:remoting_unittests", # PASSES 4/17/2015 880 "//remoting:remoting_unittests", # PASSES 4/17/2015
853 "//sandbox/linux:sandbox_linux_unittests", # PASSES 2/25/2015 881 "//sandbox/linux:sandbox_linux_unittests", # PASSES 2/25/2015
854 "//skia:skia_unittests", # PASSES 2/25/2015 882 "//skia:skia_unittests", # PASSES 2/25/2015
855 "//sql:sql_unittests", # PASSES 2/25/2015 883 "//sql:sql_unittests", # PASSES 2/25/2015
856 "//sync:sync_unit_tests", # PASSES 2/25/2015 884 "//sync:sync_unit_tests", # PASSES 2/25/2015
857 "//third_party/cacheinvalidation:cacheinvalidation_unittests", # PASSES 2 /25/2015 885 "//third_party/cacheinvalidation:cacheinvalidation_unittests", # PASSES 2 /25/2015
858 "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests", # PASSES 2/25/2015
859 "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests", # PASSES 2/25/2015
860 "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests", # PASSES 2/25/2015
861 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests", # PA SSES 2/25/2015
862 "//third_party/mojo/src/mojo/edk/test:mojo_public_utility_unittests",
863 "//ui/accessibility:accessibility_unittests", # PASSES 2/25/2015 886 "//ui/accessibility:accessibility_unittests", # PASSES 2/25/2015
864 "//ui/app_list:app_list_unittests", # PASSES 2/25/2015 887 "//ui/app_list:app_list_unittests", # PASSES 2/25/2015
865 "//ui/aura:aura_unittests", # PASSES 2/25/2015 888 "//ui/aura:aura_unittests", # PASSES 2/25/2015
866 "//ui/base:ui_base_unittests", # PASSES 4/17/2015 889 "//ui/base:ui_base_unittests", # PASSES 4/17/2015
867 "//ui/compositor:compositor_unittests", # PASSES 2/25/2015 890 "//ui/compositor:compositor_unittests", # PASSES 2/25/2015
868 "//ui/display:display_unittests", # PASSES 2/25/2015 891 "//ui/display:display_unittests", # PASSES 2/25/2015
869 "//ui/events:events_unittests", # PASSES 2/25/2015 892 "//ui/events:events_unittests", # PASSES 2/25/2015
870 "//ui/gfx:gfx_unittests", # PASSES 2/25/2015 893 "//ui/gfx:gfx_unittests", # PASSES 2/25/2015
871 "//ui/gl:gl_unittests", 894 "//ui/gl:gl_unittests",
872 "//ui/touch_selection:ui_touch_selection_unittests", # PASSES 2/25/2015 895 "//ui/touch_selection:ui_touch_selection_unittests", # PASSES 2/25/2015
873 "//ui/views:views_unittests", # PASSES (*) 2/25/2015 896 "//ui/views:views_unittests", # PASSES (*) 2/25/2015
874 "//ui/wm:wm_unittests", # PASSES 2/25/2015 897 "//ui/wm:wm_unittests", # PASSES 2/25/2015
875 "//url:url_unittests", # PASSES 2/25/2015 898 "//url:url_unittests", # PASSES 2/25/2015
876 899
877 # Note: 900 # Note:
878 # (*) Fails but failures match GYP build at time of testing. 901 # (*) Fails but failures match GYP build at time of testing.
879 ] 902 ]
880 903
904 if (use_chrome_edk) {
905 deps += [
906 "//mojo/edk/system:mojo_system_unittests", # PASSES 2/25/2015
907 "//mojo/edk/test:mojo_public_bindings_unittests", # PASSES 2/25/2015
908 "//mojo/edk/test:mojo_public_environment_unittests", # PASSES 2/25/2015
909 "//mojo/edk/test:mojo_public_system_unittests", # PASSES 2/25/2015
910 "//mojo/edk/test:mojo_public_utility_unittests",
911 ]
912 } else {
913 deps += [
914 "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests", # PASSE S 2/25/2015
915 "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests", # PASSES 2/25/2015
916 "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests" , # PASSES 2/25/2015
917 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests", # PASSES 2/25/2015
918 "//third_party/mojo/src/mojo/edk/test:mojo_public_utility_unittests",
919 ]
920 }
921
881 if (enable_nacl) { 922 if (enable_nacl) {
882 deps += [ "//components/nacl:nacl_loader_unittests" ] # PASSES 3/28/2015 923 deps += [ "//components/nacl:nacl_loader_unittests" ] # PASSES 3/28/2015
883 } 924 }
884 } 925 }
885 } else if (is_win) { 926 } else if (is_win) {
886 group("windows_default_tests") { 927 group("windows_default_tests") {
887 testonly = true 928 testonly = true
888 deps = [ 929 deps = [
889 "//ash:ash_unittests", # FAILS 4/20/2015 930 "//ash:ash_unittests", # FAILS 4/20/2015
890 "//base:base_unittests", # PASSES 4/20/2015 931 "//base:base_unittests", # PASSES 4/20/2015
(...skipping 29 matching lines...) Expand all
920 "//ppapi:ppapi_unittests", # PASSES 4/17/2015 961 "//ppapi:ppapi_unittests", # PASSES 4/17/2015
921 "//printing:printing_unittests", # PASSES 4/17/2015 962 "//printing:printing_unittests", # PASSES 4/17/2015
922 "//remoting:remoting_unittests", # PASSES 4/17/2015 963 "//remoting:remoting_unittests", # PASSES 4/17/2015
923 "//sandbox/win:sbox_integration_tests", # PASSES 4/20/2015 964 "//sandbox/win:sbox_integration_tests", # PASSES 4/20/2015
924 "//sandbox/win:sbox_unittests", # PASSES 4/20/2015 965 "//sandbox/win:sbox_unittests", # PASSES 4/20/2015
925 "//sandbox/win:sbox_validation_tests", # PASSES 4/20/2015 966 "//sandbox/win:sbox_validation_tests", # PASSES 4/20/2015
926 "//skia:skia_unittests", # PASSES 4/17/2015 967 "//skia:skia_unittests", # PASSES 4/17/2015
927 "//sql:sql_unittests", # PASSES 4/17/2015 968 "//sql:sql_unittests", # PASSES 4/17/2015
928 "//sync:sync_unit_tests", # PASSES 4/20/2015 969 "//sync:sync_unit_tests", # PASSES 4/20/2015
929 "//third_party/cacheinvalidation:cacheinvalidation_unittests", # PASSES 4 /20/2015 970 "//third_party/cacheinvalidation:cacheinvalidation_unittests", # PASSES 4 /20/2015
930 "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests", # Seems t o hang?
931 "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests", # FAILS
932 "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests", # PASSES 4/20/2015
933 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests", # PA SSES 4/20/2015
934 "//third_party/mojo/src/mojo/edk/test:mojo_public_utility_unittests", # P ASSES 4/20/2015
935 "//ui/accessibility:accessibility_unittests", # PASSES 4/20/2015 971 "//ui/accessibility:accessibility_unittests", # PASSES 4/20/2015
936 "//ui/app_list:app_list_unittests", # PASSES 4/20/2015 972 "//ui/app_list:app_list_unittests", # PASSES 4/20/2015
937 "//ui/aura:aura_unittests", # PASSES 4/17/2015 973 "//ui/aura:aura_unittests", # PASSES 4/17/2015
938 "//ui/base:ui_base_unittests", # PASSES 4/20/2015 974 "//ui/base:ui_base_unittests", # PASSES 4/20/2015
939 "//ui/compositor:compositor_unittests", # PASSES 4/20/2015 975 "//ui/compositor:compositor_unittests", # PASSES 4/20/2015
940 "//ui/display:display_unittests", # PASSES 4/20/2015 976 "//ui/display:display_unittests", # PASSES 4/20/2015
941 "//ui/events:events_unittests", # PASSES 4/20/2015 977 "//ui/events:events_unittests", # PASSES 4/20/2015
942 "//ui/gfx:gfx_unittests", # PASSES (with assertion failure?) 4/20/2015 978 "//ui/gfx:gfx_unittests", # PASSES (with assertion failure?) 4/20/2015
943 "//ui/gl:gl_unittests", 979 "//ui/gl:gl_unittests",
944 "//ui/message_center:message_center_unittests", # PASSES 4/20/2015 980 "//ui/message_center:message_center_unittests", # PASSES 4/20/2015
945 "//ui/touch_selection:ui_touch_selection_unittests", # PASSES 4/20/2015 981 "//ui/touch_selection:ui_touch_selection_unittests", # PASSES 4/20/2015
946 "//ui/views:views_unittests", # TooltipControllerTest failures 982 "//ui/views:views_unittests", # TooltipControllerTest failures
947 "//ui/wm:wm_unittests", # PASSES 4/21/2015 983 "//ui/wm:wm_unittests", # PASSES 4/21/2015
948 "//url:url_unittests", # PASSES 4/17/2015 984 "//url:url_unittests", # PASSES 4/17/2015
949 985
950 # TODO(GYP) nacl_integration 986 # TODO(GYP) nacl_integration
951 # TODO(GYP) telemetry_perf_unittests 987 # TODO(GYP) telemetry_perf_unittests
952 # TODO(GYP) telemetry_unittests 988 # TODO(GYP) telemetry_unittests
953 ] 989 ]
990
991 if (use_chrome_edk) {
992 deps += [
993 "//mojo/edk/system:mojo_system_unittests", # Seems to hang?
994 "//mojo/edk/test:mojo_public_bindings_unittests", # FAILS
995 "//mojo/edk/test:mojo_public_environment_unittests", # PASSES 4/20/2015
996 "//mojo/edk/test:mojo_public_system_unittests", # PASSES 4/20/2015
997 "//mojo/edk/test:mojo_public_utility_unittests", # PASSES 4/20/2015
998 ]
999 } else {
1000 deps += [
1001 "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests", # Seems to hang?
1002 "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests", # FAILS
1003 "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests" , # PASSES 4/20/2015
1004 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests", # PASSES 4/20/2015
1005 "//third_party/mojo/src/mojo/edk/test:mojo_public_utility_unittests", # PASSES 4/20/2015
1006 ]
1007 }
954 } 1008 }
955 } 1009 }
OLDNEW
« no previous file with comments | « no previous file | base/files/file_path_watcher_win.cc » ('j') | chrome/browser/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698