OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/crypto.gni") | 5 import("//build/config/crypto.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
| 8 import("//build_overrides/v8.gni") |
8 import("//content/browser/browser.gni") | 9 import("//content/browser/browser.gni") |
9 import("//media/media_options.gni") | 10 import("//media/media_options.gni") |
10 | 11 |
11 source_set("browser") { | 12 source_set("browser") { |
12 # Only the public target should depend on this. All other targets (even | 13 # Only the public target should depend on this. All other targets (even |
13 # internal content ones) should depend on the public one. | 14 # internal content ones) should depend on the public one. |
14 visibility = [ "//content/public/browser:browser_sources" ] | 15 visibility = [ "//content/public/browser:browser_sources" ] |
15 | 16 |
16 configs += [ "//build/config:precompiled_headers" ] | 17 configs += [ "//build/config:precompiled_headers" ] |
17 defines = [] | 18 defines = [] |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 "//third_party/icu", | 130 "//third_party/icu", |
130 "//third_party/leveldatabase", | 131 "//third_party/leveldatabase", |
131 "//third_party/libyuv", | 132 "//third_party/libyuv", |
132 "//third_party/mojo/src/mojo/public/cpp/bindings", | 133 "//third_party/mojo/src/mojo/public/cpp/bindings", |
133 "//third_party/mojo/src/mojo/public/js", | 134 "//third_party/mojo/src/mojo/public/js", |
134 "//ui/events/blink", | 135 "//ui/events/blink", |
135 "//ui/resources", | 136 "//ui/resources", |
136 "//ui/surface", | 137 "//ui/surface", |
137 "//ui/touch_selection", | 138 "//ui/touch_selection", |
138 ] | 139 ] |
| 140 |
| 141 if (v8_use_external_startup_data) { |
| 142 configs += [ "//v8:external_startup_data" ] |
| 143 } |
139 } | 144 } |
140 | 145 |
141 configs += [ | 146 configs += [ |
142 "//content:content_implementation", | 147 "//content:content_implementation", |
143 "//third_party/WebKit/public:debug_devtools", | 148 "//third_party/WebKit/public:debug_devtools", |
144 ] | 149 ] |
145 | 150 |
146 if (toolkit_views) { | 151 if (toolkit_views) { |
147 deps += [ "//ui/events" ] | 152 deps += [ "//ui/events" ] |
148 } | 153 } |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
505 | 510 |
506 if (enable_webvr && is_android) { | 511 if (enable_webvr && is_android) { |
507 sources += [ | 512 sources += [ |
508 "vr/android/cardboard/cardboard_vr_device.cc", | 513 "vr/android/cardboard/cardboard_vr_device.cc", |
509 "vr/android/cardboard/cardboard_vr_device.h", | 514 "vr/android/cardboard/cardboard_vr_device.h", |
510 "vr/android/cardboard/cardboard_vr_device_provider.cc", | 515 "vr/android/cardboard/cardboard_vr_device_provider.cc", |
511 "vr/android/cardboard/cardboard_vr_device_provider.h", | 516 "vr/android/cardboard/cardboard_vr_device_provider.h", |
512 ] | 517 ] |
513 } | 518 } |
514 } | 519 } |
OLD | NEW |