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/chromecast_build.gni") | 5 import("//build/config/chromecast_build.gni") |
6 import("//build/config/crypto.gni") | 6 import("//build/config/crypto.gni") |
7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
9 import("//build/split_static_library.gni") | 9 import("//build/split_static_library.gni") |
10 import("//chrome/common/features.gni") | 10 import("//chrome/common/features.gni") |
(...skipping 2189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2200 "webui/offline/offline_internals_ui_message_handler.h", | 2200 "webui/offline/offline_internals_ui_message_handler.h", |
2201 "webui/popular_sites_internals_message_handler.cc", | 2201 "webui/popular_sites_internals_message_handler.cc", |
2202 "webui/popular_sites_internals_message_handler.h", | 2202 "webui/popular_sites_internals_message_handler.h", |
2203 "webui/popular_sites_internals_ui.cc", | 2203 "webui/popular_sites_internals_ui.cc", |
2204 "webui/popular_sites_internals_ui.h", | 2204 "webui/popular_sites_internals_ui.h", |
2205 "webui/snippets_internals_message_handler.cc", | 2205 "webui/snippets_internals_message_handler.cc", |
2206 "webui/snippets_internals_message_handler.h", | 2206 "webui/snippets_internals_message_handler.h", |
2207 "webui/snippets_internals_ui.cc", | 2207 "webui/snippets_internals_ui.cc", |
2208 "webui/snippets_internals_ui.h", | 2208 "webui/snippets_internals_ui.h", |
2209 ] | 2209 ] |
2210 if (enable_vr_shell) { | 2210 if (enable_vr_shell || enable_webvr) { |
2211 defines += [ "ENABLE_VR_SHELL" ] | 2211 if (enable_vr_shell) { |
| 2212 defines += [ "ENABLE_VR_SHELL" ] |
| 2213 } |
2212 sources += [ | 2214 sources += [ |
2213 "webui/vr_shell/vr_shell_ui_message_handler.cc", | 2215 "webui/vr_shell/vr_shell_ui_message_handler.cc", |
2214 "webui/vr_shell/vr_shell_ui_message_handler.h", | 2216 "webui/vr_shell/vr_shell_ui_message_handler.h", |
2215 "webui/vr_shell/vr_shell_ui_ui.cc", | 2217 "webui/vr_shell/vr_shell_ui_ui.cc", |
2216 "webui/vr_shell/vr_shell_ui_ui.h", | 2218 "webui/vr_shell/vr_shell_ui_ui.h", |
2217 ] | 2219 ] |
2218 configs += [ "//third_party/gvr-android-sdk:libgvr_config" ] | 2220 configs += [ "//third_party/gvr-android-sdk:libgvr_config" ] |
2219 deps += [ "//chrome/browser/android/vr_shell:vr_shell" ] | 2221 deps += [ "//chrome/browser/android/vr_shell:vr_common" ] |
2220 } | 2222 } |
2221 if (enable_vr_shell_ui_dev) { | 2223 if (enable_vr_shell_ui_dev) { |
2222 assert(enable_vr_shell) | 2224 assert(enable_vr_shell) |
2223 defines += [ "ENABLE_VR_SHELL_UI_DEV" ] | 2225 defines += [ "ENABLE_VR_SHELL_UI_DEV" ] |
2224 } | 2226 } |
2225 deps += [ | 2227 deps += [ |
2226 "//chrome/browser:jni_headers", | 2228 "//chrome/browser:jni_headers", |
2227 "//components/web_contents_delegate_android", | 2229 "//components/web_contents_delegate_android", |
2228 ] | 2230 ] |
2229 deps -= [ "//ui/events" ] | 2231 deps -= [ "//ui/events" ] |
(...skipping 1188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3418 "test/test_confirm_bubble_model.cc", | 3420 "test/test_confirm_bubble_model.cc", |
3419 "test/test_confirm_bubble_model.h", | 3421 "test/test_confirm_bubble_model.h", |
3420 ] | 3422 ] |
3421 deps += [ "//chrome/test:test_support_ui" ] | 3423 deps += [ "//chrome/test:test_support_ui" ] |
3422 } | 3424 } |
3423 | 3425 |
3424 if (enable_extensions) { | 3426 if (enable_extensions) { |
3425 deps += [ "//extensions/browser" ] | 3427 deps += [ "//extensions/browser" ] |
3426 } | 3428 } |
3427 } | 3429 } |
OLD | NEW |