OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 if (current_cpu == "arm" || current_cpu == "arm64") { | 8 if (current_cpu == "arm" || current_cpu == "arm64") { |
9 import("//build/config/arm.gni") | 9 import("//build/config/arm.gni") |
10 } | 10 } |
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 "//third_party/freetype2", | 446 "//third_party/freetype2", |
447 "//third_party/icu:icuuc", | 447 "//third_party/icu:icuuc", |
448 ] | 448 ] |
449 } | 449 } |
450 | 450 |
451 if (is_android) { | 451 if (is_android) { |
452 set_sources_assignment_filter([]) | 452 set_sources_assignment_filter([]) |
453 sources += [ "ext/platform_device_linux.cc" ] | 453 sources += [ "ext/platform_device_linux.cc" ] |
454 set_sources_assignment_filter(sources_assignment_filter) | 454 set_sources_assignment_filter(sources_assignment_filter) |
455 deps += [ | 455 deps += [ |
| 456 "//third_party/android_tools:cpu_features", |
456 "//third_party/expat", | 457 "//third_party/expat", |
457 "//third_party/freetype-android:freetype", | 458 "//third_party/freetype-android:freetype", |
458 "//third_party/android_tools:cpu_features", | |
459 ] | 459 ] |
460 } | 460 } |
461 | 461 |
462 if (is_android && !is_debug) { | 462 if (is_android && !is_debug) { |
463 configs -= [ "//build/config/compiler:optimize" ] | 463 configs -= [ "//build/config/compiler:optimize" ] |
464 configs += [ "//build/config/compiler:optimize_max" ] | 464 configs += [ "//build/config/compiler:optimize_max" ] |
465 } | 465 } |
466 } | 466 } |
467 | 467 |
468 # Separated out so it can be compiled with different flags for SSE. | 468 # Separated out so it can be compiled with different flags for SSE. |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
537 ] | 537 ] |
538 | 538 |
539 if (!is_mac) { | 539 if (!is_mac) { |
540 sources -= [ "ext/platform_canvas_unittest.cc" ] | 540 sources -= [ "ext/platform_canvas_unittest.cc" ] |
541 } | 541 } |
542 | 542 |
543 deps = [ | 543 deps = [ |
544 ":skia", | 544 ":skia", |
545 "//base", | 545 "//base", |
546 "//base/test:run_all_unittests", | 546 "//base/test:run_all_unittests", |
547 "//cc:test_support", # TODO: Fix this test to not depend on cc. | |
548 "//testing/gtest", | 547 "//testing/gtest", |
549 "//ui/gfx", | 548 "//ui/gfx", |
550 "//ui/gfx/geometry", | 549 "//ui/gfx/geometry", |
551 ] | 550 ] |
552 } | 551 } |
OLD | NEW |