| 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("//third_party/mojo/src/mojo/public/mojo_application.gni") | |
| 7 | 6 |
| 8 source_set("native_viewport") { | 7 source_set("native_viewport") { |
| 9 sources = [ | 8 sources = [ |
| 10 "onscreen_context_provider.cc", | 9 "onscreen_context_provider.cc", |
| 11 "onscreen_context_provider.h", | 10 "onscreen_context_provider.h", |
| 12 "platform_viewport.h", | 11 "platform_viewport.h", |
| 13 "platform_viewport_android.cc", | 12 "platform_viewport_android.cc", |
| 14 "platform_viewport_android.h", | 13 "platform_viewport_android.h", |
| 15 "platform_viewport_headless.cc", | 14 "platform_viewport_headless.cc", |
| 16 "platform_viewport_headless.h", | 15 "platform_viewport_headless.h", |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 if (use_x11) { | 47 if (use_x11) { |
| 49 deps += [ "//ui/platform_window/x11" ] | 48 deps += [ "//ui/platform_window/x11" ] |
| 50 } else { | 49 } else { |
| 51 sources -= [ "platform_viewport_x11.cc" ] | 50 sources -= [ "platform_viewport_x11.cc" ] |
| 52 } | 51 } |
| 53 | 52 |
| 54 if (is_win) { | 53 if (is_win) { |
| 55 deps += [ "//ui/platform_window/win" ] | 54 deps += [ "//ui/platform_window/win" ] |
| 56 } | 55 } |
| 57 } | 56 } |
| OLD | NEW |