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

Side by Side Diff: BUILD.gn

Issue 2456053004: Validate origins when generating subdomain tokens (Closed)
Patch Set: Fix android_cronet build error Created 4 years 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 | build/config/linux/gconf/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 713 matching lines...) Expand 10 before | Expand all | Expand 10 after
724 group("gn_only") { 724 group("gn_only") {
725 testonly = true 725 testonly = true
726 726
727 deps = [] 727 deps = []
728 728
729 if (!is_ios) { 729 if (!is_ios) {
730 deps += [ 730 deps += [
731 "//media/mojo:media_mojo_unittests", 731 "//media/mojo:media_mojo_unittests",
732 "//mojo/common:mojo_common_perftests", 732 "//mojo/common:mojo_common_perftests",
733 "//services/video_capture:video_capture_unittests", 733 "//services/video_capture:video_capture_unittests",
734 "//tools/origin_trials/validate_subdomain_origin($host_toolchain)",
734 ] 735 ]
735 } 736 }
736 737
737 if (!is_android && !is_ios) { 738 if (!is_android && !is_ios) {
738 deps += [ "//content/browser/bluetooth/tools:bluetooth_metrics_hash" ] 739 deps += [ "//content/browser/bluetooth/tools:bluetooth_metrics_hash" ]
739 } 740 }
740 741
741 if (!is_android && !is_ios && !is_chromeos) { 742 if (!is_android && !is_ios && !is_chromeos) {
742 deps += [ "//components/proximity_auth:proximity_auth_unittests" ] 743 deps += [ "//components/proximity_auth:proximity_auth_unittests" ]
743 } 744 }
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
1092 assert(target_name != "") # Mark as used. 1093 assert(target_name != "") # Mark as used.
1093 sources = invoker.actual_sources 1094 sources = invoker.actual_sources
1094 assert( 1095 assert(
1095 sources == invoker.actual_sources, 1096 sources == invoker.actual_sources,
1096 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") 1097 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283")
1097 } 1098 }
1098 1099
1099 assert_valid_out_dir("_unused") { 1100 assert_valid_out_dir("_unused") {
1100 actual_sources = [ "$root_build_dir/foo" ] 1101 actual_sources = [ "$root_build_dir/foo" ]
1101 } 1102 }
OLDNEW
« no previous file with comments | « no previous file | build/config/linux/gconf/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698