diff options
author | brettw <brettw@chromium.org> | 2015-08-04 12:50:33 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-04 19:52:35 +0000 |
commit | a09029884e02a3c027a485877886cf75969f6b3d (patch) | |
tree | 07fbab00204f4f29cc8678a19dba07493acb4d05 /build/config/win | |
parent | 1a436ffd8eb5df3d0979cc6fac607e47e32a4c58 (diff) | |
download | chromium_src-a09029884e02a3c027a485877886cf75969f6b3d.zip chromium_src-a09029884e02a3c027a485877886cf75969f6b3d.tar.gz chromium_src-a09029884e02a3c027a485877886cf75969f6b3d.tar.bz2 |
Use new GN features in the build.
Uses forward_variables_from for some obvious cases not including the Android build, and use the template() function in the component() definition.
Remove uses of component_mode since I want to delete that.
Review URL: https://codereview.chromium.org/1265263002
Cr-Commit-Position: refs/heads/master@{#341767}
Diffstat (limited to 'build/config/win')
-rw-r--r-- | build/config/win/manifest.gni | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/build/config/win/manifest.gni b/build/config/win/manifest.gni index 8da784d..6dc6755 100644 --- a/build/config/win/manifest.gni +++ b/build/config/win/manifest.gni @@ -113,9 +113,7 @@ if (is_win) { # Apply any dependencies from the invoker to this target, since those # dependencies may have created the input manifest files. - if (defined(invoker.deps)) { - deps = invoker.deps - } + forward_variables_from(invoker, [ "deps" ]) } # Make the .rc file that references the final manifest file. The manifest @@ -155,9 +153,7 @@ if (is_win) { # This source set only exists to compile and link the resource file. source_set(source_set_name) { - if (defined(invoker.visibility)) { - visibility = invoker.visibility - } + forward_variables_from(invoker, [ "visibility" ]) sources = [ rcfile, ] |