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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 = [ | 52 flags = [ |
53 "ENABLE_HIDPI=$enable_hidpi", | 53 "ENABLE_HIDPI=$enable_hidpi", |
54 "USE_XKBCOMMON=$use_xkbcommon", | 54 "USE_XKBCOMMON=$use_xkbcommon", |
| 55 "MAC_VIEWS_BROWSER=$mac_views_browser", |
55 ] | 56 ] |
56 } | 57 } |
57 | 58 |
58 component("base") { | 59 component("base") { |
59 output_name = "ui_base" | 60 output_name = "ui_base" |
60 | 61 |
61 sources = [ | 62 sources = [ |
62 "accelerators/menu_label_accelerator_util_linux.cc", | 63 "accelerators/menu_label_accelerator_util_linux.cc", |
63 "accelerators/menu_label_accelerator_util_linux.h", | 64 "accelerators/menu_label_accelerator_util_linux.h", |
64 "accelerators/platform_accelerator.h", | 65 "accelerators/platform_accelerator.h", |
(...skipping 893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
958 if (is_mac) { | 959 if (is_mac) { |
959 mac_framework_bundle("ui_unittests_framework") { | 960 mac_framework_bundle("ui_unittests_framework") { |
960 testonly = true | 961 testonly = true |
961 deps = [ | 962 deps = [ |
962 "//ui/resources:ui_test_pak_bundle_data", | 963 "//ui/resources:ui_test_pak_bundle_data", |
963 ] | 964 ] |
964 info_plist = "test/framework-Info.plist" | 965 info_plist = "test/framework-Info.plist" |
965 output_name = "ui_unittests Framework" | 966 output_name = "ui_unittests Framework" |
966 } | 967 } |
967 } | 968 } |
OLD | NEW |