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

Side by Side Diff: mojo/shell/runner/host/BUILD.gn

Issue 1738663002: Hook embedded shell up to MojoShellConnection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « mojo/shell/runner/child/runner_connection.cc ('k') | mojo/shell/runner/host/linux_sandbox.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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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("//mojo/public/mojo_application.gni") 5 import("//mojo/public/mojo_application.gni")
6 import("//mojo/public/tools/bindings/mojom.gni") 6 import("//mojo/public/tools/bindings/mojom.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 8
9 group("host") { 9 group("host") {
10 testonly = true 10 testonly = true
11 11
12 deps = [ 12 deps = [
13 ":lib", 13 ":lib",
14 ":mojo_runner_host_unittests", 14 ":mojo_runner_host_unittests",
15 ] 15 ]
16 } 16 }
17 17
18 config("native_application_support_with_gles2") {
19 defines = [ "NATIVE_APPLICATION_USE_GLES2_IMPL" ]
20 }
21
18 source_set("native_application_support") { 22 source_set("native_application_support") {
19 sources = [ 23 sources = [
20 "native_application_support.cc", 24 "native_application_support.cc",
21 "native_application_support.h", 25 "native_application_support.h",
22 ] 26 ]
23 27
24 deps = [ 28 deps = [
25 "//base", 29 "//base",
26 "//mojo/gles2",
27 "//mojo/platform_handle:platform_handle_impl", 30 "//mojo/platform_handle:platform_handle_impl",
28 "//mojo/shell", 31 "//mojo/shell",
29 ] 32 ]
30 33
34 if (!is_mac) {
35 configs += [ ":native_application_support_with_gles2" ]
36 deps += [ "//mojo/gles2" ]
37 }
38
31 # This target has to include the public thunk headers, which generally 39 # This target has to include the public thunk headers, which generally
32 # shouldn't be included without picking an implementation. We are providing 40 # shouldn't be included without picking an implementation. We are providing
33 # the implementation but the thunk header target cannot declare that we are 41 # the implementation but the thunk header target cannot declare that we are
34 # permitted to include it since it's in the public SDK and we are not. 42 # permitted to include it since it's in the public SDK and we are not.
35 # Suppress include checking so we can still check the rest of the targets in 43 # Suppress include checking so we can still check the rest of the targets in
36 # this file. 44 # this file.
37 check_includes = false 45 check_includes = false
38 } 46 }
39 47
40 source_set("child_process_base") { 48 source_set("child_process_base") {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 "//base", 117 "//base",
110 "//base/test:test_support", 118 "//base/test:test_support",
111 "//mojo/edk/system", 119 "//mojo/edk/system",
112 "//mojo/message_pump", 120 "//mojo/message_pump",
113 "//mojo/shell", 121 "//mojo/shell",
114 "//mojo/shell/runner:init", 122 "//mojo/shell/runner:init",
115 "//mojo/shell/runner/common", 123 "//mojo/shell/runner/common",
116 "//testing/gtest", 124 "//testing/gtest",
117 ] 125 ]
118 } 126 }
OLDNEW
« no previous file with comments | « mojo/shell/runner/child/runner_connection.cc ('k') | mojo/shell/runner/host/linux_sandbox.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698