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

Side by Side Diff: cc/BUILD.gn

Issue 2082453003: 🎅 Use GN's dependency info for native libraries in write_build_config.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix osmesa on non-android 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 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 component("cc") { 8 component("cc") {
9 sources = [ 9 sources = [
10 "animation/animation.cc", 10 "animation/animation.cc",
(...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after
753 "//cc/surfaces:surface_id", 753 "//cc/surfaces:surface_id",
754 "//gpu/command_buffer/client:gl_in_process_context", 754 "//gpu/command_buffer/client:gl_in_process_context",
755 "//gpu/command_buffer/client:gles2_c_lib", 755 "//gpu/command_buffer/client:gles2_c_lib",
756 "//gpu/command_buffer/client:gles2_implementation", 756 "//gpu/command_buffer/client:gles2_implementation",
757 "//gpu/command_buffer/common:gles2_utils", 757 "//gpu/command_buffer/common:gles2_utils",
758 "//gpu/skia_bindings", 758 "//gpu/skia_bindings",
759 "//media", 759 "//media",
760 "//skia", 760 "//skia",
761 "//testing/gmock", 761 "//testing/gmock",
762 "//testing/gtest", 762 "//testing/gtest",
763 "//third_party/mesa:osmesa",
764 "//ui/gfx", 763 "//ui/gfx",
765 "//ui/gfx:test_support", 764 "//ui/gfx:test_support",
766 "//ui/gfx/geometry", 765 "//ui/gfx/geometry",
767 "//ui/gl", 766 "//ui/gl",
768 "//ui/gl:test_support", 767 "//ui/gl:test_support",
769 ] 768 ]
769 if (!is_android) {
770 data_deps = [
771 "//third_party/mesa:osmesa",
772 ]
773 }
770 } 774 }
771 775
772 test("cc_unittests") { 776 test("cc_unittests") {
773 sources = [ 777 sources = [
774 "animation/animation_host_unittest.cc", 778 "animation/animation_host_unittest.cc",
775 "animation/animation_player_unittest.cc", 779 "animation/animation_player_unittest.cc",
776 "animation/animation_timeline_unittest.cc", 780 "animation/animation_timeline_unittest.cc",
777 "animation/animation_unittest.cc", 781 "animation/animation_unittest.cc",
778 "animation/element_animations_unittest.cc", 782 "animation/element_animations_unittest.cc",
779 "animation/keyframed_animation_curve_unittest.cc", 783 "animation/keyframed_animation_curve_unittest.cc",
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
1016 "//ui/gfx/geometry", 1020 "//ui/gfx/geometry",
1017 "//ui/gl", 1021 "//ui/gl",
1018 "//ui/gl:test_support", 1022 "//ui/gl:test_support",
1019 ] 1023 ]
1020 1024
1021 # This target should not require the Chrome executable to run. 1025 # This target should not require the Chrome executable to run.
1022 assert_no_deps = [ "//chrome" ] 1026 assert_no_deps = [ "//chrome" ]
1023 } 1027 }
1024 # When adding support for isolates, please have a look at run-time dependencies 1028 # When adding support for isolates, please have a look at run-time dependencies
1025 # in the cc_unittests_run target in cc_tests.gyp. 1029 # in the cc_unittests_run target in cc_tests.gyp.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698