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 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
357 if (use_pango && use_ozone) { | 357 if (use_pango && use_ozone) { |
358 sources -= [ | 358 sources -= [ |
359 "platform_font_ozone.cc", | 359 "platform_font_ozone.cc", |
360 ] | 360 ] |
361 } | 361 } |
362 } | 362 } |
363 | 363 |
364 # Looking for gfx_geometry? It's //ui/gfx/geometry:geometry | 364 # Looking for gfx_geometry? It's //ui/gfx/geometry:geometry |
365 | 365 |
366 source_set("test_support") { | 366 source_set("test_support") { |
| 367 testonly = true |
367 sources = [ | 368 sources = [ |
368 "test/fontconfig_util_linux.cc", | 369 "test/fontconfig_util_linux.cc", |
369 "test/fontconfig_util_linux.h", | 370 "test/fontconfig_util_linux.h", |
370 "test/gfx_util.cc", | 371 "test/gfx_util.cc", |
371 "test/gfx_util.h", | 372 "test/gfx_util.h", |
372 "test/ui_cocoa_test_helper.h", | 373 "test/ui_cocoa_test_helper.h", |
373 "test/ui_cocoa_test_helper.mm", | 374 "test/ui_cocoa_test_helper.mm", |
374 ] | 375 ] |
375 | 376 |
376 deps = [ | 377 deps = [ |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 if (is_android) { | 440 if (is_android) { |
440 generate_jni("gfx_jni_headers") { | 441 generate_jni("gfx_jni_headers") { |
441 sources = [ | 442 sources = [ |
442 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 443 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |
443 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 444 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
444 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 445 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
445 ] | 446 ] |
446 jni_package = "gfx" | 447 jni_package = "gfx" |
447 } | 448 } |
448 } | 449 } |
OLD | NEW |