| 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/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 | 6 |
| 7 if (!is_android) { | 7 if (!is_android) { |
| 8 shared_library("native_viewport") { | 8 shared_library("native_viewport") { |
| 9 output_name = "mojo_native_viewport_service" | 9 output_name = "mojo_native_viewport_service" |
| 10 | 10 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 | 48 |
| 49 sources = [ | 49 sources = [ |
| 50 "gpu_impl.cc", | 50 "gpu_impl.cc", |
| 51 "gpu_impl.h", | 51 "gpu_impl.h", |
| 52 "native_viewport_impl.cc", | 52 "native_viewport_impl.cc", |
| 53 "native_viewport_impl.h", | 53 "native_viewport_impl.h", |
| 54 "platform_viewport.h", | 54 "platform_viewport.h", |
| 55 "platform_viewport_android.cc", | 55 "platform_viewport_android.cc", |
| 56 "platform_viewport_android.h", | 56 "platform_viewport_android.h", |
| 57 "platform_viewport_mac.mm", | 57 "platform_viewport_mac.mm", |
| 58 "platform_viewport_headless.cc", |
| 59 "platform_viewport_headless.h", |
| 58 "platform_viewport_win.cc", | 60 "platform_viewport_win.cc", |
| 59 "viewport_surface.cc", | 61 "viewport_surface.cc", |
| 60 "viewport_surface.h", | 62 "viewport_surface.h", |
| 61 ] | 63 ] |
| 62 | 64 |
| 63 if (is_ios) { | 65 if (is_ios) { |
| 64 sources += [ "platform_viewport_stub.cc" ] | 66 sources += [ "platform_viewport_stub.cc" ] |
| 65 } | 67 } |
| 66 | 68 |
| 67 if (is_android) { | 69 if (is_android) { |
| 68 deps += [ "//mojo:jni_headers" ] | 70 deps += [ "//mojo:jni_headers" ] |
| 69 } | 71 } |
| 70 | 72 |
| 71 if (use_x11) { | 73 if (use_x11) { |
| 72 sources += [ "platform_viewport_x11.cc" ] | 74 sources += [ "platform_viewport_x11.cc" ] |
| 73 deps += [ | 75 deps += [ |
| 74 "//ui/events/platform/x11", | 76 "//ui/events/platform/x11", |
| 75 "//ui/platform_window/x11", | 77 "//ui/platform_window/x11", |
| 76 ] | 78 ] |
| 77 } | 79 } |
| 78 | 80 |
| 79 if (use_ozone) { | 81 if (use_ozone) { |
| 80 sources += [ "platform_viewport_ozone.cc" ] | 82 sources += [ "platform_viewport_ozone.cc" ] |
| 81 } | 83 } |
| 82 } | 84 } |
| OLD | NEW |