| OLD | NEW |
| 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 # ============================================================================= | 5 # ============================================================================= |
| 6 # BUILD FLAGS | 6 # BUILD FLAGS |
| 7 # ============================================================================= | 7 # ============================================================================= |
| 8 # | 8 # |
| 9 # This block lists input arguments to the build, along with their default | 9 # This block lists input arguments to the build, along with their default |
| 10 # values. GN requires listing them explicitly so it can validate input and have | 10 # values. GN requires listing them explicitly so it can validate input and have |
| (...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 543 if (defined(invoker.deps)) { deps = invoker.deps } | 543 if (defined(invoker.deps)) { deps = invoker.deps } |
| 544 if (defined(invoker.direct_dependent_configs)) { direct_dependent_configs
= invoker.direct_dependent_configs } | 544 if (defined(invoker.direct_dependent_configs)) { direct_dependent_configs
= invoker.direct_dependent_configs } |
| 545 if (defined(invoker.forward_dependent_configs_from)) { forward_dependent_c
onfigs_from = invoker.forward_dependent_configs_from } | 545 if (defined(invoker.forward_dependent_configs_from)) { forward_dependent_c
onfigs_from = invoker.forward_dependent_configs_from } |
| 546 if (defined(invoker.include_dirs)) { include_dirs = invoker.include_dirs } | 546 if (defined(invoker.include_dirs)) { include_dirs = invoker.include_dirs } |
| 547 if (defined(invoker.ldflags)) { ldflags = invoker.ldflags } | 547 if (defined(invoker.ldflags)) { ldflags = invoker.ldflags } |
| 548 if (defined(invoker.lib_dirs)) { lib_dirs = invoker.lib_dirs } | 548 if (defined(invoker.lib_dirs)) { lib_dirs = invoker.lib_dirs } |
| 549 if (defined(invoker.libs)) { libs = invoker.libs } | 549 if (defined(invoker.libs)) { libs = invoker.libs } |
| 550 if (defined(invoker.output_extension)) { output_extension = invoker.output
_extension } | 550 if (defined(invoker.output_extension)) { output_extension = invoker.output
_extension } |
| 551 if (defined(invoker.output_name)) { output_name = invoker.output_name } | 551 if (defined(invoker.output_name)) { output_name = invoker.output_name } |
| 552 if (defined(invoker.public)) { public = invoker.public } | 552 if (defined(invoker.public)) { public = invoker.public } |
| 553 if (defined(invoker.public_configs)) { public_configs = invoker.public_con
figs } |
| 554 if (defined(invoker.public_deps)) { public_deps = invoker.public_deps } |
| 553 if (defined(invoker.sources)) { sources = invoker.sources } | 555 if (defined(invoker.sources)) { sources = invoker.sources } |
| 554 if (defined(invoker.testonly)) { testonly = invoker.testonly } | 556 if (defined(invoker.testonly)) { testonly = invoker.testonly } |
| 555 if (defined(invoker.visibility)) { visibility = invoker.visibility } | 557 if (defined(invoker.visibility)) { visibility = invoker.visibility } |
| 556 } | 558 } |
| 557 } else { | 559 } else { |
| 558 source_set(target_name) { | 560 source_set(target_name) { |
| 559 # See above. | 561 # See above. |
| 560 configs = [] # Prevent list overwriting warning. | 562 configs = [] # Prevent list overwriting warning. |
| 561 configs = invoker.configs | 563 configs = invoker.configs |
| 562 | 564 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 577 if (defined(invoker.deps)) { deps = invoker.deps } | 579 if (defined(invoker.deps)) { deps = invoker.deps } |
| 578 if (defined(invoker.direct_dependent_configs)) { direct_dependent_configs
= invoker.direct_dependent_configs } | 580 if (defined(invoker.direct_dependent_configs)) { direct_dependent_configs
= invoker.direct_dependent_configs } |
| 579 if (defined(invoker.forward_dependent_configs_from)) { forward_dependent_c
onfigs_from = invoker.forward_dependent_configs_from } | 581 if (defined(invoker.forward_dependent_configs_from)) { forward_dependent_c
onfigs_from = invoker.forward_dependent_configs_from } |
| 580 if (defined(invoker.include_dirs)) { include_dirs = invoker.include_dirs } | 582 if (defined(invoker.include_dirs)) { include_dirs = invoker.include_dirs } |
| 581 if (defined(invoker.ldflags)) { ldflags = invoker.ldflags } | 583 if (defined(invoker.ldflags)) { ldflags = invoker.ldflags } |
| 582 if (defined(invoker.lib_dirs)) { lib_dirs = invoker.lib_dirs } | 584 if (defined(invoker.lib_dirs)) { lib_dirs = invoker.lib_dirs } |
| 583 if (defined(invoker.libs)) { libs = invoker.libs } | 585 if (defined(invoker.libs)) { libs = invoker.libs } |
| 584 if (defined(invoker.output_extension)) { output_extension = invoker.output
_extension } | 586 if (defined(invoker.output_extension)) { output_extension = invoker.output
_extension } |
| 585 if (defined(invoker.output_name)) { output_name = invoker.output_name } | 587 if (defined(invoker.output_name)) { output_name = invoker.output_name } |
| 586 if (defined(invoker.public)) { public = invoker.public } | 588 if (defined(invoker.public)) { public = invoker.public } |
| 589 if (defined(invoker.public_configs)) { public_configs = invoker.public_con
figs } |
| 590 if (defined(invoker.public_deps)) { public_deps = invoker.public_deps } |
| 587 if (defined(invoker.sources)) { sources = invoker.sources } | 591 if (defined(invoker.sources)) { sources = invoker.sources } |
| 588 if (defined(invoker.testonly)) { testonly = invoker.testonly } | 592 if (defined(invoker.testonly)) { testonly = invoker.testonly } |
| 589 if (defined(invoker.visibility)) { visibility = invoker.visibility } | 593 if (defined(invoker.visibility)) { visibility = invoker.visibility } |
| 590 } | 594 } |
| 591 } | 595 } |
| 592 } | 596 } |
| 593 | 597 |
| 594 # ============================================================================== | 598 # ============================================================================== |
| 595 # TEST SETUP | 599 # TEST SETUP |
| 596 # ============================================================================== | 600 # ============================================================================== |
| (...skipping 28 matching lines...) Expand all Loading... |
| 625 if (defined(invoker.deps)) { deps = invoker.deps } | 629 if (defined(invoker.deps)) { deps = invoker.deps } |
| 626 if (defined(invoker.direct_dependent_configs)) { direct_dependent_configs
= invoker.direct_dependent_configs } | 630 if (defined(invoker.direct_dependent_configs)) { direct_dependent_configs
= invoker.direct_dependent_configs } |
| 627 if (defined(invoker.forward_dependent_configs_from)) { forward_dependent_c
onfigs_from = invoker.forward_dependent_configs_from } | 631 if (defined(invoker.forward_dependent_configs_from)) { forward_dependent_c
onfigs_from = invoker.forward_dependent_configs_from } |
| 628 if (defined(invoker.include_dirs)) { include_dirs = invoker.include_dirs } | 632 if (defined(invoker.include_dirs)) { include_dirs = invoker.include_dirs } |
| 629 if (defined(invoker.ldflags)) { ldflags = invoker.ldflags } | 633 if (defined(invoker.ldflags)) { ldflags = invoker.ldflags } |
| 630 if (defined(invoker.lib_dirs)) { lib_dirs = invoker.lib_dirs } | 634 if (defined(invoker.lib_dirs)) { lib_dirs = invoker.lib_dirs } |
| 631 if (defined(invoker.libs)) { libs = invoker.libs } | 635 if (defined(invoker.libs)) { libs = invoker.libs } |
| 632 if (defined(invoker.output_extension)) { output_extension = invoker.output
_extension } | 636 if (defined(invoker.output_extension)) { output_extension = invoker.output
_extension } |
| 633 if (defined(invoker.output_name)) { output_name = invoker.output_name } | 637 if (defined(invoker.output_name)) { output_name = invoker.output_name } |
| 634 if (defined(invoker.public)) { public = invoker.public } | 638 if (defined(invoker.public)) { public = invoker.public } |
| 639 if (defined(invoker.public_configs)) { public_configs = invoker.public_con
figs } |
| 640 if (defined(invoker.public_deps)) { public_deps = invoker.public_deps } |
| 635 if (defined(invoker.sources)) { sources = invoker.sources } | 641 if (defined(invoker.sources)) { sources = invoker.sources } |
| 636 if (defined(invoker.visibility)) { visibility = invoker.visibility } | 642 if (defined(invoker.visibility)) { visibility = invoker.visibility } |
| 637 } | 643 } |
| 638 } else { | 644 } else { |
| 639 executable(target_name) { | 645 executable(target_name) { |
| 640 # See above. | 646 # See above. |
| 641 configs = [] # Prevent list overwriting warning. | 647 configs = [] # Prevent list overwriting warning. |
| 642 configs = invoker.configs | 648 configs = invoker.configs |
| 643 | 649 |
| 644 # See above call. | 650 # See above call. |
| (...skipping 15 matching lines...) Expand all Loading... |
| 660 if (defined(invoker.deps)) { deps = invoker.deps } | 666 if (defined(invoker.deps)) { deps = invoker.deps } |
| 661 if (defined(invoker.direct_dependent_configs)) { direct_dependent_configs
= invoker.direct_dependent_configs } | 667 if (defined(invoker.direct_dependent_configs)) { direct_dependent_configs
= invoker.direct_dependent_configs } |
| 662 if (defined(invoker.forward_dependent_configs_from)) { forward_dependent_c
onfigs_from = invoker.forward_dependent_configs_from } | 668 if (defined(invoker.forward_dependent_configs_from)) { forward_dependent_c
onfigs_from = invoker.forward_dependent_configs_from } |
| 663 if (defined(invoker.include_dirs)) { include_dirs = invoker.include_dirs } | 669 if (defined(invoker.include_dirs)) { include_dirs = invoker.include_dirs } |
| 664 if (defined(invoker.ldflags)) { ldflags = invoker.ldflags } | 670 if (defined(invoker.ldflags)) { ldflags = invoker.ldflags } |
| 665 if (defined(invoker.lib_dirs)) { lib_dirs = invoker.lib_dirs } | 671 if (defined(invoker.lib_dirs)) { lib_dirs = invoker.lib_dirs } |
| 666 if (defined(invoker.libs)) { libs = invoker.libs } | 672 if (defined(invoker.libs)) { libs = invoker.libs } |
| 667 if (defined(invoker.output_extension)) { output_extension = invoker.output
_extension } | 673 if (defined(invoker.output_extension)) { output_extension = invoker.output
_extension } |
| 668 if (defined(invoker.output_name)) { output_name = invoker.output_name } | 674 if (defined(invoker.output_name)) { output_name = invoker.output_name } |
| 669 if (defined(invoker.public)) { public = invoker.public } | 675 if (defined(invoker.public)) { public = invoker.public } |
| 676 if (defined(invoker.public_configs)) { public_configs = invoker.public_con
figs } |
| 677 if (defined(invoker.public_deps)) { public_deps = invoker.public_deps } |
| 670 if (defined(invoker.sources)) { sources = invoker.sources } | 678 if (defined(invoker.sources)) { sources = invoker.sources } |
| 671 if (defined(invoker.visibility)) { visibility = invoker.visibility } | 679 if (defined(invoker.visibility)) { visibility = invoker.visibility } |
| 672 } | 680 } |
| 673 } | 681 } |
| 674 } | 682 } |
| OLD | NEW |