| 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("//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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 deps -= [ "//services/url_response_disk_cache" ] | 262 deps -= [ "//services/url_response_disk_cache" ] |
| 263 } | 263 } |
| 264 } | 264 } |
| 265 | 265 |
| 266 # This is a separate target mainly since it suppresses check_includes. | 266 # This is a separate target mainly since it suppresses check_includes. |
| 267 # TODO(vtl): Make it so that the suppression isn't needed. | 267 # TODO(vtl): Make it so that the suppression isn't needed. |
| 268 source_set("native_application_support") { | 268 source_set("native_application_support") { |
| 269 sources = [ | 269 sources = [ |
| 270 "native_application_support.cc", | 270 "native_application_support.cc", |
| 271 "native_application_support.h", | 271 "native_application_support.h", |
| 272 "platform_handle_impl.cc", |
| 272 ] | 273 ] |
| 273 | 274 |
| 274 public_deps = [ | 275 public_deps = [ |
| 275 "//mojo/public/cpp/bindings", | 276 "//mojo/public/cpp/bindings", |
| 276 ] | 277 ] |
| 277 | 278 |
| 278 deps = [ | 279 deps = [ |
| 279 "//base", | 280 "//base", |
| 280 "//mojo/gles2:control_thunks", | 281 "//mojo/gles2:control_thunks", |
| 281 "//mojo/gles2:gles2", | 282 "//mojo/gles2:gles2", |
| 282 "//mojo/gles2:mgl", | 283 "//mojo/gles2:mgl", |
| 284 "//mojo/public/platform/native:platform_handle_api", |
| 283 ] | 285 ] |
| 284 | 286 |
| 285 # This target has to include the public thunk headers, which generally | 287 # This target has to include the public thunk headers, which generally |
| 286 # shouldn't be included without picking an implementation. We are providing | 288 # shouldn't be included without picking an implementation. We are providing |
| 287 # the implementation but the thunk header target cannot declare that we are | 289 # the implementation but the thunk header target cannot declare that we are |
| 288 # permitted to include it since it's in the public SDK and we are not. | 290 # permitted to include it since it's in the public SDK and we are not. |
| 289 # Suppress include checking so we can still check the rest of the targets in | 291 # Suppress include checking so we can still check the rest of the targets in |
| 290 # this file. | 292 # this file. |
| 291 check_includes = false | 293 check_includes = false |
| 292 } | 294 } |
| (...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 715 "${root_out_dir}/libmojo_shell.so", | 717 "${root_out_dir}/libmojo_shell.so", |
| 716 ] | 718 ] |
| 717 } else { | 719 } else { |
| 718 sources += [ "${root_out_dir}/mojo_shell" ] | 720 sources += [ "${root_out_dir}/mojo_shell" ] |
| 719 } | 721 } |
| 720 | 722 |
| 721 outputs = [ | 723 outputs = [ |
| 722 "${root_out_dir}/symbols/{{source_file_part}}", | 724 "${root_out_dir}/symbols/{{source_file_part}}", |
| 723 ] | 725 ] |
| 724 } | 726 } |
| OLD | NEW |