| 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 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 372 } | 372 } |
| 373 | 373 |
| 374 if (use_ozone) { | 374 if (use_ozone) { |
| 375 deps += [ | 375 deps += [ |
| 376 "//ui/ozone", | 376 "//ui/ozone", |
| 377 "//ui/ozone:ozone_unittests", | 377 "//ui/ozone:ozone_unittests", |
| 378 "//ui/ozone/gl:ozone_gl_unittests", | 378 "//ui/ozone/gl:ozone_gl_unittests", |
| 379 ] | 379 ] |
| 380 } | 380 } |
| 381 | 381 |
| 382 if (use_x11 || ozone_platform_x11) { |
| 383 deps += [ "//tools/xdisplaycheck" ] |
| 384 } |
| 385 |
| 382 if (enable_configuration_policy) { | 386 if (enable_configuration_policy) { |
| 383 deps += [ "//components/policy:policy_templates" ] | 387 deps += [ "//components/policy:policy_templates" ] |
| 384 } | 388 } |
| 385 | 389 |
| 386 if (v8_use_external_startup_data) { | 390 if (v8_use_external_startup_data) { |
| 387 deps += [ "//gin:gin_v8_snapshot_fingerprint" ] | 391 deps += [ "//gin:gin_v8_snapshot_fingerprint" ] |
| 388 } | 392 } |
| 389 | 393 |
| 390 if (is_win) { | 394 if (is_win) { |
| 391 deps += [ | 395 deps += [ |
| (...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1097 assert(target_name != "") # Mark as used. | 1101 assert(target_name != "") # Mark as used. |
| 1098 sources = invoker.actual_sources | 1102 sources = invoker.actual_sources |
| 1099 assert( | 1103 assert( |
| 1100 sources == invoker.actual_sources, | 1104 sources == invoker.actual_sources, |
| 1101 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1105 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 1102 } | 1106 } |
| 1103 | 1107 |
| 1104 assert_valid_out_dir("_unused") { | 1108 assert_valid_out_dir("_unused") { |
| 1105 actual_sources = [ "$root_build_dir/foo" ] | 1109 actual_sources = [ "$root_build_dir/foo" ] |
| 1106 } | 1110 } |
| OLD | NEW |