| 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 |
| 11 import("//build/config/compiler/compiler.gni") | 11 import("//build/config/compiler/compiler.gni") |
| 12 import("//build/config/features.gni") | 12 import("//build/config/features.gni") |
| 13 import("//build/config/nacl/config.gni") |
| 13 import("//build/config/sanitizers/sanitizers.gni") | 14 import("//build/config/sanitizers/sanitizers.gni") |
| 14 import("//build/config/ui.gni") | 15 import("//build/config/ui.gni") |
| 15 import("//build_overrides/v8.gni") | 16 import("//build_overrides/v8.gni") |
| 16 import("//media/media_options.gni") | 17 import("//media/media_options.gni") |
| 17 import("//third_party/openh264/openh264_args.gni") | 18 import("//third_party/openh264/openh264_args.gni") |
| 18 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") | 19 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") |
| 19 import("//v8/gni/v8.gni") | 20 import("//v8/gni/v8.gni") |
| 20 import("//v8/snapshot_toolchain.gni") | 21 import("//v8/snapshot_toolchain.gni") |
| 21 | 22 |
| 22 if (is_android) { | 23 if (is_android) { |
| (...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 554 | 555 |
| 555 if (enable_extensions) { | 556 if (enable_extensions) { |
| 556 deps += [ "//extensions/shell:app_shell" ] | 557 deps += [ "//extensions/shell:app_shell" ] |
| 557 } | 558 } |
| 558 | 559 |
| 559 if (enable_nacl) { | 560 if (enable_nacl) { |
| 560 deps += [ "//components/nacl/loader:nacl_loader_unittests" ] | 561 deps += [ "//components/nacl/loader:nacl_loader_unittests" ] |
| 561 | 562 |
| 562 if (is_linux) { | 563 if (is_linux) { |
| 563 # TODO(dpranke): Figure out what platforms should actually have this. | 564 # TODO(dpranke): Figure out what platforms should actually have this. |
| 564 deps += [ | 565 deps += [ "//components/nacl/loader:nacl_helper" ] |
| 565 "//components/nacl/loader:helper_nonsfi", | 566 |
| 566 "//components/nacl/loader:nacl_helper", | 567 if (is_nacl_nonsfi) { |
| 567 "//components/nacl/loader:nacl_helper_nonsfi_unittests", | 568 deps += [ |
| 568 ] | 569 "//components/nacl/loader:helper_nonsfi", |
| 570 "//components/nacl/loader:nacl_helper_nonsfi_unittests", |
| 571 ] |
| 572 } |
| 569 } | 573 } |
| 570 } | 574 } |
| 571 | 575 |
| 572 if (media_use_ffmpeg && !is_android) { | 576 if (media_use_ffmpeg && !is_android) { |
| 573 deps += [ "//media:ffmpeg_regression_tests" ] | 577 deps += [ "//media:ffmpeg_regression_tests" ] |
| 574 } | 578 } |
| 575 } | 579 } |
| 576 | 580 |
| 577 if (is_android || (is_linux && !is_chromeos)) { | 581 if (is_android || (is_linux && !is_chromeos)) { |
| 578 deps += [ | 582 deps += [ |
| (...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1122 "//ui/display:display_unittests", | 1126 "//ui/display:display_unittests", |
| 1123 "//ui/events:events_unittests", | 1127 "//ui/events:events_unittests", |
| 1124 "//ui/gfx:gfx_unittests", | 1128 "//ui/gfx:gfx_unittests", |
| 1125 "//ui/gl:gl_unittests", | 1129 "//ui/gl:gl_unittests", |
| 1126 "//ui/keyboard:keyboard_unittests", | 1130 "//ui/keyboard:keyboard_unittests", |
| 1127 "//ui/touch_selection:ui_touch_selection_unittests", | 1131 "//ui/touch_selection:ui_touch_selection_unittests", |
| 1128 "//url:url_unittests", | 1132 "//url:url_unittests", |
| 1129 ] | 1133 ] |
| 1130 } | 1134 } |
| 1131 } | 1135 } |
| OLD | NEW |