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

Side by Side Diff: BUILD.gn

Issue 2511363002: Build native client files only if enable_nacl is true. (Closed)
Patch Set: 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 | « AUTHORS ('k') | 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 (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 762 matching lines...) Expand 10 before | Expand all | Expand 10 after
773 "//chrome/tools/convert_dict", 773 "//chrome/tools/convert_dict",
774 "//components/constrained_window:unit_tests", 774 "//components/constrained_window:unit_tests",
775 "//components/filesystem:filesystem_service_unittests", 775 "//components/filesystem:filesystem_service_unittests",
776 "//components/leveldb:leveldb_service_unittests", 776 "//components/leveldb:leveldb_service_unittests",
777 "//components/metrics:serialization", 777 "//components/metrics:serialization",
778 "//components/password_manager/content/renderer:browser_tests", 778 "//components/password_manager/content/renderer:browser_tests",
779 "//components/rappor:unit_tests", 779 "//components/rappor:unit_tests",
780 "//components/sessions:unit_tests", 780 "//components/sessions:unit_tests",
781 "//media/blink:media_blink_unittests", 781 "//media/blink:media_blink_unittests",
782 "//media/cast:udp_proxy", 782 "//media/cast:udp_proxy",
783 "//native_client/src/trusted/debug_stub:gdb_rsp_unittest",
784 "//storage/browser:dump_file_system", 783 "//storage/browser:dump_file_system",
785 "//third_party/angle:libANGLE", 784 "//third_party/angle:libANGLE",
786 "//third_party/angle:libEGL", 785 "//third_party/angle:libEGL",
787 "//third_party/angle:libGLESv2", 786 "//third_party/angle:libGLESv2",
788 "//third_party/leveldatabase:leveldb_arena_test", 787 "//third_party/leveldatabase:leveldb_arena_test",
789 "//third_party/leveldatabase:leveldb_bloom_test", 788 "//third_party/leveldatabase:leveldb_bloom_test",
790 "//third_party/leveldatabase:leveldb_cache_test", 789 "//third_party/leveldatabase:leveldb_cache_test",
791 "//third_party/leveldatabase:leveldb_corruption_test", 790 "//third_party/leveldatabase:leveldb_corruption_test",
792 "//third_party/leveldatabase:leveldb_crc32c_test", 791 "//third_party/leveldatabase:leveldb_crc32c_test",
793 "//third_party/leveldatabase:leveldb_db_bench", 792 "//third_party/leveldatabase:leveldb_db_bench",
(...skipping 14 matching lines...) Expand all
808 "//third_party/opus:test_opus_decode", 807 "//third_party/opus:test_opus_decode",
809 "//third_party/opus:test_opus_encode", 808 "//third_party/opus:test_opus_encode",
810 "//third_party/opus:test_opus_padding", 809 "//third_party/opus:test_opus_padding",
811 "//third_party/pdfium/third_party:fx_freetype", 810 "//third_party/pdfium/third_party:fx_freetype",
812 "//third_party/webrtc/system_wrappers:field_trial_default", 811 "//third_party/webrtc/system_wrappers:field_trial_default",
813 "//third_party/webrtc/system_wrappers:metrics_default", 812 "//third_party/webrtc/system_wrappers:metrics_default",
814 "//ui/display/types", 813 "//ui/display/types",
815 "//ui/shell_dialogs:shell_dialogs_unittests", 814 "//ui/shell_dialogs:shell_dialogs_unittests",
816 ] 815 ]
817 816
817 if (enable_nacl) {
818 deps += [ "//native_client/src/trusted/debug_stub:gdb_rsp_unittest" ]
819 }
820
818 if (target_cpu == "x86" || target_cpu == "x64") { 821 if (target_cpu == "x86" || target_cpu == "x64") {
819 if (!is_android) { 822 if (!is_android) {
820 deps += [ "//chrome/test:load_library_perf_tests" ] 823 deps += [ "//chrome/test:load_library_perf_tests" ]
821 } 824 }
822 deps += [ 825 deps += [
823 "//native_client/src/trusted/platform_qualify:vcpuid", 826 "//native_client/src/trusted/platform_qualify:vcpuid",
824 "//third_party/libjpeg_turbo:simd_asm", 827 "//third_party/libjpeg_turbo:simd_asm",
825 ] 828 ]
826 } 829 }
827 if (is_linux && current_toolchain == host_toolchain) { 830 if (is_linux && current_toolchain == host_toolchain) {
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
1097 assert(target_name != "") # Mark as used. 1100 assert(target_name != "") # Mark as used.
1098 sources = invoker.actual_sources 1101 sources = invoker.actual_sources
1099 assert( 1102 assert(
1100 sources == invoker.actual_sources, 1103 sources == invoker.actual_sources,
1101 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") 1104 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283")
1102 } 1105 }
1103 1106
1104 assert_valid_out_dir("_unused") { 1107 assert_valid_out_dir("_unused") {
1105 actual_sources = [ "$root_build_dir/foo" ] 1108 actual_sources = [ "$root_build_dir/foo" ]
1106 } 1109 }
OLDNEW
« no previous file with comments | « AUTHORS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698