| 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("//testing/test.gni") | 9 import("//testing/test.gni") |
| 10 import("//ui/base/ui_features.gni") | 10 import("//ui/base/ui_features.gni") |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 ] | 42 ] |
| 43 | 43 |
| 44 defines = [ "UI_DATA_PACK_IMPLEMENTATION" ] | 44 defines = [ "UI_DATA_PACK_IMPLEMENTATION" ] |
| 45 | 45 |
| 46 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 46 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 47 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 47 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 48 } | 48 } |
| 49 | 49 |
| 50 buildflag_header("ui_features") { | 50 buildflag_header("ui_features") { |
| 51 header = "ui_features.h" | 51 header = "ui_features.h" |
| 52 flags = [ "ENABLE_HIDPI=$enable_hidpi" ] | 52 flags = [ |
| 53 "ENABLE_HIDPI=$enable_hidpi", |
| 54 "USE_XKBCOMMON=$use_xkbcommon", |
| 55 ] |
| 53 } | 56 } |
| 54 | 57 |
| 55 component("base") { | 58 component("base") { |
| 56 output_name = "ui_base" | 59 output_name = "ui_base" |
| 57 | 60 |
| 58 sources = [ | 61 sources = [ |
| 59 "accelerators/menu_label_accelerator_util_linux.cc", | 62 "accelerators/menu_label_accelerator_util_linux.cc", |
| 60 "accelerators/menu_label_accelerator_util_linux.h", | 63 "accelerators/menu_label_accelerator_util_linux.h", |
| 61 "accelerators/platform_accelerator.h", | 64 "accelerators/platform_accelerator.h", |
| 62 "accelerators/platform_accelerator_cocoa.h", | 65 "accelerators/platform_accelerator_cocoa.h", |
| (...skipping 897 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 960 if (is_mac) { | 963 if (is_mac) { |
| 961 mac_framework_bundle("ui_unittests_framework") { | 964 mac_framework_bundle("ui_unittests_framework") { |
| 962 testonly = true | 965 testonly = true |
| 963 deps = [ | 966 deps = [ |
| 964 "//ui/resources:ui_test_pak_bundle_data", | 967 "//ui/resources:ui_test_pak_bundle_data", |
| 965 ] | 968 ] |
| 966 info_plist = "test/framework-Info.plist" | 969 info_plist = "test/framework-Info.plist" |
| 967 output_name = "ui_unittests Framework" | 970 output_name = "ui_unittests Framework" |
| 968 } | 971 } |
| 969 } | 972 } |
| OLD | NEW |