Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(258)

Side by Side Diff: components/offline_pages/features/BUILD.gn

Issue 2875853003: Add gn args and BUILDFLAGS for OfflinePages, instead on relying on is_android and is_official_build. (Closed)
Patch Set: added files Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright 2017 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 import("//build/buildflag_header.gni")
6 import("//components/offline_pages/features/features.gni")
7
8 # This file is in a separate directory so all targets in the build can refer to
9 # the buildflag header to get the necessary preprocessor defines without
10 # bringing in all of offline_pages. Other targets can depend on this target
11 # regardless of whether extensions are enabled.
12
13 buildflag_header("features") {
14 header = "features.h"
15 flags = [
16 "ENABLE_OFFLINE_PAGES=$enable_offline_pages",
17 "ENABLE_OFFLINE_PAGES_HARNESS=$enable_offline_pages_harness",
18 ]
19 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698