| OLD | NEW |
| 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 } | 119 } |
| 120 | 120 |
| 121 group("chrome_official_builder") { | 121 group("chrome_official_builder") { |
| 122 testonly = true | 122 testonly = true |
| 123 | 123 |
| 124 deps = [ | 124 deps = [ |
| 125 ":chrome_official_builder_no_unittests", | 125 ":chrome_official_builder_no_unittests", |
| 126 "//base:base_unittests", | 126 "//base:base_unittests", |
| 127 "//chrome/test:browser_tests", | 127 "//chrome/test:browser_tests", |
| 128 "//chrome/test:sync_integration_tests", | 128 "//chrome/test:sync_integration_tests", |
| 129 "//components/sync:sync_unit_tests", |
| 129 "//ipc:ipc_tests", | 130 "//ipc:ipc_tests", |
| 130 "//media:media_unittests", | 131 "//media:media_unittests", |
| 131 "//media/midi:midi_unittests", | 132 "//media/midi:midi_unittests", |
| 132 "//net:net_unittests", | 133 "//net:net_unittests", |
| 133 "//printing:printing_unittests", | 134 "//printing:printing_unittests", |
| 134 "//sql:sql_unittests", | 135 "//sql:sql_unittests", |
| 135 "//sync:sync_unit_tests", | |
| 136 "//ui/base:ui_base_unittests", | 136 "//ui/base:ui_base_unittests", |
| 137 "//ui/gfx:gfx_unittests", | 137 "//ui/gfx:gfx_unittests", |
| 138 "//ui/touch_selection:ui_touch_selection_unittests", | 138 "//ui/touch_selection:ui_touch_selection_unittests", |
| 139 "//ui/views:views_unittests", | 139 "//ui/views:views_unittests", |
| 140 "//url:url_unittests", | 140 "//url:url_unittests", |
| 141 ] | 141 ] |
| 142 } | 142 } |
| 143 | 143 |
| 144 group("All_syzygy") { | 144 group("All_syzygy") { |
| 145 if (is_syzyasan || syzygy_optimize) { | 145 if (is_syzyasan || syzygy_optimize) { |
| (...skipping 28 matching lines...) Expand all Loading... |
| 174 | 174 |
| 175 # The "both_gn_and_gyp" target should reflect every target that is built | 175 # The "both_gn_and_gyp" target should reflect every target that is built |
| 176 # in both the GN and GYP builds, and ideally it should match the | 176 # in both the GN and GYP builds, and ideally it should match the |
| 177 # "both_gn_and_gyp" target in build/gn_migration.gypi line-for-line. | 177 # "both_gn_and_gyp" target in build/gn_migration.gypi line-for-line. |
| 178 group("both_gn_and_gyp") { | 178 group("both_gn_and_gyp") { |
| 179 testonly = true | 179 testonly = true |
| 180 deps = [ | 180 deps = [ |
| 181 "//base:base_unittests", | 181 "//base:base_unittests", |
| 182 "//chrome/installer", | 182 "//chrome/installer", |
| 183 "//components:components_unittests", | 183 "//components:components_unittests", |
| 184 "//components/sync:sync_unit_tests", |
| 184 "//net:net_unittests", | 185 "//net:net_unittests", |
| 185 "//skia:skia_unittests", | 186 "//skia:skia_unittests", |
| 186 "//sql:sql_unittests", | 187 "//sql:sql_unittests", |
| 187 "//sync:sync_unit_tests", | |
| 188 "//tools/ipc_fuzzer:ipc_fuzzer_all", | 188 "//tools/ipc_fuzzer:ipc_fuzzer_all", |
| 189 "//ui/base:ui_base_unittests", | 189 "//ui/base:ui_base_unittests", |
| 190 "//ui/gfx:gfx_unittests", | 190 "//ui/gfx:gfx_unittests", |
| 191 "//url:url_unittests", | 191 "//url:url_unittests", |
| 192 ] | 192 ] |
| 193 | 193 |
| 194 if (!is_android && !is_chromecast) { | 194 if (!is_android && !is_chromecast) { |
| 195 deps += [ | 195 deps += [ |
| 196 "//crypto:crypto_unittests", | 196 "//crypto:crypto_unittests", |
| 197 "//google_apis/gcm:gcm_unit_tests", | 197 "//google_apis/gcm:gcm_unit_tests", |
| 198 ] | 198 ] |
| 199 } | 199 } |
| 200 | 200 |
| 201 if (!is_ios && !is_android && !is_chromecast) { | 201 if (!is_ios && !is_android && !is_chromecast) { |
| 202 deps += [ | 202 deps += [ |
| 203 "//chrome", | 203 "//chrome", |
| 204 "//chrome/test:browser_tests", | 204 "//chrome/test:browser_tests", |
| 205 "//chrome/test:interactive_ui_tests", | 205 "//chrome/test:interactive_ui_tests", |
| 206 "//chrome/test:sync_integration_tests", | 206 "//chrome/test:sync_integration_tests", |
| 207 "//chrome/test/chromedriver:chromedriver_unittests", | 207 "//chrome/test/chromedriver:chromedriver_unittests", |
| 208 "//components/sync/tools:sync_client", |
| 209 "//components/sync/tools:sync_listen_notifications", |
| 208 "//extensions:extensions_browsertests", | 210 "//extensions:extensions_browsertests", |
| 209 "//extensions:extensions_unittests", | 211 "//extensions:extensions_unittests", |
| 210 "//gpu/gles2_conform_support:gles2_conform_test", | 212 "//gpu/gles2_conform_support:gles2_conform_test", |
| 211 "//gpu/khronos_glcts_support:khronos_glcts_test", | 213 "//gpu/khronos_glcts_support:khronos_glcts_test", |
| 212 "//jingle:jingle_unittests", | 214 "//jingle:jingle_unittests", |
| 213 "//net:hpack_example_generator", | 215 "//net:hpack_example_generator", |
| 214 "//net:hpack_fuzz_mutator", | 216 "//net:hpack_fuzz_mutator", |
| 215 "//net:hpack_fuzz_wrapper", | 217 "//net:hpack_fuzz_wrapper", |
| 216 "//ppapi:ppapi_unittests", | 218 "//ppapi:ppapi_unittests", |
| 217 "//ppapi/examples/2d", | 219 "//ppapi/examples/2d", |
| (...skipping 18 matching lines...) Expand all Loading... |
| 236 "//ppapi/examples/scaling", | 238 "//ppapi/examples/scaling", |
| 237 "//ppapi/examples/scripting", | 239 "//ppapi/examples/scripting", |
| 238 "//ppapi/examples/stub", | 240 "//ppapi/examples/stub", |
| 239 "//ppapi/examples/threading", | 241 "//ppapi/examples/threading", |
| 240 "//ppapi/examples/url_loader", | 242 "//ppapi/examples/url_loader", |
| 241 "//ppapi/examples/video_capture", | 243 "//ppapi/examples/video_capture", |
| 242 "//ppapi/examples/video_decode", | 244 "//ppapi/examples/video_decode", |
| 243 "//ppapi/examples/video_effects", | 245 "//ppapi/examples/video_effects", |
| 244 "//ppapi/examples/video_encode", | 246 "//ppapi/examples/video_encode", |
| 245 "//printing:printing_unittests", | 247 "//printing:printing_unittests", |
| 246 "//sync/tools:sync_client", | |
| 247 "//sync/tools:sync_listen_notifications", | |
| 248 "//third_party/cacheinvalidation:cacheinvalidation_unittests", | 248 "//third_party/cacheinvalidation:cacheinvalidation_unittests", |
| 249 "//third_party/codesighs", | 249 "//third_party/codesighs", |
| 250 "//third_party/pdfium/samples:pdfium_test", | 250 "//third_party/pdfium/samples:pdfium_test", |
| 251 "//tools/battor_agent", | 251 "//tools/battor_agent", |
| 252 "//tools/battor_agent:battor_agent_unittests", | 252 "//tools/battor_agent:battor_agent_unittests", |
| 253 "//tools/gn", | 253 "//tools/gn", |
| 254 "//tools/gn:gn_unittests", | 254 "//tools/gn:gn_unittests", |
| 255 "//tools/perf/clear_system_cache", | 255 "//tools/perf/clear_system_cache", |
| 256 "//ui/accessibility:accessibility_unittests", | 256 "//ui/accessibility:accessibility_unittests", |
| 257 ] | 257 ] |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 497 | 497 |
| 498 # TODO(GYP): Figure out which of these should (and can) build | 498 # TODO(GYP): Figure out which of these should (and can) build |
| 499 # for chromeos/ios. | 499 # for chromeos/ios. |
| 500 if (!is_chromeos && !is_ios) { | 500 if (!is_chromeos && !is_ios) { |
| 501 deps += [ | 501 deps += [ |
| 502 "//base:build_utf8_validator_tables", | 502 "//base:build_utf8_validator_tables", |
| 503 "//base:check_example", | 503 "//base:check_example", |
| 504 "//cc:cc_perftests", | 504 "//cc:cc_perftests", |
| 505 "//cc/blink:cc_blink_unittests", | 505 "//cc/blink:cc_blink_unittests", |
| 506 "//components:components_perftests", | 506 "//components:components_perftests", |
| 507 "//components/sync:run_sync_testserver", |
| 507 "//device:device_unittests", | 508 "//device:device_unittests", |
| 508 "//gin:gin_shell", | 509 "//gin:gin_shell", |
| 509 "//gin:gin_unittests", | 510 "//gin:gin_unittests", |
| 510 "//google_apis/gcm:mcs_probe", | 511 "//google_apis/gcm:mcs_probe", |
| 511 "//gpu:gl_tests", | 512 "//gpu:gl_tests", |
| 512 "//gpu:gpu_perftests", | 513 "//gpu:gpu_perftests", |
| 513 "//ipc:ipc_perftests", | 514 "//ipc:ipc_perftests", |
| 514 "//media:media_perftests", | 515 "//media:media_perftests", |
| 515 "//net:dump_cache", | 516 "//net:dump_cache", |
| 516 "//sync:run_sync_testserver", | |
| 517 "//third_party/angle/src/tests:angle_end2end_tests", | 517 "//third_party/angle/src/tests:angle_end2end_tests", |
| 518 "//third_party/angle/src/tests:angle_unittests", | 518 "//third_party/angle/src/tests:angle_unittests", |
| 519 "//third_party/codesighs:maptsvdifftool", | 519 "//third_party/codesighs:maptsvdifftool", |
| 520 "//third_party/libphonenumber:libphonenumber_unittests", | 520 "//third_party/libphonenumber:libphonenumber_unittests", |
| 521 "//ui/compositor:compositor_unittests", | 521 "//ui/compositor:compositor_unittests", |
| 522 ] | 522 ] |
| 523 | 523 |
| 524 if (!is_android) { | 524 if (!is_android) { |
| 525 deps += [ | 525 deps += [ |
| 526 "//chrome/test:load_library_perf_tests", | 526 "//chrome/test:load_library_perf_tests", |
| (...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1041 assert(target_name != "") # Mark as used. | 1041 assert(target_name != "") # Mark as used. |
| 1042 sources = invoker.actual_sources | 1042 sources = invoker.actual_sources |
| 1043 assert( | 1043 assert( |
| 1044 sources == invoker.actual_sources, | 1044 sources == invoker.actual_sources, |
| 1045 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1045 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 1046 } | 1046 } |
| 1047 | 1047 |
| 1048 assert_valid_out_dir("_unused") { | 1048 assert_valid_out_dir("_unused") { |
| 1049 actual_sources = [ "$root_build_dir/foo" ] | 1049 actual_sources = [ "$root_build_dir/foo" ] |
| 1050 } | 1050 } |
| OLD | NEW |