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

Side by Side Diff: BUILD.gn

Issue 2506013004: Reland of Add GN build rules to allow java_assertion_enabler to enable Java asserts. (Closed)
Patch Set: Fix for arm64 duplicate outputs Created 4 years, 1 month 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/android/java_assertion_enabler/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 836 matching lines...) Expand 10 before | Expand all | Expand 10 after
847 # This dependency here only exists to allow GN to discover the 847 # This dependency here only exists to allow GN to discover the
848 # fuzzer_test target there. 848 # fuzzer_test target there.
849 deps += [ "//chrome/browser/media:cast_remoting_connector_fuzzer" ] 849 deps += [ "//chrome/browser/media:cast_remoting_connector_fuzzer" ]
850 } 850 }
851 851
852 if (enable_nacl) { 852 if (enable_nacl) {
853 deps += [ "//native_client_sdk/src:nacl_core_sdk" ] 853 deps += [ "//native_client_sdk/src:nacl_core_sdk" ]
854 } 854 }
855 855
856 if (is_android) { 856 if (is_android) {
857 deps += [ 857 deps += [ "//build/android/gyp/test:hello_world" ]
858 "//build/android/gyp/test:hello_world",
859 "//build/android/incremental_install:bootstrap_java",
860 "//build/android/java_assertion_enabler",
861 ]
862 } 858 }
863 859
864 if (is_linux && use_ozone) { 860 if (is_linux && use_ozone) {
865 deps += [ 861 deps += [
866 "//headless", 862 "//headless",
867 "//headless:headless_tests", 863 "//headless:headless_tests",
868 ] 864 ]
869 } 865 }
870 866
871 if (!is_chromecast && (is_android || is_linux || is_chromeos)) { 867 if (!is_chromecast && (is_android || is_linux || is_chromeos)) {
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
1098 assert(target_name != "") # Mark as used. 1094 assert(target_name != "") # Mark as used.
1099 sources = invoker.actual_sources 1095 sources = invoker.actual_sources
1100 assert( 1096 assert(
1101 sources == invoker.actual_sources, 1097 sources == invoker.actual_sources,
1102 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") 1098 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283")
1103 } 1099 }
1104 1100
1105 assert_valid_out_dir("_unused") { 1101 assert_valid_out_dir("_unused") {
1106 actual_sources = [ "$root_build_dir/foo" ] 1102 actual_sources = [ "$root_build_dir/foo" ]
1107 } 1103 }
OLDNEW
« no previous file with comments | « no previous file | build/android/java_assertion_enabler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698