| 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 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 if (is_chromeos) { | 384 if (is_chromeos) { |
| 385 # Robust JPEG decoding for the login screen. | 385 # Robust JPEG decoding for the login screen. |
| 386 sources += [ | 386 sources += [ |
| 387 "chromeos/codec/jpeg_codec_robust_slow.cc", | 387 "chromeos/codec/jpeg_codec_robust_slow.cc", |
| 388 "chromeos/codec/jpeg_codec_robust_slow.h", | 388 "chromeos/codec/jpeg_codec_robust_slow.h", |
| 389 ] | 389 ] |
| 390 deps += [ "//third_party/libjpeg" ] | 390 deps += [ "//third_party/libjpeg" ] |
| 391 } | 391 } |
| 392 | 392 |
| 393 if (is_mac) { | 393 if (is_mac) { |
| 394 libs = [ "IOSurface.framework" ] | 394 libs = [ |
| 395 "AppKit.framework", |
| 396 "CoreFoundation.framework", |
| 397 "CoreGraphics.framework", |
| 398 "CoreText.framework", |
| 399 "IOSurface.framework", |
| 400 ] |
| 395 } | 401 } |
| 396 | 402 |
| 397 if (!use_aura) { | 403 if (!use_aura) { |
| 398 sources -= [ "screen_aura.cc" ] | 404 sources -= [ "screen_aura.cc" ] |
| 399 if (!toolkit_views) { | 405 if (!toolkit_views) { |
| 400 sources -= [ | 406 sources -= [ |
| 401 "nine_image_painter.cc", | 407 "nine_image_painter.cc", |
| 402 "nine_image_painter.h", | 408 "nine_image_painter.h", |
| 403 ] | 409 ] |
| 404 } | 410 } |
| (...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 839 if (is_android) { | 845 if (is_android) { |
| 840 generate_jni("gfx_jni_headers") { | 846 generate_jni("gfx_jni_headers") { |
| 841 sources = [ | 847 sources = [ |
| 842 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 848 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |
| 843 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 849 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
| 844 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 850 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
| 845 ] | 851 ] |
| 846 jni_package = "gfx" | 852 jni_package = "gfx" |
| 847 } | 853 } |
| 848 } | 854 } |
| OLD | NEW |