| 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") |
| (...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 } else { | 322 } else { |
| 323 sources -= [ | 323 sources -= [ |
| 324 "animation/throb_animation.cc", | 324 "animation/throb_animation.cc", |
| 325 "canvas_skia.cc", | 325 "canvas_skia.cc", |
| 326 "path.cc", | 326 "path.cc", |
| 327 "selection_model.cc", | 327 "selection_model.cc", |
| 328 ] | 328 ] |
| 329 } | 329 } |
| 330 | 330 |
| 331 if (!is_debug) { | 331 if (!is_debug) { |
| 332 configs -= [ "//build/config/compiler:optimize" ] | 332 configs -= [ "//build/config/compiler:default_optimization" ] |
| 333 configs += [ "//build/config/compiler:optimize_max" ] | 333 configs += [ "//build/config/compiler:optimize_max" ] |
| 334 } | 334 } |
| 335 | 335 |
| 336 deps += [ | 336 deps += [ |
| 337 ":gfx_jni_headers", | 337 ":gfx_jni_headers", |
| 338 "//base:base_java", | 338 "//base:base_java", |
| 339 ] | 339 ] |
| 340 libs = [ | 340 libs = [ |
| 341 "android", | 341 "android", |
| 342 "jnigraphics", | 342 "jnigraphics", |
| (...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 680 if (is_android) { | 680 if (is_android) { |
| 681 generate_jni("gfx_jni_headers") { | 681 generate_jni("gfx_jni_headers") { |
| 682 sources = [ | 682 sources = [ |
| 683 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 683 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |
| 684 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 684 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
| 685 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 685 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
| 686 ] | 686 ] |
| 687 jni_package = "gfx" | 687 jni_package = "gfx" |
| 688 } | 688 } |
| 689 } | 689 } |
| OLD | NEW |