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

Side by Side Diff: base/BUILD.gn

Issue 1961473003: [Mac/GN] Set up the component build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment and rebase Created 4 years, 7 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 | build/secondary/third_party/crashpad/crashpad/handler/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 # 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 1510 matching lines...) Expand 10 before | Expand all | Expand 10 after
1521 "//base/third_party/dynamic_annotations", 1521 "//base/third_party/dynamic_annotations",
1522 ] 1522 ]
1523 1523
1524 if (!is_debug) { 1524 if (!is_debug) {
1525 configs -= [ "//build/config/compiler:default_optimization" ] 1525 configs -= [ "//build/config/compiler:default_optimization" ]
1526 configs += [ "//build/config/compiler:optimize_max" ] 1526 configs += [ "//build/config/compiler:optimize_max" ]
1527 } 1527 }
1528 1528
1529 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 1529 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1530 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 1530 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
1531
1532 if (is_mac) {
1533 libs = [ "CoreFoundation.framework" ]
1534 }
1531 } 1535 }
1532 1536
1533 test("base_perftests") { 1537 test("base_perftests") {
1534 sources = [ 1538 sources = [
1535 "message_loop/message_pump_perftest.cc", 1539 "message_loop/message_pump_perftest.cc",
1536 1540
1537 # "test/run_all_unittests.cc", 1541 # "test/run_all_unittests.cc",
1538 "threading/thread_perftest.cc", 1542 "threading/thread_perftest.cc",
1539 ] 1543 ]
1540 deps = [ 1544 deps = [
(...skipping 822 matching lines...) Expand 10 before | Expand all | Expand 10 after
2363 2367
2364 # GYP: //base.gyp:base_java_unittest_support 2368 # GYP: //base.gyp:base_java_unittest_support
2365 android_library("base_java_unittest_support") { 2369 android_library("base_java_unittest_support") {
2366 deps = [ 2370 deps = [
2367 ":base_java", 2371 ":base_java",
2368 ] 2372 ]
2369 java_files = 2373 java_files =
2370 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] 2374 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ]
2371 } 2375 }
2372 } 2376 }
OLDNEW
« no previous file with comments | « no previous file | build/secondary/third_party/crashpad/crashpad/handler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698