| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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("//chrome/common/features.gni") | 5 import("//chrome/common/features.gni") |
| 6 import("//device/vr/features/features.gni") | 6 import("//device/vr/features/features.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 | 8 |
| 9 if (is_android) { | 9 if (is_android) { |
| 10 import("//build/config/android/rules.gni") | 10 import("//build/config/android/rules.gni") |
| 11 } | 11 } |
| 12 | 12 |
| 13 assert(enable_vr) | 13 assert(enable_vr) |
| 14 | 14 |
| 15 # This library is platform-independent UI and related modules, which should | 15 # This library is platform-independent UI and related modules, which should |
| 16 # compile on any platform. | 16 # compile on any platform. |
| 17 static_library("vr_common") { | 17 static_library("vr_common") { |
| 18 sources = [ | 18 sources = [ |
| 19 "animation.cc", | |
| 20 "animation.h", | |
| 21 "color_scheme.cc", | 19 "color_scheme.cc", |
| 22 "color_scheme.h", | 20 "color_scheme.h", |
| 23 "easing.cc", | |
| 24 "easing.h", | |
| 25 "font_fallback.cc", | 21 "font_fallback.cc", |
| 26 "font_fallback.h", | 22 "font_fallback.h", |
| 27 "fps_meter.cc", | 23 "fps_meter.cc", |
| 28 "fps_meter.h", | 24 "fps_meter.h", |
| 29 "gltf_asset.cc", | 25 "gltf_asset.cc", |
| 30 "gltf_asset.h", | 26 "gltf_asset.h", |
| 31 "gltf_parser.cc", | 27 "gltf_parser.cc", |
| 32 "gltf_parser.h", | 28 "gltf_parser.h", |
| 33 "textures/button_texture.cc", | 29 "textures/button_texture.cc", |
| 34 "textures/button_texture.h", | 30 "textures/button_texture.h", |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 "ui_interface.h", | 88 "ui_interface.h", |
| 93 "ui_scene.cc", | 89 "ui_scene.cc", |
| 94 "ui_scene.h", | 90 "ui_scene.h", |
| 95 "ui_scene_manager.cc", | 91 "ui_scene_manager.cc", |
| 96 "ui_scene_manager.h", | 92 "ui_scene_manager.h", |
| 97 "ui_unsupported_mode.h", | 93 "ui_unsupported_mode.h", |
| 98 ] | 94 ] |
| 99 | 95 |
| 100 deps = [ | 96 deps = [ |
| 101 "//base", | 97 "//base", |
| 98 "//cc/animation", |
| 102 "//cc/paint", | 99 "//cc/paint", |
| 103 "//chrome/app:generated_resources", | 100 "//chrome/app:generated_resources", |
| 104 "//components/security_state/core", | 101 "//components/security_state/core", |
| 105 "//components/strings", | 102 "//components/strings", |
| 106 "//components/toolbar", | 103 "//components/toolbar", |
| 107 "//components/url_formatter", | 104 "//components/url_formatter", |
| 108 "//components/vector_icons", | 105 "//components/vector_icons", |
| 109 "//skia", | 106 "//skia", |
| 110 "//ui/base", | 107 "//ui/base", |
| 111 "//ui/display", | 108 "//ui/display", |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 "ui_elements/exit_prompt_unittest.cc", | 210 "ui_elements/exit_prompt_unittest.cc", |
| 214 "ui_elements/transience_manager_unittest.cc", | 211 "ui_elements/transience_manager_unittest.cc", |
| 215 "ui_elements/ui_element_unittest.cc", | 212 "ui_elements/ui_element_unittest.cc", |
| 216 "ui_scene_manager_unittest.cc", | 213 "ui_scene_manager_unittest.cc", |
| 217 "ui_scene_unittest.cc", | 214 "ui_scene_unittest.cc", |
| 218 ] | 215 ] |
| 219 | 216 |
| 220 deps = [ | 217 deps = [ |
| 221 ":vr_common", | 218 ":vr_common", |
| 222 "//base/test:test_support", | 219 "//base/test:test_support", |
| 220 "//cc:test_support", |
| 223 "//components:components_tests_pak", | 221 "//components:components_tests_pak", |
| 224 "//components/security_state/core", | 222 "//components/security_state/core", |
| 225 "//components/toolbar:vector_icons", | 223 "//components/toolbar:vector_icons", |
| 226 "//skia", | 224 "//skia", |
| 227 "//testing/gmock", | 225 "//testing/gmock", |
| 228 "//testing/gtest", | 226 "//testing/gtest", |
| 229 "//ui/gfx:test_support", | 227 "//ui/gfx:test_support", |
| 230 "//ui/gfx/geometry", | 228 "//ui/gfx/geometry", |
| 231 "//ui/gl", | 229 "//ui/gl", |
| 232 ] | 230 ] |
| 233 | 231 |
| 234 if (is_android) { | 232 if (is_android) { |
| 235 deps += [ "//ui/android:ui_java" ] | 233 deps += [ "//ui/android:ui_java" ] |
| 236 } | 234 } |
| 237 | 235 |
| 238 data = [ | 236 data = [ |
| 239 "test/data/", | 237 "test/data/", |
| 240 "$root_out_dir/components_tests_resources.pak", | 238 "$root_out_dir/components_tests_resources.pak", |
| 241 ] | 239 ] |
| 242 } | 240 } |
| OLD | NEW |