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

Side by Side Diff: components/view_manager/native_viewport/BUILD.gn

Issue 1142323003: Remove duplicate application cpp files in mojo/application. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 7 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
« no previous file with comments | « components/view_manager/main.cc ('k') | components/view_manager/native_viewport/main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/ui.gni") 5 import("//build/config/ui.gni")
6 import("//third_party/mojo/src/mojo/public/mojo_application.gni") 6 import("//third_party/mojo/src/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 27 matching lines...) Expand all
38 output_name = "native_viewport_service" 38 output_name = "native_viewport_service"
39 sources = [ 39 sources = [
40 "main.cc", 40 "main.cc",
41 ] 41 ]
42 deps = [ 42 deps = [
43 ":lib", 43 ":lib",
44 "//base", 44 "//base",
45 "//components/gles2", 45 "//components/gles2",
46 "//components/view_manager/public/cpp", 46 "//components/view_manager/public/cpp",
47 "//components/view_manager/public/interfaces", 47 "//components/view_manager/public/interfaces",
48 "//mojo/application", 48 "//mojo/application/public/cpp",
49 "//third_party/mojo/src/mojo/public/cpp/bindings:bindings", 49 "//third_party/mojo/src/mojo/public/cpp/bindings:bindings",
50 "//ui/events", 50 "//ui/events",
51 "//ui/events/platform", 51 "//ui/events/platform",
52 "//ui/gl", 52 "//ui/gl",
53 ] 53 ]
54 } 54 }
55 } 55 }
56 56
57 source_set("lib") { 57 source_set("lib") {
58 sources = [ 58 sources = [
(...skipping 15 matching lines...) Expand all
74 74
75 if (!is_ios) { 75 if (!is_ios) {
76 sources -= [ "platform_viewport_stub.cc" ] 76 sources -= [ "platform_viewport_stub.cc" ]
77 } 77 }
78 78
79 deps = [ 79 deps = [
80 "//base", 80 "//base",
81 "//components/gles2", 81 "//components/gles2",
82 "//components/view_manager/public/interfaces", 82 "//components/view_manager/public/interfaces",
83 "//gpu/command_buffer/service", 83 "//gpu/command_buffer/service",
84 "//mojo/application", 84 "//mojo/application/public/cpp",
85 "//mojo/common",
86 "//mojo/common:tracing_impl", 85 "//mojo/common:tracing_impl",
87 "//mojo/converters/geometry", 86 "//mojo/converters/geometry",
88 "//mojo/converters/input_events", 87 "//mojo/converters/input_events",
89 "//mojo/environment:chromium",
90 "//ui/events", 88 "//ui/events",
91 "//ui/events/platform", 89 "//ui/events/platform",
92 "//ui/gfx", 90 "//ui/gfx",
93 "//ui/gfx/geometry", 91 "//ui/gfx/geometry",
94 "//ui/gl", 92 "//ui/gl",
95 "//ui/mojo/geometry:interfaces", 93 "//ui/mojo/geometry:interfaces",
96 "//ui/platform_window", 94 "//ui/platform_window",
97 ] 95 ]
98 96
99 if (is_android) { 97 if (is_android) {
100 deps += [ ":jni_headers" ] 98 deps += [ ":jni_headers" ]
101 } 99 }
102 100
103 if (use_x11) { 101 if (use_x11) {
104 deps += [ "//ui/platform_window/x11" ] 102 deps += [ "//ui/platform_window/x11" ]
105 } else { 103 } else {
106 sources -= [ "platform_viewport_x11.cc" ] 104 sources -= [ "platform_viewport_x11.cc" ]
107 } 105 }
108 106
109 if (is_win) { 107 if (is_win) {
110 deps += [ "//ui/platform_window/win" ] 108 deps += [ "//ui/platform_window/win" ]
111 } 109 }
112 } 110 }
OLDNEW
« no previous file with comments | « components/view_manager/main.cc ('k') | components/view_manager/native_viewport/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698