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