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/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
6 import("//build/config/compiler/compiler.gni") | 6 import("//build/config/compiler/compiler.gni") |
7 import("//build/config/sanitizers/sanitizers.gni") | 7 import("//build/config/sanitizers/sanitizers.gni") |
8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
| 9 import("//mojo/public/tools/bindings/mojom.gni") |
9 import("//testing/test.gni") | 10 import("//testing/test.gni") |
10 import("//ui/base/ui_features.gni") | 11 import("//ui/base/ui_features.gni") |
11 import("//ui/ozone/ozone.gni") | 12 import("//ui/ozone/ozone.gni") |
12 | 13 |
13 if (is_android) { | 14 if (is_android) { |
14 import("//build/config/android/config.gni") | 15 import("//build/config/android/config.gni") |
15 import("//build/config/android/rules.gni") | 16 import("//build/config/android/rules.gni") |
16 } else if (is_mac) { | 17 } else if (is_mac) { |
17 import("//build/config/mac/rules.gni") | 18 import("//build/config/mac/rules.gni") |
18 } | 19 } |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 # Empty implementation for all other cases. | 356 # Empty implementation for all other cases. |
356 sources += [ "touch/touch_device.cc" ] | 357 sources += [ "touch/touch_device.cc" ] |
357 } | 358 } |
358 | 359 |
359 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 360 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
360 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 361 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
361 | 362 |
362 defines = [ "UI_BASE_IMPLEMENTATION" ] | 363 defines = [ "UI_BASE_IMPLEMENTATION" ] |
363 | 364 |
364 public_deps = [ | 365 public_deps = [ |
| 366 ":mojo_bindings", |
365 ":ui_data_pack", | 367 ":ui_data_pack", |
366 ":ui_features", | 368 ":ui_features", |
367 "//base", | 369 "//base", |
368 "//skia", | 370 "//skia", |
369 "//ui/events:events_base", | 371 "//ui/events:events_base", |
370 "//ui/events/platform", | 372 "//ui/events/platform", |
371 "//ui/gfx", | 373 "//ui/gfx", |
372 "//ui/gfx/geometry", | 374 "//ui/gfx/geometry", |
373 ] | 375 ] |
374 deps = [ | 376 deps = [ |
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
953 if (is_mac) { | 955 if (is_mac) { |
954 mac_framework_bundle("ui_unittests_framework") { | 956 mac_framework_bundle("ui_unittests_framework") { |
955 testonly = true | 957 testonly = true |
956 deps = [ | 958 deps = [ |
957 "//ui/resources:ui_test_pak_bundle_data", | 959 "//ui/resources:ui_test_pak_bundle_data", |
958 ] | 960 ] |
959 info_plist = "test/framework-Info.plist" | 961 info_plist = "test/framework-Info.plist" |
960 output_name = "ui_unittests Framework" | 962 output_name = "ui_unittests Framework" |
961 } | 963 } |
962 } | 964 } |
| 965 |
| 966 mojom("mojo_bindings") { |
| 967 sources = [ |
| 968 "window_open_disposition.mojom", |
| 969 ] |
| 970 } |
OLD | NEW |