| 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/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") |
| 11 } | 11 } |
| 12 | 12 |
| 13 # Several targets want to include this header file, and some of them are | 13 # Several targets want to include this header file, and some of them are |
| 14 # child dependencies of "gfx". Therefore, we separate it out here so multiple | 14 # child dependencies of "gfx". Therefore, we separate it out here so multiple |
| 15 # targets can all have a dependency for header checking purposes without | 15 # targets can all have a dependency for header checking purposes without |
| 16 # creating circular dependencies. | 16 # creating circular dependencies. |
| 17 source_set("gfx_export") { | 17 source_set("gfx_export") { |
| 18 sources = [ | 18 sources = [ |
| 19 "gfx_export.h", | 19 "gfx_export.h", |
| 20 ] | 20 ] |
| 21 } | 21 } |
| 22 | 22 |
| 23 component("gfx") { | 23 component("gfx") { |
| 24 sources = [ | 24 sources = [ |
| 25 "android/device_display_info.cc", | 25 "android/device_display_info.cc", |
| 26 "android/device_display_info.h", | 26 "android/device_display_info.h", |
| 27 "android/gfx_jni_registrar.cc", | 27 "android/gfx_jni_registrar.cc", |
| 28 "android/gfx_jni_registrar.h", | 28 "android/gfx_jni_registrar.h", |
| 29 "android/java_bitmap.cc", | |
| 30 "android/java_bitmap.h", | |
| 31 "android/shared_device_display_info.cc", | 29 "android/shared_device_display_info.cc", |
| 32 "android/shared_device_display_info.h", | 30 "android/shared_device_display_info.h", |
| 33 "android/view_configuration.cc", | 31 "android/view_configuration.cc", |
| 34 "android/view_configuration.h", | 32 "android/view_configuration.h", |
| 35 "animation/animation.cc", | 33 "animation/animation.cc", |
| 36 "animation/animation.h", | 34 "animation/animation.h", |
| 37 "animation/animation_container.cc", | 35 "animation/animation_container.cc", |
| 38 "animation/animation_container.h", | 36 "animation/animation_container.h", |
| 39 "animation/animation_container_element.h", | 37 "animation/animation_container_element.h", |
| 40 "animation/animation_container_observer.h", | 38 "animation/animation_container_observer.h", |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 if (is_android) { | 220 if (is_android) { |
| 223 generate_jni("gfx_jni_headers") { | 221 generate_jni("gfx_jni_headers") { |
| 224 sources = [ | 222 sources = [ |
| 225 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 223 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |
| 226 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 224 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
| 227 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 225 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
| 228 ] | 226 ] |
| 229 jni_package = "gfx" | 227 jni_package = "gfx" |
| 230 } | 228 } |
| 231 } | 229 } |
| OLD | NEW |