Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(219)

Side by Side Diff: ui/gfx/BUILD.gn

Issue 1904753002: MenuButton: support Mac look & feel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add basic tests Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 if (is_android) { 8 if (is_android) {
9 import("//build/config/android/config.gni") 9 import("//build/config/android/config.gni")
10 import("//build/config/android/rules.gni") 10 import("//build/config/android/rules.gni")
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 "platform_font_mac.h", 155 "platform_font_mac.h",
156 "platform_font_mac.mm", 156 "platform_font_mac.mm",
157 "platform_font_win.cc", 157 "platform_font_win.cc",
158 "platform_font_win.h", 158 "platform_font_win.h",
159 "range/range.cc", 159 "range/range.cc",
160 "range/range.h", 160 "range/range.h",
161 "range/range_f.cc", 161 "range/range_f.cc",
162 "range/range_f.h", 162 "range/range_f.h",
163 "range/range_mac.mm", 163 "range/range_mac.mm",
164 "range/range_win.cc", 164 "range/range_win.cc",
165 "scoped_canvas.cc",
165 "scoped_canvas.h", 166 "scoped_canvas.h",
166 "scoped_cg_context_save_gstate_mac.h", 167 "scoped_cg_context_save_gstate_mac.h",
167 "scoped_ns_graphics_context_save_gstate_mac.h", 168 "scoped_ns_graphics_context_save_gstate_mac.h",
168 "scoped_ns_graphics_context_save_gstate_mac.mm", 169 "scoped_ns_graphics_context_save_gstate_mac.mm",
169 "scoped_ui_graphics_push_context_ios.h", 170 "scoped_ui_graphics_push_context_ios.h",
170 "scoped_ui_graphics_push_context_ios.mm", 171 "scoped_ui_graphics_push_context_ios.mm",
171 "screen.cc", 172 "screen.cc",
172 "screen.h", 173 "screen.h",
173 "screen_android.cc", 174 "screen_android.cc",
174 "screen_aura.cc", 175 "screen_aura.cc",
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 # but rather a response file listing the inputs or sometimes the build will 572 # but rather a response file listing the inputs or sometimes the build will
572 # be incorrect. In this case, Ninja won't be able to do proper dependency 573 # be incorrect. In this case, Ninja won't be able to do proper dependency
573 # tracking since if a file is deleted, the command line will be the same 574 # tracking since if a file is deleted, the command line will be the same
574 # and the action will not be re-run. 575 # and the action will not be re-run.
575 "--working_directory=" + rebase_path("vector_icons/"), 576 "--working_directory=" + rebase_path("vector_icons/"),
576 "--output_cc=" + rebase_path(vector_icons_cc_file, root_build_dir), 577 "--output_cc=" + rebase_path(vector_icons_cc_file, root_build_dir),
577 "--output_h=" + rebase_path(vector_icons_h_file, root_build_dir), 578 "--output_h=" + rebase_path(vector_icons_h_file, root_build_dir),
578 ] 579 ]
579 580
580 if (is_mac) { 581 if (is_mac) {
581 sources += [ "vector_icons/combobox_arrow_mac.icon" ] 582 sources += [
583 "vector_icons/combobox_arrow_mac.icon",
584 "vector_icons/menu_button_arrow_mac.icon",
585 ]
582 } 586 }
583 } 587 }
584 588
585 # Looking for gfx_geometry? It's //ui/gfx/geometry:geometry 589 # Looking for gfx_geometry? It's //ui/gfx/geometry:geometry
586 590
587 # Depend on this to use native_widget_types.h without pulling in all of gfx. 591 # Depend on this to use native_widget_types.h without pulling in all of gfx.
588 source_set("native_widget_types") { 592 source_set("native_widget_types") {
589 public = [ 593 public = [
590 "native_widget_types.h", 594 "native_widget_types.h",
591 ] 595 ]
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 if (is_android) { 846 if (is_android) {
843 generate_jni("gfx_jni_headers") { 847 generate_jni("gfx_jni_headers") {
844 sources = [ 848 sources = [
845 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", 849 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java",
846 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", 850 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java",
847 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", 851 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java",
848 ] 852 ]
849 jni_package = "gfx" 853 jni_package = "gfx"
850 } 854 }
851 } 855 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698