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

Side by Side Diff: blimp/client/core/BUILD.gn

Issue 2223423004: Split out blimp client build config to its own config.gni file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2824
Patch Set: Created 4 years, 4 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
« no previous file with comments | « no previous file | blimp/client/core/config.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 if (is_android) { 5 if (is_android) {
6 import("//build/config/android/config.gni") 6 import("//build/config/android/config.gni")
7 import("//build/config/android/rules.gni") 7 import("//build/config/android/rules.gni")
8 } 8 }
9 9
10 declare_args() { 10 import("//blimp/client/core/config.gni")
11 # Enables the blimp client. This is required to get the actual implementation
12 # of blimp.
13 # By default, only a dummy-implementation is provided.
14 enable_blimp_client = false
15 }
16 11
17 # This target is here to let //chrome depend on //blimp/client/public 12 # This target is here to let //chrome depend on //blimp/client/public
18 # and automatically get the correct implementation of //blimp/client/core 13 # and automatically get the correct implementation of //blimp/client/core
19 # depending on whether enable_blimp_client is set or not. 14 # depending on whether enable_blimp_client is set or not.
20 group("core_shim") { 15 group("core_shim") {
21 visibility = [ "//blimp/client/public" ] 16 visibility = [ "//blimp/client/public" ]
22 17
23 if (enable_blimp_client) { 18 if (enable_blimp_client) {
24 deps = [ 19 deps = [
25 ":core", 20 ":core",
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 generate_jni("dummy_core_jni_headers") { 209 generate_jni("dummy_core_jni_headers") {
215 visibility = [ ":*" ] 210 visibility = [ ":*" ]
216 211
217 sources = [ 212 sources = [
218 "android/java/src/org/chromium/blimp/core/DummyBlimpClientContext.java", 213 "android/java/src/org/chromium/blimp/core/DummyBlimpClientContext.java",
219 ] 214 ]
220 215
221 jni_package = "blimp/client/core" 216 jni_package = "blimp/client/core"
222 } 217 }
223 } 218 }
OLDNEW
« no previous file with comments | « no previous file | blimp/client/core/config.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698