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

Side by Side Diff: shell/BUILD.gn

Issue 1578423002: Added PlatformHandle thunks. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 11 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
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.gni") 6 import("//mojo/public/mojo.gni")
7 import("//mojo/public/mojo_application.gni") 7 import("//mojo/public/mojo_application.gni")
8 import("//mojo/public/tools/bindings/mojom.gni") 8 import("//mojo/public/tools/bindings/mojom.gni")
9 import("//mojo/tools/embed/rules.gni") 9 import("//mojo/tools/embed/rules.gni")
10 import("//testing/test.gni") 10 import("//testing/test.gni")
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 deps -= [ "//services/url_response_disk_cache" ] 263 deps -= [ "//services/url_response_disk_cache" ]
264 } 264 }
265 } 265 }
266 266
267 # This is a separate target mainly since it suppresses check_includes. 267 # This is a separate target mainly since it suppresses check_includes.
268 # TODO(vtl): Make it so that the suppression isn't needed. 268 # TODO(vtl): Make it so that the suppression isn't needed.
269 source_set("native_application_support") { 269 source_set("native_application_support") {
270 sources = [ 270 sources = [
271 "native_application_support.cc", 271 "native_application_support.cc",
272 "native_application_support.h", 272 "native_application_support.h",
273 "platform_handle_impl.cc",
273 ] 274 ]
274 275
275 public_deps = [ 276 public_deps = [
276 "//mojo/public/cpp/bindings", 277 "//mojo/public/cpp/bindings",
277 ] 278 ]
278 279
279 deps = [ 280 deps = [
280 "//base", 281 "//base",
281 "//mojo/gles2:control_thunks", 282 "//mojo/gles2:control_thunks",
282 "//mojo/gles2:gles2", 283 "//mojo/gles2:gles2",
283 "//mojo/gles2:mgl", 284 "//mojo/gles2:mgl",
285 "//mojo/platform_handle:defs",
284 ] 286 ]
285 287
286 # This target has to include the public thunk headers, which generally 288 # This target has to include the public thunk headers, which generally
287 # shouldn't be included without picking an implementation. We are providing 289 # shouldn't be included without picking an implementation. We are providing
288 # the implementation but the thunk header target cannot declare that we are 290 # the implementation but the thunk header target cannot declare that we are
289 # permitted to include it since it's in the public SDK and we are not. 291 # permitted to include it since it's in the public SDK and we are not.
290 # Suppress include checking so we can still check the rest of the targets in 292 # Suppress include checking so we can still check the rest of the targets in
291 # this file. 293 # this file.
292 check_includes = false 294 check_includes = false
293 } 295 }
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 "${root_out_dir}/libmojo_shell.so", 722 "${root_out_dir}/libmojo_shell.so",
721 ] 723 ]
722 } else { 724 } else {
723 sources += [ "${root_out_dir}/mojo_shell" ] 725 sources += [ "${root_out_dir}/mojo_shell" ]
724 } 726 }
725 727
726 outputs = [ 728 outputs = [
727 "${root_out_dir}/symbols/{{source_file_part}}", 729 "${root_out_dir}/symbols/{{source_file_part}}",
728 ] 730 ]
729 } 731 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698