| 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/sanitizers/sanitizers.gni") | 13 import("//build/config/sanitizers/sanitizers.gni") |
| 14 import("//build/config/ui.gni") | 14 import("//build/config/ui.gni") |
| 15 import("//build_overrides/v8.gni") | 15 import("//build_overrides/v8.gni") |
| 16 import("//media/media_options.gni") | 16 import("//media/media_options.gni") |
| 17 import("//third_party/openh264/openh264_args.gni") | 17 import("//third_party/openh264/openh264_args.gni") |
| 18 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") | 18 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") |
| 19 import("//v8/gni/v8.gni") | 19 import("//v8/gni/v8.gni") |
| 20 import("//v8/snapshot_toolchain.gni") | 20 import("//v8/snapshot_toolchain.gni") |
| 21 | 21 |
| 22 if (is_android) { | 22 if (is_android) { |
| 23 import("//build/config/android/config.gni") | 23 import("//build/config/android/config.gni") |
| 24 } | 24 } |
| 25 | 25 |
| 26 declare_args() { | 26 declare_args() { |
| 27 # A list of extra dependencies to add to the root target. This allows a | 27 # A list of extra dependencies to add to the root target. This allows a |
| 28 # checkout to add additional targets without explicitly changing any checked- | 28 # checkout to add additional targets without explicitly changing any checked- |
| 29 # in files. | 29 # in files. |
| 30 root_extra_deps = [] | 30 root_extra_deps = |
| 31 [ "//chrome/browser/resources/chromeos/braille_ime:compile_externs" ] |
| 31 } | 32 } |
| 32 | 33 |
| 33 # This file defines the following five main targets: | 34 # This file defines the following five main targets: |
| 34 # | 35 # |
| 35 # "both_gn_and_gyp" should list every root target (target that nothing else | 36 # "both_gn_and_gyp" should list every root target (target that nothing else |
| 36 # depends on) built by GN that is also built in the GYP build. | 37 # depends on) built by GN that is also built in the GYP build. |
| 37 # | 38 # |
| 38 # "gn_all" should (transitively) cause everything to be built; if you run | 39 # "gn_all" should (transitively) cause everything to be built; if you run |
| 39 # 'ninja gn_all' and then 'ninja all', the second build should do no work. | 40 # 'ninja gn_all' and then 'ninja all', the second build should do no work. |
| 40 # | 41 # |
| (...skipping 1078 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1119 "//ui/display:display_unittests", | 1120 "//ui/display:display_unittests", |
| 1120 "//ui/events:events_unittests", | 1121 "//ui/events:events_unittests", |
| 1121 "//ui/gfx:gfx_unittests", | 1122 "//ui/gfx:gfx_unittests", |
| 1122 "//ui/gl:gl_unittests", | 1123 "//ui/gl:gl_unittests", |
| 1123 "//ui/keyboard:keyboard_unittests", | 1124 "//ui/keyboard:keyboard_unittests", |
| 1124 "//ui/touch_selection:ui_touch_selection_unittests", | 1125 "//ui/touch_selection:ui_touch_selection_unittests", |
| 1125 "//url:url_unittests", | 1126 "//url:url_unittests", |
| 1126 ] | 1127 ] |
| 1127 } | 1128 } |
| 1128 } | 1129 } |
| OLD | NEW |