| 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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 "native_application_support.h", | 267 "native_application_support.h", |
| 268 "platform_handle_impl.cc", | 268 "platform_handle_impl.cc", |
| 269 ] | 269 ] |
| 270 | 270 |
| 271 public_deps = [ | 271 public_deps = [ |
| 272 "//mojo/public/cpp/bindings", | 272 "//mojo/public/cpp/bindings", |
| 273 ] | 273 ] |
| 274 | 274 |
| 275 deps = [ | 275 deps = [ |
| 276 "//base", | 276 "//base", |
| 277 "//mojo/edk/system", |
| 277 "//mojo/gles2:control_thunks", | 278 "//mojo/gles2:control_thunks", |
| 278 "//mojo/gles2:gles2", | 279 "//mojo/gles2:gles2", |
| 279 "//mojo/gles2:mgl", | 280 "//mojo/gles2:mgl", |
| 280 "//mojo/public/platform/native:platform_handle_api", | 281 "//mojo/public/platform/native:platform_handle_api", |
| 281 ] | 282 ] |
| 282 | 283 |
| 283 # This target has to include the public thunk headers, which generally | 284 # This target has to include the public thunk headers, which generally |
| 284 # shouldn't be included without picking an implementation. We are providing | 285 # shouldn't be included without picking an implementation. We are providing |
| 285 # the implementation but the thunk header target cannot declare that we are | 286 # the implementation but the thunk header target cannot declare that we are |
| 286 # permitted to include it since it's in the public SDK and we are not. | 287 # permitted to include it since it's in the public SDK and we are not. |
| 287 # Suppress include checking so we can still check the rest of the targets in | 288 # Suppress include checking so we can still check the rest of the targets in |
| 288 # this file. | 289 # this file. |
| 289 check_includes = false | 290 check_includes = false |
| 291 |
| 292 configs += [ "//mojo/public/c:c_config" ] |
| 290 } | 293 } |
| 291 | 294 |
| 292 if (is_android) { | 295 if (is_android) { |
| 293 generate_jni("jni_headers") { | 296 generate_jni("jni_headers") { |
| 294 sources = [ | 297 sources = [ |
| 295 "android/apk/src/org/chromium/mojo/shell/AndroidHandler.java", | 298 "android/apk/src/org/chromium/mojo/shell/AndroidHandler.java", |
| 296 "android/apk/src/org/chromium/mojo/shell/Bootstrap.java", | 299 "android/apk/src/org/chromium/mojo/shell/Bootstrap.java", |
| 297 "android/apk/src/org/chromium/mojo/shell/JavaApplicationRegistry.java", | 300 "android/apk/src/org/chromium/mojo/shell/JavaApplicationRegistry.java", |
| 298 "android/apk/src/org/chromium/mojo/shell/NativeHandlerThread.java", | 301 "android/apk/src/org/chromium/mojo/shell/NativeHandlerThread.java", |
| 299 "android/apk/src/org/chromium/mojo/shell/ShellService.java", | 302 "android/apk/src/org/chromium/mojo/shell/ShellService.java", |
| (...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 718 "${root_out_dir}/libmojo_shell.so", | 721 "${root_out_dir}/libmojo_shell.so", |
| 719 ] | 722 ] |
| 720 } else { | 723 } else { |
| 721 sources += [ "${root_out_dir}/mojo_shell" ] | 724 sources += [ "${root_out_dir}/mojo_shell" ] |
| 722 } | 725 } |
| 723 | 726 |
| 724 outputs = [ | 727 outputs = [ |
| 725 "${root_out_dir}/symbols/{{source_file_part}}", | 728 "${root_out_dir}/symbols/{{source_file_part}}", |
| 726 ] | 729 ] |
| 727 } | 730 } |
| OLD | NEW |