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

Side by Side Diff: cc/BUILD.gn

Issue 2035753005: 💵 target_cpu -> current_cpu in cc/BUILD.gn (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@monochrome
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
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 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 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 "trees/swap_promise_monitor.cc", 527 "trees/swap_promise_monitor.cc",
528 "trees/swap_promise_monitor.h", 528 "trees/swap_promise_monitor.h",
529 "trees/task_runner_provider.cc", 529 "trees/task_runner_provider.cc",
530 "trees/task_runner_provider.h", 530 "trees/task_runner_provider.h",
531 "trees/threaded_channel.cc", 531 "trees/threaded_channel.cc",
532 "trees/threaded_channel.h", 532 "trees/threaded_channel.h",
533 "trees/tree_synchronizer.cc", 533 "trees/tree_synchronizer.cc",
534 "trees/tree_synchronizer.h", 534 "trees/tree_synchronizer.h",
535 ] 535 ]
536 536
537 if (target_cpu == "x86" || target_cpu == "x64") { 537 if (current_cpu == "x86" || current_cpu == "x64") {
538 sources += [ 538 sources += [
539 "raster/texture_compressor_etc1_sse.cc", 539 "raster/texture_compressor_etc1_sse.cc",
540 "raster/texture_compressor_etc1_sse.h", 540 "raster/texture_compressor_etc1_sse.h",
541 ] 541 ]
542 } 542 }
543 543
544 configs += [ "//build/config:precompiled_headers" ] 544 configs += [ "//build/config:precompiled_headers" ]
545 545
546 public_deps = [ 546 public_deps = [
547 "//cc/base", 547 "//cc/base",
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
1017 "//ui/gfx/geometry", 1017 "//ui/gfx/geometry",
1018 "//ui/gl", 1018 "//ui/gl",
1019 "//ui/gl:test_support", 1019 "//ui/gl:test_support",
1020 ] 1020 ]
1021 1021
1022 # This target should not require the Chrome executable to run. 1022 # This target should not require the Chrome executable to run.
1023 assert_no_deps = [ "//chrome" ] 1023 assert_no_deps = [ "//chrome" ]
1024 } 1024 }
1025 # When adding support for isolates, please have a look at run-time dependencies 1025 # When adding support for isolates, please have a look at run-time dependencies
1026 # in the cc_unittests_run target in cc_tests.gyp. 1026 # in the cc_unittests_run target in cc_tests.gyp.
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698