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

Side by Side Diff: blimp/engine/BUILD.gn

Issue 1982893002: [blimp] Add SkPicture caching support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments from kmarshall Created 4 years, 6 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
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/sanitizers/sanitizers.gni") 7 import("//build/config/sanitizers/sanitizers.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 import("//mojo/public/tools/bindings/mojom.gni") 9 import("//mojo/public/tools/bindings/mojom.gni")
10 import("//tools/grit/repack.gni") 10 import("//tools/grit/repack.gni")
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 "//ui/base/ime", 279 "//ui/base/ime",
280 "//ui/resources", 280 "//ui/resources",
281 "//ui/wm", 281 "//ui/wm",
282 ] 282 ]
283 } 283 }
284 284
285 source_set("renderer") { 285 source_set("renderer") {
286 sources = [ 286 sources = [
287 "renderer/blimp_content_renderer_client.cc", 287 "renderer/blimp_content_renderer_client.cc",
288 "renderer/blimp_content_renderer_client.h", 288 "renderer/blimp_content_renderer_client.h",
289 "renderer/blimp_engine_picture_cache.cc",
290 "renderer/blimp_engine_picture_cache.h",
289 "renderer/blob_channel_sender_proxy.cc", 291 "renderer/blob_channel_sender_proxy.cc",
290 "renderer/blob_channel_sender_proxy.h", 292 "renderer/blob_channel_sender_proxy.h",
291 "renderer/engine_image_serialization_processor.cc", 293 "renderer/engine_image_serialization_processor.cc",
292 "renderer/engine_image_serialization_processor.h", 294 "renderer/engine_image_serialization_processor.h",
293 ] 295 ]
294 296
295 deps = [ 297 deps = [
296 ":blob_channel_service", 298 ":blob_channel_service",
297 "//base", 299 "//base",
298 "//blimp/common", 300 "//blimp/common",
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 "//content/public/browser", 454 "//content/public/browser",
453 "//net", 455 "//net",
454 "//net:test_support", 456 "//net:test_support",
455 "//testing/gmock", 457 "//testing/gmock",
456 "//testing/gtest", 458 "//testing/gtest",
457 "//third_party/WebKit/public:blink_headers", 459 "//third_party/WebKit/public:blink_headers",
458 "//ui/base:test_support", 460 "//ui/base:test_support",
459 ] 461 ]
460 } 462 }
461 463
464 source_set("renderer_unit_tests") {
465 testonly = true
466
467 sources = [
468 "renderer/blimp_engine_picture_cache_unittest.cc",
469 ]
470
471 deps = [
472 ":renderer",
473 "//blimp/test:support",
474 "//skia",
475 "//testing/gmock",
476 "//testing/gtest",
477 ]
478 }
479
462 source_set("unit_tests") { 480 source_set("unit_tests") {
463 testonly = true 481 testonly = true
464 482
465 deps = [ 483 deps = [
466 ":app_unit_tests", 484 ":app_unit_tests",
467 ":common_unit_tests", 485 ":common_unit_tests",
468 ":feature_unit_tests", 486 ":feature_unit_tests",
487 ":renderer_unit_tests",
469 ] 488 ]
470 } 489 }
471 490
472 if (is_linux) { 491 if (is_linux) {
473 _runtime_deps = "$root_gen_dir/blimp-engine.runtime_deps" 492 _runtime_deps = "$root_gen_dir/blimp-engine.runtime_deps"
474 _rebased_runtime_deps = rebase_path(_runtime_deps, root_out_dir) 493 _rebased_runtime_deps = rebase_path(_runtime_deps, root_out_dir)
475 494
476 executable("blimp_engine_app") { 495 executable("blimp_engine_app") {
477 sources = [ 496 sources = [
478 "app/blimp_main.cc", 497 "app/blimp_main.cc",
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 "//content/test:test_support", 667 "//content/test:test_support",
649 "//testing/gmock", 668 "//testing/gmock",
650 "//testing/gtest", 669 "//testing/gtest",
651 ] 670 ]
652 671
653 data = [ 672 data = [
654 "data/", 673 "data/",
655 "$root_out_dir/blimp_engine.pak", 674 "$root_out_dir/blimp_engine.pak",
656 ] 675 ]
657 } 676 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698