Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Side by Side Diff: chrome/browser/ui/BUILD.gn

Issue 2680723003: Remove ENABLE_VR_SHELL compile-time define. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 2266 matching lines...) Expand 10 before | Expand all | Expand 10 after
2277 "webui/offline/offline_internals_ui.h", 2277 "webui/offline/offline_internals_ui.h",
2278 "webui/offline/offline_internals_ui_message_handler.cc", 2278 "webui/offline/offline_internals_ui_message_handler.cc",
2279 "webui/offline/offline_internals_ui_message_handler.h", 2279 "webui/offline/offline_internals_ui_message_handler.h",
2280 "webui/popular_sites_internals_ui.cc", 2280 "webui/popular_sites_internals_ui.cc",
2281 "webui/popular_sites_internals_ui.h", 2281 "webui/popular_sites_internals_ui.h",
2282 "webui/snippets_internals_message_handler.cc", 2282 "webui/snippets_internals_message_handler.cc",
2283 "webui/snippets_internals_message_handler.h", 2283 "webui/snippets_internals_message_handler.h",
2284 "webui/snippets_internals_ui.cc", 2284 "webui/snippets_internals_ui.cc",
2285 "webui/snippets_internals_ui.h", 2285 "webui/snippets_internals_ui.h",
2286 ] 2286 ]
2287 if (enable_vr_shell || enable_webvr) { 2287 if (enable_webvr) {
2288 if (enable_vr_shell) {
2289 defines += [ "ENABLE_VR_SHELL" ]
2290 }
2291 sources += [ 2288 sources += [
2292 "webui/vr_shell/vr_shell_ui_message_handler.cc", 2289 "webui/vr_shell/vr_shell_ui_message_handler.cc",
2293 "webui/vr_shell/vr_shell_ui_message_handler.h", 2290 "webui/vr_shell/vr_shell_ui_message_handler.h",
2294 "webui/vr_shell/vr_shell_ui_ui.cc", 2291 "webui/vr_shell/vr_shell_ui_ui.cc",
2295 "webui/vr_shell/vr_shell_ui_ui.h", 2292 "webui/vr_shell/vr_shell_ui_ui.h",
2296 ] 2293 ]
2297 configs += [ "//third_party/gvr-android-sdk:libgvr_config" ] 2294 configs += [ "//third_party/gvr-android-sdk:libgvr_config" ]
2298 deps += [ "//chrome/browser/android/vr_shell:vr_common" ] 2295 deps += [ "//chrome/browser/android/vr_shell:vr_common" ]
2299 } 2296 }
2300 if (enable_vr_shell_ui_dev) { 2297 if (enable_vr_shell_ui_dev) {
2301 assert(enable_vr_shell) 2298 assert(enable_webvr)
2302 defines += [ "ENABLE_VR_SHELL_UI_DEV" ] 2299 defines += [ "ENABLE_VR_SHELL_UI_DEV" ]
2303 } 2300 }
2304 deps += [ 2301 deps += [
2305 "//chrome/browser:jni_headers", 2302 "//chrome/browser:jni_headers",
2306 "//components/web_contents_delegate_android", 2303 "//components/web_contents_delegate_android",
2307 ] 2304 ]
2308 deps -= [ "//ui/events" ] 2305 deps -= [ "//ui/events" ]
2309 } else { 2306 } else {
2310 # !is_android 2307 # !is_android
2311 sources += [ 2308 sources += [
(...skipping 1198 matching lines...) Expand 10 before | Expand all | Expand 10 after
3510 "test/test_confirm_bubble_model.cc", 3507 "test/test_confirm_bubble_model.cc",
3511 "test/test_confirm_bubble_model.h", 3508 "test/test_confirm_bubble_model.h",
3512 ] 3509 ]
3513 deps += [ "//chrome/test:test_support_ui" ] 3510 deps += [ "//chrome/test:test_support_ui" ]
3514 } 3511 }
3515 3512
3516 if (enable_extensions) { 3513 if (enable_extensions) {
3517 deps += [ "//extensions/browser" ] 3514 deps += [ "//extensions/browser" ]
3518 } 3515 }
3519 } 3516 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698