×

Setting a build indicator to enable or disable a feature

  • US 9,904,543 B2
  • Filed: 10/26/2015
  • Issued: 02/27/2018
  • Est. Priority Date: 10/26/2015
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • setting, in a system comprising a processor, a build indicator in a build environment to a set value for building a program code, the set value selected from a first value indicating that a feature of the program code is enabled, and a second value indicating that the feature is disabled;

    setting, by the system, a build tool variable to a value indicating that the feature is enabled in response to the set value being the first value, and setting the build tool variable to a value indicating that the feature is disabled in response to the set value being the second value;

    setting, by the system, a runtime variable to a value indicating that the feature is enabled in response to the set value being the first value, and setting the runtime variable to a value indicating that the feature is disabled in response to the set value being second value; and

    building, by the system, the program code according to a value to which the build tool variable is set, wherein the program code comprises;

    a first portion supporting the feature used during execution of the program code in response to the runtime variable set to the value indicating that the feature is enabled, anda second portion without support for the feature used during execution of the program code in response to the runtime variable set to the value indicating that the feature is disabled.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×