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

Side by Side Diff: chrome/common/BUILD.gn

Issue 1459793002: Android: Allow compiling browser without Java UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years 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
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//chrome/common/features.gni") 6 import("//chrome/common/features.gni")
7 import("//chrome/version.gni") 7 import("//chrome/version.gni")
8 import("//mojo/public/tools/bindings/mojom.gni") 8 import("//mojo/public/tools/bindings/mojom.gni")
9 import("//tools/grit/grit_rule.gni") 9 import("//tools/grit/grit_rule.gni")
10 10
(...skipping 22 matching lines...) Expand all
33 output_dir = "$root_gen_dir/chrome" 33 output_dir = "$root_gen_dir/chrome"
34 outputs = [ 34 outputs = [
35 "grit/extensions_api_resources.h", 35 "grit/extensions_api_resources.h",
36 "extensions_api_resources.pak", 36 "extensions_api_resources.pak",
37 ] 37 ]
38 } 38 }
39 } 39 }
40 40
41 buildflag_header("features") { 41 buildflag_header("features") {
42 header = "features.h" 42 header = "features.h"
43 flags = [ "ENABLE_GOOGLE_NOW=$enable_google_now" ] 43 flags = [
44 "ENABLE_GOOGLE_NOW=$enable_google_now",
45 "ANDROID_JAVA_UI=$android_java_ui",
46 ]
44 } 47 }
45 48
46 # GYP version: chrome/chrome_common.gypi:common 49 # GYP version: chrome/chrome_common.gypi:common
47 static_library("common") { 50 static_library("common") {
48 sources = rebase_path(gypi_values.chrome_common_sources, ".", "//chrome") 51 sources = rebase_path(gypi_values.chrome_common_sources, ".", "//chrome")
49 defines = [] 52 defines = []
50 53
51 configs += [ 54 configs += [
52 "//build/config:precompiled_headers", 55 "//build/config:precompiled_headers",
53 "//build/config/compiler:wexit_time_destructors", 56 "//build/config/compiler:wexit_time_destructors",
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 ":constants", 399 ":constants",
397 "//base", 400 "//base",
398 ] 401 ]
399 } 402 }
400 403
401 mojom("mojo_bindings") { 404 mojom("mojo_bindings") {
402 sources = [ 405 sources = [
403 "resource_usage_reporter.mojom", 406 "resource_usage_reporter.mojom",
404 ] 407 ]
405 } 408 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698