Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Side by Side Diff: ui/gfx/BUILD.gn

Issue 394963002: linux: Add tests for FontRenderParams on Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor updates Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | ui/gfx/DEPS » ('j') | ui/gfx/font_render_params_linux_unittest.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 # The cocoa files don't apply to iOS. 377 # The cocoa files don't apply to iOS.
378 sources -= [ 378 sources -= [
379 "test/ui_cocoa_test_helper.h", 379 "test/ui_cocoa_test_helper.h",
380 "test/ui_cocoa_test_helper.mm", 380 "test/ui_cocoa_test_helper.mm",
381 ] 381 ]
382 } 382 }
383 } 383 }
384 384
385 test("gfx_unittests") { 385 test("gfx_unittests") {
386 sources = [ 386 sources = [
387 "font_render_params_linux_unittest.cc",
387 "geometry/box_unittest.cc", 388 "geometry/box_unittest.cc",
388 "geometry/cubic_bezier_unittest.cc", 389 "geometry/cubic_bezier_unittest.cc",
389 "geometry/insets_unittest.cc", 390 "geometry/insets_unittest.cc",
390 "geometry/matrix3_unittest.cc", 391 "geometry/matrix3_unittest.cc",
391 "geometry/point_unittest.cc", 392 "geometry/point_unittest.cc",
392 "geometry/point3_unittest.cc", 393 "geometry/point3_unittest.cc",
393 "geometry/quad_unittest.cc", 394 "geometry/quad_unittest.cc",
394 "geometry/rect_unittest.cc", 395 "geometry/rect_unittest.cc",
395 "geometry/safe_integer_conversions_unittest.cc", 396 "geometry/safe_integer_conversions_unittest.cc",
396 "geometry/size_unittest.cc", 397 "geometry/size_unittest.cc",
397 "geometry/vector2d_unittest.cc", 398 "geometry/vector2d_unittest.cc",
398 "geometry/vector3d_unittest.cc", 399 "geometry/vector3d_unittest.cc",
399 "range/range_unittest.cc", 400 "range/range_unittest.cc",
400 "test/run_all_unittests.cc", 401 "test/run_all_unittests.cc",
401 ] 402 ]
402 403
403 deps = [ 404 deps = [
404 ":gfx", 405 ":gfx",
405 ":gfx_test_support", 406 ":gfx_test_support",
406 "//base", 407 "//base",
407 "//base/test:test_support", 408 "//base/test:test_support",
409 "//net",
408 "//testing/gtest", 410 "//testing/gtest",
409 "//ui/base", 411 "//ui/base",
410 "//ui/gfx/geometry", 412 "//ui/gfx/geometry",
411 ] 413 ]
414
415 if (use_pango) {
416 sources += [
417 "platform_font_pango_unittest.cc",
Daniel Erat 2014/07/15 22:12:21 this looks like it got dropped in the gn configs.
msw 2014/07/16 00:53:31 Acknowledged.
418 ]
419 }
412 } 420 }
413 421
414 if (is_android) { 422 if (is_android) {
415 generate_jni("gfx_jni_headers") { 423 generate_jni("gfx_jni_headers") {
416 sources = [ 424 sources = [
417 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", 425 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java",
418 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", 426 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java",
419 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", 427 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java",
420 ] 428 ]
421 jni_package = "gfx" 429 jni_package = "gfx"
422 } 430 }
423 } 431 }
OLDNEW
« no previous file with comments | « no previous file | ui/gfx/DEPS » ('j') | ui/gfx/font_render_params_linux_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698