| 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 import("//mojo/public/mojo_application.gni") | 6 import("//mojo/public/mojo_application.gni") |
| 7 | 7 |
| 8 if (is_android) { | 8 if (is_android) { |
| 9 import("//build/config/android/config.gni") | 9 import("//build/config/android/config.gni") |
| 10 import("//build/config/android/rules.gni") | 10 import("//build/config/android/rules.gni") |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 ":jni_headers", | 112 ":jni_headers", |
| 113 ] | 113 ] |
| 114 } | 114 } |
| 115 | 115 |
| 116 if (use_x11) { | 116 if (use_x11) { |
| 117 deps += [ "//ui/platform_window/x11" ] | 117 deps += [ "//ui/platform_window/x11" ] |
| 118 } else { | 118 } else { |
| 119 sources -= [ "platform_viewport_x11.cc" ] | 119 sources -= [ "platform_viewport_x11.cc" ] |
| 120 } | 120 } |
| 121 | 121 |
| 122 if (use_ozone) { |
| 123 sources += [ "platform_viewport_ozone.cc" ] |
| 124 deps += [ "//ui/ozone" ] |
| 125 } |
| 126 |
| 122 if (is_win) { | 127 if (is_win) { |
| 123 deps += [ "//ui/platform_window/win" ] | 128 deps += [ "//ui/platform_window/win" ] |
| 124 } | 129 } |
| 125 } | 130 } |
| OLD | NEW |