diff options
author | brettw <brettw@chromium.org> | 2015-10-07 10:18:15 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-07 17:22:58 +0000 |
commit | f986f9572c792346194055784b9237820ffce52b (patch) | |
tree | 5defcb5710ffb7bcfb720ed3fca199257f30b579 /google_update | |
parent | cc2f0758c4998db4b2fe2c59aa12aabb2eddc554 (diff) | |
download | chromium_src-f986f9572c792346194055784b9237820ffce52b.zip chromium_src-f986f9572c792346194055784b9237820ffce52b.tar.gz chromium_src-f986f9572c792346194055784b9237820ffce52b.tar.bz2 |
Add GCAPI to the GN build.
GCAPI is a Windows-specific API for distributors of Chrome.
This adds all chrome/installer targets to "gn check" and fixes many associated issues. The result codes targets are also added to "gn check" to make sure people don't accidentally add stuff to those headers.
Rather than add a disable for the size_t to int warning for this target, I just fixed the warning and removed the disable flag from GYP.
Merged //chrome/common:result_codes into //chrome/common:constants. This is basically a constant and everybody that needed the result codes already depended on the constants target.
Fix google_update build file. The midl template already did everything this file was trying to do. I clarified the template documentation a bit.
BUG=539428
Review URL: https://codereview.chromium.org/1388943004
Cr-Commit-Position: refs/heads/master@{#352869}
Diffstat (limited to 'google_update')
-rw-r--r-- | google_update/BUILD.gn | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/google_update/BUILD.gn b/google_update/BUILD.gn index 5d57f60..6c8539a 100644 --- a/google_update/BUILD.gn +++ b/google_update/BUILD.gn @@ -4,27 +4,8 @@ import("//build/toolchain/win/midl.gni") -config("google_update_config") { - # Chromium uses include paths like "google_update/google_update_idl.h", - # so add root_gen_dir, rather then target_gen_dir to include dirs. - include_dirs = [ "$root_gen_dir" ] -} - -midl("google_update_idl") { +midl("google_update") { sources = [ "google_update_idl.idl", ] } - -static_library("google_update") { - sources = [ - "$target_gen_dir/google_update_idl.h", - "$target_gen_dir/google_update_idl_i.c", - ] - - public_configs = [ ":google_update_config" ] - - deps = [ - ":google_update_idl", - ] -} |