| 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 } |
| (...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 "icon_util.cc", | 313 "icon_util.cc", |
| 314 "icon_util.h", | 314 "icon_util.h", |
| 315 ] | 315 ] |
| 316 } | 316 } |
| 317 | 317 |
| 318 # Linux. | 318 # Linux. |
| 319 if (is_linux) { | 319 if (is_linux) { |
| 320 configs += [ "//build/config/linux:fontconfig" ] | 320 configs += [ "//build/config/linux:fontconfig" ] |
| 321 } | 321 } |
| 322 | 322 |
| 323 # Chrome OS |
| 324 # TODO(jorgelo): make sure this works on Chrome OS. |
| 325 if (is_chromeos) { |
| 326 # Robust JPEG decoding for the login screen. |
| 327 deps += [ "//third_party:jpeg" ] |
| 328 } |
| 329 |
| 323 # Ozone stuff. | 330 # Ozone stuff. |
| 324 if (use_ozone) { | 331 if (use_ozone) { |
| 325 sources += [ | 332 sources += [ |
| 326 "platform_font_ozone.cc", | 333 "platform_font_ozone.cc", |
| 327 ] | 334 ] |
| 328 } | 335 } |
| 329 | 336 |
| 330 if (!use_aura) { | 337 if (!use_aura) { |
| 331 sources -= [ | 338 sources -= [ |
| 332 "nine_image_painter.cc", | 339 "nine_image_painter.cc", |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 556 if (is_android) { | 563 if (is_android) { |
| 557 generate_jni("gfx_jni_headers") { | 564 generate_jni("gfx_jni_headers") { |
| 558 sources = [ | 565 sources = [ |
| 559 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 566 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |
| 560 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 567 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
| 561 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 568 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
| 562 ] | 569 ] |
| 563 jni_package = "gfx" | 570 jni_package = "gfx" |
| 564 } | 571 } |
| 565 } | 572 } |
| OLD | NEW |