chromium-src-build/args
Sergey Ulanov 099f2e9b9e Enable WebRTC on Fuchsia by default.
1. Updated BUILD.gn for usrsctp to pass correct build flags
   on Fuchsia.
2. Enabled WebRTC on Fuchsia.
3. Updated 2 unittests for Fuchsia.

Bug: 750940
Change-Id: I922aa74ca17c542a9b1ca53b60763d8130406f9e
Reviewed-on: https://chromium-review.googlesource.com/817947
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
Reviewed-by: Taylor Brandstetter <deadbeef@chromium.org>
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Reviewed-by: Scott Graham <scottmg@chromium.org>
Commit-Queue: Sergey Ulanov <sergeyu@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#524296}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 792e646b22c5a9bf50d681f75f0421e5b8086c0f
2017-12-15 02:27:25 +00:00
..
OWNERS [headless] Make headless owners own build/args/headless.gn. 2017-05-16 11:22:03 +00:00
README.txt
fuchsia.gn Enable WebRTC on Fuchsia by default. 2017-12-15 02:27:25 +00:00
headless.gn Remove use_gconf build flag 2017-12-14 18:32:18 +00:00

README.txt

This directory is here to hold .gni files that contain sets of GN build
arguments for given configurations.

(Currently this directory is empty because we removed the only thing here, but
this has come up several times so I'm confident we'll need this again. If this
directory is still empty by 2017, feel free to delete it. --Brett)

Some projects or bots may have build configurations with specific combinations
of flags. Rather than making a new global flag for your specific project and
adding it all over the build to each arg it should affect, you can add a .gni
file here with the variables.

For example, for project foo you may put in build/args/foo.gni:

  target_os = "android"
  use_pulseaudio = false
  use_ozone = true
  system_libdir = "foo"

Users wanting to build this configuration would run:

  $ gn args out/mybuild

And add the following line to their args for that build directory:

  import("//build/args/foo.gni")
  # You can set any other args here like normal.
  is_component_build = false

This way everybody can agree on a set of flags for a project, and their builds
stay in sync as the flags in foo.gni are modified.