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

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

Issue 2623653002: android: Remove DeviceDisplayInfo (Closed)
Patch Set: rebase Created 3 years, 11 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 import("//testing/libfuzzer/fuzzer_test.gni") 7 import("//testing/libfuzzer/fuzzer_test.gni")
8 8
9 if (is_android) { 9 if (is_android) {
10 import("//build/config/android/config.gni") 10 import("//build/config/android/config.gni")
11 import("//build/config/android/rules.gni") 11 import("//build/config/android/rules.gni")
12 } 12 }
13 13
14 # Several targets want to include this header file, and some of them are 14 # Several targets want to include this header file, and some of them are
15 # child dependencies of "gfx". Therefore, we separate it out here so multiple 15 # child dependencies of "gfx". Therefore, we separate it out here so multiple
16 # targets can all have a dependency for header checking purposes without 16 # targets can all have a dependency for header checking purposes without
17 # creating circular dependencies. 17 # creating circular dependencies.
18 source_set("gfx_export") { 18 source_set("gfx_export") {
19 sources = [ 19 sources = [
20 "gfx_export.h", 20 "gfx_export.h",
21 ] 21 ]
22 } 22 }
23 23
24 component("gfx") { 24 component("gfx") {
25 sources = [ 25 sources = [
26 "android/device_display_info.cc",
27 "android/device_display_info.h",
28 "android/gfx_jni_registrar.cc", 26 "android/gfx_jni_registrar.cc",
29 "android/gfx_jni_registrar.h", 27 "android/gfx_jni_registrar.h",
30 "android/java_bitmap.cc", 28 "android/java_bitmap.cc",
31 "android/java_bitmap.h", 29 "android/java_bitmap.h",
32 "android/shared_device_display_info.cc",
33 "android/shared_device_display_info.h",
34 "android/view_configuration.cc", 30 "android/view_configuration.cc",
35 "android/view_configuration.h", 31 "android/view_configuration.h",
36 "animation/animation.cc", 32 "animation/animation.cc",
37 "animation/animation.h", 33 "animation/animation.h",
38 "animation/animation_container.cc", 34 "animation/animation_container.cc",
39 "animation/animation_container.h", 35 "animation/animation_container.h",
40 "animation/animation_container_element.h", 36 "animation/animation_container_element.h",
41 "animation/animation_container_observer.h", 37 "animation/animation_container_observer.h",
42 "animation/animation_delegate.h", 38 "animation/animation_delegate.h",
43 "animation/animation_mac.mm", 39 "animation/animation_mac.mm",
(...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after
732 "//ui/gfx/mojo:test_interfaces", 728 "//ui/gfx/mojo:test_interfaces",
733 "//ui/gfx/range/mojo:unit_test", 729 "//ui/gfx/range/mojo:unit_test",
734 ] 730 ]
735 } 731 }
736 } 732 }
737 733
738 if (is_android) { 734 if (is_android) {
739 generate_jni("gfx_jni_headers") { 735 generate_jni("gfx_jni_headers") {
740 sources = [ 736 sources = [
741 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", 737 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java",
742 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java",
743 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", 738 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java",
744 ] 739 ]
745 jni_package = "gfx" 740 jni_package = "gfx"
746 } 741 }
747 } 742 }
748 743
749 fuzzer_test("color_transform_fuzztest") { 744 fuzzer_test("color_transform_fuzztest") {
750 sources = [ 745 sources = [
751 "color_transform_fuzzer.cc", 746 "color_transform_fuzzer.cc",
752 ] 747 ]
753 deps = [ 748 deps = [
754 ":gfx", 749 ":gfx",
755 ] 750 ]
756 libfuzzer_options = [ "max_len=1024" ] 751 libfuzzer_options = [ "max_len=1024" ]
757 } 752 }
OLDNEW
« no previous file with comments | « ui/android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java ('k') | ui/gfx/android/device_display_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698