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

Side by Side Diff: BUILD.gn

Issue 2715563002: Moving SwiftShader from component to bundled library (Closed)
Patch Set: Prevented !GpuAccessAllowed() from enabling SwiftShader Created 3 years, 9 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 (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 # This is the root build file for GN. GN will start processing by loading this 5 # This is the root build file for GN. GN will start processing by loading this
6 # file, and recursively load all dependencies until all dependencies are either 6 # file, and recursively load all dependencies until all dependencies are either
7 # resolved or known not to exist (which will cause the build to fail). So if 7 # resolved or known not to exist (which will cause the build to fail). So if
8 # you add a new build file, there must be some path of dependencies from this 8 # you add a new build file, there must be some path of dependencies from this
9 # file to your new one or GN won't know about it. 9 # file to your new one or GN won't know about it.
10 10
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 } 508 }
509 509
510 if (is_ios || is_win || (is_linux && !is_chromeos)) { 510 if (is_ios || is_win || (is_linux && !is_chromeos)) {
511 deps += [ 511 deps += [
512 "//base:base_i18n_perftests", 512 "//base:base_i18n_perftests",
513 "//base:base_perftests", 513 "//base:base_perftests",
514 "//google_apis:google_apis_unittests", 514 "//google_apis:google_apis_unittests",
515 ] 515 ]
516 } 516 }
517 517
518 if ((is_win || is_mac || is_linux) &&
519 (target_cpu == "x86" || target_cpu == "x64")) {
520 deps += [ "//third_party/swiftshader" ]
521 }
522
523 # TODO(GYP): Figure out which of these should (and can) build 518 # TODO(GYP): Figure out which of these should (and can) build
524 # for chromeos/ios. 519 # for chromeos/ios.
525 if (!is_chromeos && !is_ios) { 520 if (!is_chromeos && !is_ios) {
526 deps += [ 521 deps += [
527 "//base:build_utf8_validator_tables", 522 "//base:build_utf8_validator_tables",
528 "//base:check_example", 523 "//base:check_example",
529 "//cc:cc_perftests", 524 "//cc:cc_perftests",
530 "//cc/blink:cc_blink_unittests", 525 "//cc/blink:cc_blink_unittests",
531 "//components:components_perftests", 526 "//components:components_perftests",
532 "//components/sync:run_sync_testserver", 527 "//components/sync:run_sync_testserver",
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
1108 assert(target_name != "") # Mark as used. 1103 assert(target_name != "") # Mark as used.
1109 sources = invoker.actual_sources 1104 sources = invoker.actual_sources
1110 assert( 1105 assert(
1111 sources == invoker.actual_sources, 1106 sources == invoker.actual_sources,
1112 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") 1107 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283")
1113 } 1108 }
1114 1109
1115 assert_valid_out_dir("_unused") { 1110 assert_valid_out_dir("_unused") {
1116 actual_sources = [ "$root_build_dir/foo" ] 1111 actual_sources = [ "$root_build_dir/foo" ]
1117 } 1112 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/BUILD.gn » ('j') | chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698