Left: | ||
Right: |
OLD | NEW |
---|---|
1 //#filter substitution | 1 //#filter substitution |
2 /* -*- Mode: Java; c-basic-offset: 4; tab-width: 20; indent-tabs-mode: nil; -*- | 2 /* -*- Mode: Java; c-basic-offset: 4; tab-width: 20; indent-tabs-mode: nil; -*- |
3 * This Source Code Form is subject to the terms of the Mozilla Public | 3 * This Source Code Form is subject to the terms of the Mozilla Public |
4 * License, v. 2.0. If a copy of the MPL was not distributed with this | 4 * License, v. 2.0. If a copy of the MPL was not distributed with this |
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
6 | 6 |
7 package org.mozilla.gecko; | 7 package org.mozilla.gecko; |
8 | 8 |
9 import android.os.Build; | 9 import android.os.Build; |
10 | 10 |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
320 false; | 320 false; |
321 //#endif | 321 //#endif |
322 | 322 |
323 public static final String MOZ_INSTALL_TRACKING_ADJUST_SDK_APP_TOKEN = | 323 public static final String MOZ_INSTALL_TRACKING_ADJUST_SDK_APP_TOKEN = |
324 //#ifdef MOZ_INSTALL_TRACKING_ADJUST_SDK_APP_TOKEN | 324 //#ifdef MOZ_INSTALL_TRACKING_ADJUST_SDK_APP_TOKEN |
325 "@MOZ_INSTALL_TRACKING_ADJUST_SDK_APP_TOKEN@"; | 325 "@MOZ_INSTALL_TRACKING_ADJUST_SDK_APP_TOKEN@"; |
326 //#else | 326 //#else |
327 null; | 327 null; |
328 //#endif | 328 //#endif |
329 | 329 |
330 public static final boolean ABB_RELEASE_BUILD = | |
331 //#ifdef ABB_RELEASE_BUILD | |
René Jeschke
2015/10/01 14:38:11
This then works using environment variables, yes?
Felix Dahlke
2015/10/01 15:30:53
Yup, exactly. The mozconfigs for the release build
| |
332 true; | |
333 //#else | |
334 false; | |
335 //#endif | |
336 | |
330 public static AdjustHelperInterface getAdjustHelper() { | 337 public static AdjustHelperInterface getAdjustHelper() { |
331 //#ifdef MOZ_INSTALL_TRACKING | 338 //#ifdef MOZ_INSTALL_TRACKING |
332 return new AdjustHelper(); | 339 return new AdjustHelper(); |
333 //#else | 340 //#else |
334 return new StubAdjustHelper(); | 341 return new StubAdjustHelper(); |
335 //#endif | 342 //#endif |
336 } | 343 } |
337 } | 344 } |
OLD | NEW |