OLD | NEW |
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 assert(is_android) | 5 assert(is_android) |
6 | 6 |
7 import("//build/config/android/config.gni") | 7 import("//build/config/android/config.gni") |
8 import("//build/config/android/rules.gni") | 8 import("//build/config/android/rules.gni") |
9 | 9 |
10 generate_jni("jni_headers") { | 10 generate_jni("jni_headers") { |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 "ui/engine.cc", | 43 "ui/engine.cc", |
44 "ui/engine.h", | 44 "ui/engine.h", |
45 "ui/input_event_converter.cc", | 45 "ui/input_event_converter.cc", |
46 "ui/input_event_converter.h", | 46 "ui/input_event_converter.h", |
47 "ui/internals.cc", | 47 "ui/internals.cc", |
48 "ui/internals.h", | 48 "ui/internals.h", |
49 "ui_delegate.cc", | 49 "ui_delegate.cc", |
50 "ui_delegate.h", | 50 "ui_delegate.h", |
51 ] | 51 ] |
52 | 52 |
| 53 include_dirs = [ |
| 54 # Needed for 'dart:io' event handler (used in sky_main.cc). |
| 55 rebase_path("//dart/runtime"), |
| 56 ] |
| 57 |
| 58 # Needed to satisfy //dart/runtime/bin/assert.h |
| 59 defines = [] |
| 60 if (!is_debug) { |
| 61 defines += [ "NDEBUG" ] |
| 62 } else { |
| 63 defines += [ "DEBUG" ] |
| 64 } |
| 65 |
53 deps = [ | 66 deps = [ |
54 "//base", | 67 "//base", |
55 "//base:i18n", | 68 "//base:i18n", |
56 "//build/config/sanitizers:deps", | 69 "//build/config/sanitizers:deps", |
57 "//dart/runtime/bin:libdart_withcore", | 70 "//dart/runtime/bin:libdart_withcore", |
58 "//mojo/android:libsystem_java", | 71 "//mojo/android:libsystem_java", |
59 "//mojo/common", | 72 "//mojo/common", |
60 "//mojo/edk/system", | 73 "//mojo/edk/system", |
61 "//mojo/public/cpp/application", | 74 "//mojo/public/cpp/application", |
62 "//mojo/public/interfaces/application", | 75 "//mojo/public/interfaces/application", |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 copy_ex("assets") { | 115 copy_ex("assets") { |
103 clear_dir = true | 116 clear_dir = true |
104 dest = "$root_build_dir/sky_shell/assets" | 117 dest = "$root_build_dir/sky_shell/assets" |
105 sources = [ | 118 sources = [ |
106 "$root_build_dir/icudtl.dat", | 119 "$root_build_dir/icudtl.dat", |
107 ] | 120 ] |
108 deps = [ | 121 deps = [ |
109 "//third_party/icu", | 122 "//third_party/icu", |
110 ] | 123 ] |
111 } | 124 } |
OLD | NEW |