diff options
author | brettw <brettw@chromium.org> | 2015-01-07 05:00:51 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-07 13:01:40 +0000 |
commit | 7d6ec24650eb3f6c7ab8dcfcf0c2829095951962 (patch) | |
tree | 467219488746b5173333d2fe763caba49156f0e1 /build | |
parent | c76ec5eea085163d5712052debb2b3899003a6eb (diff) | |
download | chromium_src-7d6ec24650eb3f6c7ab8dcfcf0c2829095951962.zip chromium_src-7d6ec24650eb3f6c7ab8dcfcf0c2829095951962.tar.gz chromium_src-7d6ec24650eb3f6c7ab8dcfcf0c2829095951962.tar.bz2 |
Add browser_tests to the GN build.
Other misc fixes including:
Add "data_deps" to the templates in BUILDCONFIG. This was renamed from "datadeps" a while ago but both are still supported.
extension_management_test_util.cc includes a generated file policy_constants. GYP generates this with an extra "policy" directory but GN doesn't. The way GYP has the dirs set up, though, using only one "policy" works (and this is what other files do) so I just changed the include.
TBR=dpranke
Review URL: https://codereview.chromium.org/824373003
Cr-Commit-Position: refs/heads/master@{#310276}
Diffstat (limited to 'build')
-rw-r--r-- | build/config/BUILDCONFIG.gn | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/build/config/BUILDCONFIG.gn b/build/config/BUILDCONFIG.gn index 39372d8..7093f78 100644 --- a/build/config/BUILDCONFIG.gn +++ b/build/config/BUILDCONFIG.gn @@ -561,6 +561,9 @@ template("component") { if (defined(invoker.data)) { data = invoker.data } + if (defined(invoker.data_deps)) { + data_deps = invoker.data_deps + } if (defined(invoker.datadeps)) { datadeps = invoker.datadeps } @@ -656,6 +659,9 @@ template("component") { if (defined(invoker.data)) { data = invoker.data } + if (defined(invoker.data_deps)) { + data_deps = invoker.data_deps + } if (defined(invoker.datadeps)) { datadeps = invoker.datadeps } @@ -758,6 +764,9 @@ template("test") { if (defined(invoker.data)) { data = invoker.data } + if (defined(invoker.data_deps)) { + data_deps = invoker.data_deps + } if (defined(invoker.datadeps)) { datadeps = invoker.datadeps } @@ -845,6 +854,9 @@ template("test") { if (defined(invoker.data)) { data = invoker.data } + if (defined(invoker.data_deps)) { + data_deps = invoker.data_deps + } if (defined(invoker.datadeps)) { datadeps = invoker.datadeps } |