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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 } | 410 } |
411 | 411 |
412 if (use_x11) { | 412 if (use_x11) { |
413 deps += [ "//ui/gfx/x" ] | 413 deps += [ "//ui/gfx/x" ] |
414 configs += [ "//build/config/linux:x11" ] | 414 configs += [ "//build/config/linux:x11" ] |
415 } else { | 415 } else { |
416 sources -= [ "path_x11.cc" ] | 416 sources -= [ "path_x11.cc" ] |
417 } | 417 } |
418 | 418 |
419 if (use_cairo) { | 419 if (use_cairo) { |
420 configs += [ "//build/config/linux:pangocairo" ] | 420 configs += [ "//build/config/linux/pangocairo" ] |
421 } | 421 } |
422 } | 422 } |
423 | 423 |
424 # GYP version: ui/gfx/gfx.gyp:aggregate_vector_icons | 424 # GYP version: ui/gfx/gfx.gyp:aggregate_vector_icons |
425 action("aggregate_vector_icons") { | 425 action("aggregate_vector_icons") { |
426 script = "vector_icons/aggregate_vector_icons.py" | 426 script = "vector_icons/aggregate_vector_icons.py" |
427 | 427 |
428 # TODO(estade): move all platform-specific icons into their own directories. | 428 # TODO(estade): move all platform-specific icons into their own directories. |
429 sources = [ | 429 sources = [ |
430 "vector_icons/account_box.icon", | 430 "vector_icons/account_box.icon", |
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
842 if (is_android) { | 842 if (is_android) { |
843 generate_jni("gfx_jni_headers") { | 843 generate_jni("gfx_jni_headers") { |
844 sources = [ | 844 sources = [ |
845 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 845 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |
846 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 846 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
847 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 847 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
848 ] | 848 ] |
849 jni_package = "gfx" | 849 jni_package = "gfx" |
850 } | 850 } |
851 } | 851 } |
OLD | NEW |