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

Side by Side Diff: base/BUILD.gn

Issue 2733293003: (DO NOT LAND) Example GN solution for C++ 101 Exercise 0 (Hello world). (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | base/cpp101/hello_world.cc » ('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 # HOW TO WRITE CONDITIONALS IN THIS FILE 5 # HOW TO WRITE CONDITIONALS IN THIS FILE
6 # ====================================== 6 # ======================================
7 # 7 #
8 # In many other places, one would write a conditional that expresses all the 8 # In many other places, one would write a conditional that expresses all the
9 # cases when a source file is used or unused, and then either add or subtract 9 # cases when a source file is used or unused, and then either add or subtract
10 # it from the sources list in that case 10 # it from the sources list in that case
(...skipping 1734 matching lines...) Expand 10 before | Expand all | Expand 10 after
1745 ] 1745 ]
1746 deps = [ 1746 deps = [
1747 ":base", 1747 ":base",
1748 ":i18n", 1748 ":i18n",
1749 "//base/test:test_support", 1749 "//base/test:test_support",
1750 "//base/test:test_support_perf", 1750 "//base/test:test_support_perf",
1751 "//testing/gtest", 1751 "//testing/gtest",
1752 ] 1752 ]
1753 } 1753 }
1754 1754
1755 executable("hello_world") {
1756 sources = [
1757 "cpp101/hello_world.cc",
1758 ]
1759 deps = [
1760 ":base",
1761 ]
1762 }
1763
1755 if (!is_ios) { 1764 if (!is_ios) {
1756 executable("build_utf8_validator_tables") { 1765 executable("build_utf8_validator_tables") {
1757 sources = [ 1766 sources = [
1758 "i18n/build_utf8_validator_tables.cc", 1767 "i18n/build_utf8_validator_tables.cc",
1759 ] 1768 ]
1760 deps = [ 1769 deps = [
1761 ":base", 1770 ":base",
1762 "//build/config/sanitizers:deps", 1771 "//build/config/sanitizers:deps",
1763 "//build/win:default_exe_manifest", 1772 "//build/win:default_exe_manifest",
1764 "//third_party/icu:icuuc", 1773 "//third_party/icu:icuuc",
(...skipping 891 matching lines...) Expand 10 before | Expand all | Expand 10 after
2656 } 2665 }
2657 2666
2658 fuzzer_test("base_json_correctness_fuzzer") { 2667 fuzzer_test("base_json_correctness_fuzzer") {
2659 sources = [ 2668 sources = [
2660 "json/correctness_fuzzer.cc", 2669 "json/correctness_fuzzer.cc",
2661 ] 2670 ]
2662 deps = [ 2671 deps = [
2663 ":base", 2672 ":base",
2664 ] 2673 ]
2665 } 2674 }
OLDNEW
« no previous file with comments | « no previous file | base/cpp101/hello_world.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698