| 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 | 6 |
| 7 if (is_android) { | 7 if (is_android) { |
| 8 import("//build/config/android/config.gni") | 8 import("//build/config/android/config.gni") |
| 9 import("//build/config/android/rules.gni") | 9 import("//build/config/android/rules.gni") |
| 10 } | 10 } |
| 11 | 11 |
| 12 # Several targets want to include this header file, and some of them are | 12 # Several targets want to include this header file, and some of them are |
| 13 # child dependencies of "gfx". Therefore, we separate it out here so multiple | 13 # child dependencies of "gfx". Therefore, we separate it out here so multiple |
| 14 # targets can all have a dependency for header checking purposes without | 14 # targets can all have a dependency for header checking purposes without |
| 15 # creating circular dependencies. | 15 # creating circular dependencies. |
| 16 source_set("gfx_export") { | 16 source_set("gfx_export") { |
| 17 sources = [ | 17 sources = [ |
| 18 "gfx_export.h", | 18 "gfx_export.h", |
| 19 ] | 19 ] |
| 20 } | 20 } |
| 21 | 21 |
| 22 component("gfx") { | 22 component("gfx") { |
| 23 sources = [ | 23 sources = [ |
| 24 "android/device_display_info.cc", | 24 "android/device_display_info.cc", |
| 25 "android/device_display_info.h", | 25 "android/device_display_info.h", |
| 26 "android/gfx_jni_registrar.cc", | 26 "android/gfx_jni_registrar.cc", |
| 27 "android/gfx_jni_registrar.h", | 27 "android/gfx_jni_registrar.h", |
| 28 "android/java_bitmap.cc", | 28 "android/java_bitmap.cc", |
| 29 "android/java_bitmap.h", | 29 "android/java_bitmap.h", |
| 30 "android/scroller.cc", | |
| 31 "android/scroller.h", | |
| 32 "android/shared_device_display_info.cc", | 30 "android/shared_device_display_info.cc", |
| 33 "android/shared_device_display_info.h", | 31 "android/shared_device_display_info.h", |
| 34 "android/view_configuration.cc", | 32 "android/view_configuration.cc", |
| 35 "android/view_configuration.h", | 33 "android/view_configuration.h", |
| 36 "animation/animation.cc", | 34 "animation/animation.cc", |
| 37 "animation/animation.h", | 35 "animation/animation.h", |
| 38 "animation/animation_container.cc", | 36 "animation/animation_container.cc", |
| 39 "animation/animation_container.h", | 37 "animation/animation_container.h", |
| 40 "animation/animation_container_element.h", | 38 "animation/animation_container_element.h", |
| 41 "animation/animation_container_observer.h", | 39 "animation/animation_container_observer.h", |
| (...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 563 if (is_android) { | 561 if (is_android) { |
| 564 generate_jni("gfx_jni_headers") { | 562 generate_jni("gfx_jni_headers") { |
| 565 sources = [ | 563 sources = [ |
| 566 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 564 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |
| 567 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 565 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
| 568 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 566 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
| 569 ] | 567 ] |
| 570 jni_package = "gfx" | 568 jni_package = "gfx" |
| 571 } | 569 } |
| 572 } | 570 } |
| OLD | NEW |