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

Side by Side Diff: mojo/services/native_viewport/BUILD.gn

Issue 769963004: Add tracing service and make the shell+sky_viewer+services talk to it (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 | « mojo/common/tracing_impl.cc ('k') | mojo/services/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("//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")
11 11
12 android_library("native_viewport_java") { 12 android_library("native_viewport_java") {
13 java_files = [ 13 java_files = [
14 "android/src/org/chromium/mojo/PlatformViewportAndroid.java", 14 "android/src/org/chromium/mojo/PlatformViewportAndroid.java",
15 ] 15 ]
16 16
17 deps = [ 17 deps = [
18 "//base:base_java", 18 "//base:base_java",
19 ] 19 ]
20 } 20 }
21 } else { 21 } else {
22 mojo_native_application("native_viewport") { 22 mojo_native_application("native_viewport") {
23 output_name = "native_viewport_service" 23 output_name = "native_viewport_service"
24 sources = [ "main.cc" ] 24 sources = [ "main.cc" ]
25 deps = [ 25 deps = [
26 ":lib", 26 ":lib",
27 "//base", 27 "//base",
28 "//mojo/application", 28 "//mojo/application",
29 "//mojo/common:tracing_impl",
29 "//mojo/public/c/system:for_shared_library", 30 "//mojo/public/c/system:for_shared_library",
30 "//mojo/public/cpp/bindings:bindings", 31 "//mojo/public/cpp/bindings:bindings",
31 "//mojo/services/gles2:gles2", 32 "//mojo/services/gles2:gles2",
32 "//mojo/services/public/interfaces/native_viewport", 33 "//mojo/services/public/interfaces/native_viewport",
33 "//mojo/services/public/cpp/native_viewport:args", 34 "//mojo/services/public/cpp/native_viewport:args",
34 "//ui/gl", 35 "//ui/gl",
35 ] 36 ]
36 } 37 }
37 } 38 }
38 39
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 } else { 99 } else {
99 sources -= [ "platform_viewport_x11.cc" ] 100 sources -= [ "platform_viewport_x11.cc" ]
100 } 101 }
101 102
102 if (is_win) { 103 if (is_win) {
103 deps += [ 104 deps += [
104 "//ui/platform_window/win", 105 "//ui/platform_window/win",
105 ] 106 ]
106 } 107 }
107 } 108 }
OLDNEW
« no previous file with comments | « mojo/common/tracing_impl.cc ('k') | mojo/services/native_viewport/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698