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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
312 "icon_util.cc", | 312 "icon_util.cc", |
313 "icon_util.h", | 313 "icon_util.h", |
314 ] | 314 ] |
315 } | 315 } |
316 | 316 |
317 # Linux. | 317 # Linux. |
318 if (is_linux) { | 318 if (is_linux) { |
319 configs += [ "//build/config/linux:fontconfig" ] | 319 configs += [ "//build/config/linux:fontconfig" ] |
320 } | 320 } |
321 | 321 |
322 # Chrome OS | |
323 # TODO(jorgelo): make sure this works on Chrome OS. | |
sky
2014/09/18 22:19:37
Please verify before landing.
Jorge Lucangeli Obes
2014/09/18 22:22:23
But the GN build does not work with chromeos=1, ho
| |
324 if (is_chromeos) { | |
325 # Robust JPEG decoding for the login screen. | |
326 deps += [ "//third_party:jpeg" ] | |
327 } | |
328 | |
322 # Ozone stuff. | 329 # Ozone stuff. |
323 if (use_ozone) { | 330 if (use_ozone) { |
324 sources += [ | 331 sources += [ |
325 "platform_font_ozone.cc", | 332 "platform_font_ozone.cc", |
326 ] | 333 ] |
327 } | 334 } |
328 | 335 |
329 if (!use_aura) { | 336 if (!use_aura) { |
330 sources -= [ | 337 sources -= [ |
331 "nine_image_painter.cc", | 338 "nine_image_painter.cc", |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
439 if (is_android) { | 446 if (is_android) { |
440 generate_jni("gfx_jni_headers") { | 447 generate_jni("gfx_jni_headers") { |
441 sources = [ | 448 sources = [ |
442 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 449 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |
443 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 450 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
444 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 451 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
445 ] | 452 ] |
446 jni_package = "gfx" | 453 jni_package = "gfx" |
447 } | 454 } |
448 } | 455 } |
OLD | NEW |